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

Compare commits

..

2 Commits

Author SHA1 Message Date
Ryan
ee97b6f1d6 feat(fonts): Add fonts 2024-05-10 17:46:01 +08:00
Ryan
94e7eb1b8b fix(waybar): Fix new waybar breaking date display 2024-05-10 17:44:25 +08:00
22 changed files with 194 additions and 48 deletions

View File

@ -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

View File

@ -35,7 +35,7 @@ window#waybar {
font-weight: bold; font-weight: bold;
} }
#workspaces button.active { #workspaces button.focused {
color: @foreground; color: @foreground;
font-weight: bold; font-weight: bold;
} }
@ -110,3 +110,11 @@ window#waybar {
margin-left: 10px; margin-left: 10px;
margin-right: 10px; margin-right: 10px;
} }
#tray {
opacity: 0.5;
}
#tray:hover {
opacity: 1;
}

View File

@ -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": {

View 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View 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.

View 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

View 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

Binary file not shown.

Binary file not shown.