From 9ef6ded3c10013a9f3596820929de6206da658ee Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sat, 24 Oct 2020 00:02:20 -0400 Subject: [PATCH] using nerd fonts; unicode everywhere; etc --- desks.sh | 2 +- logout.sh | 4 ++-- nmtui_alacritty.yml | 12 ++++++------ t2stats.sh | 22 +++++++++++----------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/desks.sh b/desks.sh index ad5ddb8..0d72f30 100755 --- a/desks.sh +++ b/desks.sh @@ -8,7 +8,7 @@ # if we're feeling spartan, just print a simple string for the executor if [ -z $1 ]; then - echo "" + echo "缾" # if we pass '-x', spit a few hexadecimal bytes into the executor for eye-candy elif [ "$1" = "-x" ]; then diff --git a/logout.sh b/logout.sh index 63ce591..724607b 100755 --- a/logout.sh +++ b/logout.sh @@ -9,7 +9,7 @@ # MIT License -- do whatever you want menu() { - dmenu "$@" -p "action >>>" -fn lucidatypewriter-9 -l 6 -nb black -nf grey50 -sb "#1f9b92" -sf black + dmenu "$@" -p "action >>>" -fn saucecodepronerdfont-9 -l 6 -nb black -nf grey50 -sb "#1f9b92" -sf black } @@ -45,7 +45,7 @@ logoutMenu() { } if [ -z $1 ]; then - echo "" + echo "" elif [ "$1" = "-p" ]; then logoutMenu diff --git a/nmtui_alacritty.yml b/nmtui_alacritty.yml index 5104ad8..ecedbbb 100644 --- a/nmtui_alacritty.yml +++ b/nmtui_alacritty.yml @@ -43,8 +43,8 @@ window: # Blank space added around the window in pixels. This padding is scaled # by DPI and the specified value is always added at both opposing sides. padding: - x: 2 - y: 2 + x: 0 + y: 0 # Spread additional padding evenly around the terminal content. dynamic_padding: false @@ -58,7 +58,7 @@ window: # Values for `decorations` (macOS only): # - transparent: Title bar, transparent background and title bar buttons # - buttonless: Title bar, transparent background, but no title bar buttons - #decorations: full + decorations: none # Startup Mode (changes require restart) # @@ -108,10 +108,10 @@ font: # - (macOS) Menlo # - (Linux/BSD) monospace # - (Windows) Consolas - family: lucidatypewriter + family: sauce code pro nerd font mono # The `style` can be specified to pick a specific face. - #style: Regular + style: Regular # Bold font face #bold: @@ -147,7 +147,7 @@ font: #style: Bold Italic # Point size - size: 6.5 + size: 6 # Offset is the extra space around each character. `offset.y` can be thought of # as modifying the line spacing, and `offset.x` as modifying the letter spacing. diff --git a/t2stats.sh b/t2stats.sh index ad79587..a866d06 100755 --- a/t2stats.sh +++ b/t2stats.sh @@ -28,37 +28,37 @@ while true; do powerlevel=$(cat /sys/class/power_supply/BAT*/capacity) case $powerlevel in 0) - meter="[ ]" + meter=" " ;; 1|2|3|4|5|6|7|8|9) - meter="[| ]" + meter=" " ;; 10|11|12|13|14|15|16|17|18|19) - meter="[| ]" + meter=" " ;; 20|21|22|23|24|25|26|27|28|29) - meter="[|| ]" + meter=" " ;; 30|31|32|33|34|35|36|37|38|39) - meter="[|| ]" + meter=" " ;; 40|41|42|43|44|45|46|47|48|49) - meter="[||| ]" + meter=" " ;; 50|51|52|53|54|55|56|57|58|59) - meter="[||| ]" + meter=" " ;; 60|61|62|63|64|65|66|67|68|69) - meter="[|||| ]" + meter=" " ;; 70|71|72|73|74|75|76|77|78|79) - meter="[|||| ]" + meter=" " ;; 80|81|82|83|84|85|86|87|88|89) - meter="[|||||]" + meter="" ;; *) - meter="[|||||]" + meter="" ;; esac