mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Compare commits
2 Commits
0f50208841
...
ee97b6f1d6
Author | SHA1 | Date | |
---|---|---|---|
|
ee97b6f1d6 | ||
|
94e7eb1b8b |
@ -1,8 +1,8 @@
|
|||||||
#set font and stuff
|
#set font and stuff
|
||||||
font_family Iosevka Term SS15
|
font_family Iosevka Term
|
||||||
bold_font Iosevka Term SS15 Bold
|
bold_font Iosevka Term Bold
|
||||||
italic_font Iosevka Term SS15 Italic
|
italic_font Iosevka Curly Italic
|
||||||
bold_italic_font Iosevka Term SS15 Bold Italic
|
bold_italic_font Iosevka Term Bold Italic
|
||||||
|
|
||||||
font_size 14
|
font_size 14
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit fa186c0c09ff58b3793126739ba59552243b848a
|
Subproject commit e54bdaa5240d5315eaffc4e96e4b13d9887e80f0
|
@ -3,45 +3,45 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "IBM Plex Mono", "Symbols Nerd Font", sans-serif;
|
font-family: "IBM Plex Mono", "Symbols Nerd Font", sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "dark.less";
|
@import "dark.less";
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: @background;
|
background: @background;
|
||||||
border-bottom: 1px solid @selection_background;
|
border-bottom: 1px solid @selection_background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#window {
|
#window {
|
||||||
margin: 5px 10px;
|
margin: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 0.1em;
|
padding: 0 0.1em;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @background_b;
|
color: @background_b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.visible {
|
#workspaces button.visible {
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.focused {
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
color: @magenta;
|
color: @magenta;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-player,
|
#custom-player,
|
||||||
@ -49,49 +49,49 @@ window#waybar {
|
|||||||
#memory,
|
#memory,
|
||||||
#cpu,
|
#cpu,
|
||||||
#window {
|
#window {
|
||||||
color: @background_b;
|
color: @background_b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
color: @cyan;
|
color: @cyan;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
color: @green;
|
color: @green;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
to {
|
to {
|
||||||
color: @red;
|
color: @red;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning:not(.charging) {
|
#battery.warning:not(.charging) {
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
animation-duration: 0.5s;
|
animation-duration: 0.5s;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-name: blink;
|
animation-name: blink;
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
background-color: red;
|
background-color: red;
|
||||||
color: @background;
|
color: @background;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected,
|
#network.disconnected,
|
||||||
#network.disabled {
|
#network.disabled {
|
||||||
color: @red;
|
color: @red;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.wifi {
|
#network.wifi {
|
||||||
color: @green;
|
color: @green;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
@ -102,11 +102,19 @@ window#waybar {
|
|||||||
#custom-notification,
|
#custom-notification,
|
||||||
#tray,
|
#tray,
|
||||||
#custom-player {
|
#custom-player {
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray:hover {
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"spacing": 10
|
"spacing": 10,
|
||||||
|
"show-passive-items": true
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {load}",
|
"format": " {load}",
|
||||||
@ -44,7 +45,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{: %H:%M %m-%d}",
|
"format": " {:%H:%M %m-%d}",
|
||||||
"format-alt": " {:%A, %B %d, %Y (%r)}",
|
"format-alt": " {:%A, %B %d, %Y (%r)}",
|
||||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
|
13
.local/share/fonts/COPYING-LICENSE
Normal file
13
.local/share/fonts/COPYING-LICENSE
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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.
|
BIN
.local/share/fonts/GohuFont11NerdFont-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFont11NerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFont11NerdFontMono-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFont11NerdFontMono-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFont11NerdFontPropo-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFont11NerdFontPropo-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFont14NerdFont-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFont14NerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFont14NerdFontMono-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFont14NerdFontMono-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFont14NerdFontPropo-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFont14NerdFontPropo-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFontuni11NerdFont-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFontuni11NerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFontuni11NerdFontMono-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFontuni11NerdFontMono-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFontuni11NerdFontPropo-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFontuni11NerdFontPropo-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFontuni14NerdFont-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFontuni14NerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFontuni14NerdFontMono-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFontuni14NerdFontMono-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/GohuFontuni14NerdFontPropo-Regular.ttf
Normal file
BIN
.local/share/fonts/GohuFontuni14NerdFontPropo-Regular.ttf
Normal file
Binary file not shown.
21
.local/share/fonts/LICENSE
Normal file
21
.local/share/fonts/LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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.
|
57
.local/share/fonts/README.md
Normal file
57
.local/share/fonts/README.md
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# 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
|
||||||
|
|
46
.local/share/fonts/README_1.md
Normal file
46
.local/share/fonts/README_1.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
# 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
|
||||||
|
|
BIN
.local/share/fonts/SymbolsNerdFont-Regular.ttf
Normal file
BIN
.local/share/fonts/SymbolsNerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
.local/share/fonts/SymbolsNerdFontMono-Regular.ttf
Normal file
BIN
.local/share/fonts/SymbolsNerdFontMono-Regular.ttf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user