diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index 699c11e..55a6a31 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -43,3 +43,8 @@ function nix_clean() { nix-collect-garbage -d [[ "${UID}" = 0 ]] && nix-store --gc } + +# Spawn temporary shell. +function shell() { + nix-shell -p "${@}" +} diff --git a/.doc/Bash.md b/.doc/Bash.md index 32454dd..0937711 100644 --- a/.doc/Bash.md +++ b/.doc/Bash.md @@ -260,6 +260,7 @@ Command|Description `nix_update`|Update system (rebuild). `nix_upgrade`|Upgrade system. `nix_clean`|Free up root space. +`shell`|Spawn temporary shell. ## Notify. diff --git a/.local/share/fonts/terminess/README.md b/.local/share/fonts/terminess/README.md new file mode 100644 index 0000000..83a31eb --- /dev/null +++ b/.local/share/fonts/terminess/README.md @@ -0,0 +1,64 @@ +# 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/ + +# Terminus + +**Terminus TTF** is a TrueType version of Terminus Font, a fixed-width bitmap font optimized for long work with computers. + +https://terminus-font.sourceforge.net/ + +For more information have a look at the upstream website: https://files.ax86.net/terminus-ttf/ + +Version: 4.49.2 + +## Why `Terminess` and not `Terminus`? + +What's in a name? The reason for the name change is to comply with the SIL Open Font License (OFL), in particular the [Reserved Font Name mechanism][SIL-RFN] + +Some fonts have parts of their name "reserved" per the [Reserved Font Name mechanism][SIL-RFN]: +> No Modified Version of the Font Software may use the Reserved Font +> Name(s) unless explicit written permission is granted by the corresponding +> Copyright Holder. This restriction only applies to the primary font name as +> presented to the users. + +- The main goals seem to be to: `Avoid collisions`, `Protect authors`, `Minimize support`, and `Encourage derivatives` + +See the [Reserved Font Name section][SIL-RFN] for additional information + +## 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 + diff --git a/.local/share/fonts/terminess/TerminessNerdFont-Bold.ttf b/.local/share/fonts/terminess/TerminessNerdFont-Bold.ttf index c59b3a6..cc8b9b7 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFont-Bold.ttf and b/.local/share/fonts/terminess/TerminessNerdFont-Bold.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFont-BoldItalic.ttf b/.local/share/fonts/terminess/TerminessNerdFont-BoldItalic.ttf index d09f280..f60b801 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFont-BoldItalic.ttf and b/.local/share/fonts/terminess/TerminessNerdFont-BoldItalic.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFont-Italic.ttf b/.local/share/fonts/terminess/TerminessNerdFont-Italic.ttf index 387639e..8b60838 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFont-Italic.ttf and b/.local/share/fonts/terminess/TerminessNerdFont-Italic.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFont-Regular.ttf b/.local/share/fonts/terminess/TerminessNerdFont-Regular.ttf index 86c2660..e73cbd8 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFont-Regular.ttf and b/.local/share/fonts/terminess/TerminessNerdFont-Regular.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontMono-Bold.ttf b/.local/share/fonts/terminess/TerminessNerdFontMono-Bold.ttf index f2e7fb6..c3e5513 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontMono-Bold.ttf and b/.local/share/fonts/terminess/TerminessNerdFontMono-Bold.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontMono-BoldItalic.ttf b/.local/share/fonts/terminess/TerminessNerdFontMono-BoldItalic.ttf index 96409f9..5e3ffda 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontMono-BoldItalic.ttf and b/.local/share/fonts/terminess/TerminessNerdFontMono-BoldItalic.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontMono-Italic.ttf b/.local/share/fonts/terminess/TerminessNerdFontMono-Italic.ttf index 142cb8e..bc9e2ed 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontMono-Italic.ttf and b/.local/share/fonts/terminess/TerminessNerdFontMono-Italic.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontMono-Regular.ttf b/.local/share/fonts/terminess/TerminessNerdFontMono-Regular.ttf index a729686..7d56730 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontMono-Regular.ttf and b/.local/share/fonts/terminess/TerminessNerdFontMono-Regular.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontPropo-Bold.ttf b/.local/share/fonts/terminess/TerminessNerdFontPropo-Bold.ttf index e4540dc..47295c5 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontPropo-Bold.ttf and b/.local/share/fonts/terminess/TerminessNerdFontPropo-Bold.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontPropo-BoldItalic.ttf b/.local/share/fonts/terminess/TerminessNerdFontPropo-BoldItalic.ttf index dfc23e8..70a16ee 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontPropo-BoldItalic.ttf and b/.local/share/fonts/terminess/TerminessNerdFontPropo-BoldItalic.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontPropo-Italic.ttf b/.local/share/fonts/terminess/TerminessNerdFontPropo-Italic.ttf index 409e6a6..724ce45 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontPropo-Italic.ttf and b/.local/share/fonts/terminess/TerminessNerdFontPropo-Italic.ttf differ diff --git a/.local/share/fonts/terminess/TerminessNerdFontPropo-Regular.ttf b/.local/share/fonts/terminess/TerminessNerdFontPropo-Regular.ttf index aa7bd9b..58c001e 100644 Binary files a/.local/share/fonts/terminess/TerminessNerdFontPropo-Regular.ttf and b/.local/share/fonts/terminess/TerminessNerdFontPropo-Regular.ttf differ diff --git a/.local/share/fonts/terminess/readme.md b/.local/share/fonts/terminess/readme.md deleted file mode 100644 index 9f2e700..0000000 --- a/.local/share/fonts/terminess/readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Nerd Fonts - -This is an archived font from a Nerd Fonts release. - -For more information see: -* https://github.com/ryanoasis/nerd-fonts/ -* https://github.com/ryanoasis/nerd-fonts/releases/latest/