1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

Compare commits

..

No commits in common. "ee97b6f1d6b0a7a97f368bddb06a01c4096791e6" and "0f502088418ca228dc9c4eafeaeb260a91585375" have entirely different histories.

22 changed files with 48 additions and 194 deletions

View File

@ -1,8 +1,8 @@
#set font and stuff
font_family Iosevka Term
bold_font Iosevka Term Bold
italic_font Iosevka Curly Italic
bold_italic_font Iosevka Term Bold Italic
font_family Iosevka Term SS15
bold_font Iosevka Term SS15 Bold
italic_font Iosevka Term SS15 Italic
bold_italic_font Iosevka Term SS15 Bold Italic
font_size 14

@ -1 +1 @@
Subproject commit e54bdaa5240d5315eaffc4e96e4b13d9887e80f0
Subproject commit fa186c0c09ff58b3793126739ba59552243b848a

View File

@ -3,45 +3,45 @@
*/
* {
font-family: "IBM Plex Mono", "Symbols Nerd Font", sans-serif;
font-size: 14px;
min-height: 0;
font-family: "IBM Plex Mono", "Symbols Nerd Font", sans-serif;
font-size: 14px;
min-height: 0;
}
@import "dark.less";
window#waybar {
background: @background;
border-bottom: 1px solid @selection_background;
background: @background;
border-bottom: 1px solid @selection_background;
}
#workspaces,
#window {
margin: 5px 10px;
margin: 5px 10px;
}
#window {
font-weight: bold;
font-weight: bold;
}
#workspaces button {
padding: 0 0.1em;
background: transparent;
color: @background_b;
padding: 0 0.1em;
background: transparent;
color: @background_b;
}
#workspaces button.visible {
color: @foreground;
font-weight: bold;
color: @foreground;
font-weight: bold;
}
#workspaces button.focused {
color: @foreground;
font-weight: bold;
#workspaces button.active {
color: @foreground;
font-weight: bold;
}
#workspaces button.urgent {
color: @magenta;
color: @magenta;
}
#custom-player,
@ -49,49 +49,49 @@ window#waybar {
#memory,
#cpu,
#window {
color: @background_b;
color: @background_b;
}
#clock {
color: @foreground;
font-weight: bold;
color: @foreground;
font-weight: bold;
}
#battery {
color: @cyan;
color: @cyan;
}
#battery.charging {
color: @green;
color: @green;
}
@keyframes blink {
to {
color: @red;
background-color: transparent;
}
to {
color: @red;
background-color: transparent;
}
}
#battery.warning:not(.charging) {
animation-direction: alternate;
animation-duration: 0.5s;
animation-iteration-count: infinite;
animation-name: blink;
animation-timing-function: linear;
background-color: red;
color: @background;
font-weight: bold;
animation-direction: alternate;
animation-duration: 0.5s;
animation-iteration-count: infinite;
animation-name: blink;
animation-timing-function: linear;
background-color: red;
color: @background;
font-weight: bold;
}
#network.disconnected,
#network.disabled {
color: @red;
font-weight: bold;
color: @red;
font-weight: bold;
}
#network.wifi {
color: @green;
font-style: italic;
color: @green;
font-style: italic;
}
#clock,
@ -102,19 +102,11 @@ window#waybar {
#custom-notification,
#tray,
#custom-player {
padding: 0px 5px;
margin: 0px 5px;
padding: 0px 5px;
margin: 0px 5px;
}
#clock {
margin-left: 10px;
margin-right: 10px;
}
#tray {
opacity: 0.5;
}
#tray:hover {
opacity: 1;
margin-left: 10px;
margin-right: 10px;
}

View File

@ -7,8 +7,7 @@
"max-length": 50
},
"tray": {
"spacing": 10,
"show-passive-items": true
"spacing": 10
},
"cpu": {
"format": " {load}",
@ -45,7 +44,7 @@
]
},
"clock": {
"format": "󰅐 {:%H:%M  %m-%d}",
"format": "{:󰅐 %H:%M  %m-%d}",
"format-alt": " {:%A, %B %d, %Y (%r)}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {

View File

@ -1,13 +0,0 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar
14 rue de Plaisance, 75014 Paris, France
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2014 Ryan L McIntyre
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,57 +0,0 @@
# Nerd Fonts
This is an archived font from the Nerd Fonts release v3.1.1.
For more information see:
* https://github.com/ryanoasis/nerd-fonts/
* https://github.com/ryanoasis/nerd-fonts/releases/latest/
# Gohufont
A font for programming and terminal use.
TrueType automatically traced, with available bitmaps in heights of 11 and 14 pixels.
Copyright 2010 by Hugo Chargois (http://font.gohu.eu)
Converted by Guilherme Maeda (github.com/koemaeda)
**Thanks and aknowledgments**
The Unicode versions of the 11px font are based extensively on the fixed 6x10 font by Markus Kuhn (http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html).
I used the Terminus font in 14 px with great satisfaction for a long time before I decided to make gohufont 14 px, so it surely inspired me and they may share some similarities in appearance. It is not a derivative work though. Thanks to Dimitar Zhekov for his great font.
For more information have a look at the upstream websites: http://font.gohu.org/ https://github.com/koemaeda/gohufont-ttf
Version: 1.33
## Which font?
### TL;DR
* Pick your font family:
* If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`).
* If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv.
* If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`).
### Ligatures
Ligatures are generally preserved in the patched fonts.
Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`.
If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings.
### Explanation
Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices:
#### `Option 1: Download already patched font`
* For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases)
* Or download the development version from the folders here
#### `Option 2: Patch your own font`
* Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size)
For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font)
[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a

View File

@ -1,46 +0,0 @@
# Nerd Fonts
This is an archived font from the Nerd Fonts release v3.1.1.
For more information see:
* https://github.com/ryanoasis/nerd-fonts/
* https://github.com/ryanoasis/nerd-fonts/releases/latest/
# Symbols Only
This font contains (in the patched-fonts folder) all symbols and is intended to be used
as fallback or together with fontconfig - so that you do not need to individually
patch all the fonts. YMMV.
## Which font?
### TL;DR
* Pick your font family:
* If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`).
* If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv.
* If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`).
### Ligatures
Ligatures are generally preserved in the patched fonts.
Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`.
If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings.
### Explanation
Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices:
#### `Option 1: Download already patched font`
* For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases)
* Or download the development version from the folders here
#### `Option 2: Patch your own font`
* Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size)
For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font)
[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a