using nerd fonts; unicode everywhere; etc

This commit is contained in:
Iris Lightshard 2020-10-24 00:02:20 -04:00
parent 7edd8ddcc8
commit 9ef6ded3c1
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
4 changed files with 20 additions and 20 deletions

View file

@ -8,7 +8,7 @@
# if we're feeling spartan, just print a simple string for the executor # if we're feeling spartan, just print a simple string for the executor
if [ -z $1 ]; then if [ -z $1 ]; then
echo "" echo ""
# if we pass '-x', spit a few hexadecimal bytes into the executor for eye-candy # if we pass '-x', spit a few hexadecimal bytes into the executor for eye-candy
elif [ "$1" = "-x" ]; then elif [ "$1" = "-x" ]; then

View file

@ -9,7 +9,7 @@
# MIT License -- do whatever you want # MIT License -- do whatever you want
menu() { 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 if [ -z $1 ]; then
echo "" echo ""
elif [ "$1" = "-p" ]; then elif [ "$1" = "-p" ]; then
logoutMenu logoutMenu

View file

@ -43,8 +43,8 @@ window:
# Blank space added around the window in pixels. This padding is scaled # 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. # by DPI and the specified value is always added at both opposing sides.
padding: padding:
x: 2 x: 0
y: 2 y: 0
# Spread additional padding evenly around the terminal content. # Spread additional padding evenly around the terminal content.
dynamic_padding: false dynamic_padding: false
@ -58,7 +58,7 @@ window:
# Values for `decorations` (macOS only): # Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons # - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background, but no title bar buttons # - buttonless: Title bar, transparent background, but no title bar buttons
#decorations: full decorations: none
# Startup Mode (changes require restart) # Startup Mode (changes require restart)
# #
@ -108,10 +108,10 @@ font:
# - (macOS) Menlo # - (macOS) Menlo
# - (Linux/BSD) monospace # - (Linux/BSD) monospace
# - (Windows) Consolas # - (Windows) Consolas
family: lucidatypewriter family: sauce code pro nerd font mono
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
#style: Regular style: Regular
# Bold font face # Bold font face
#bold: #bold:
@ -147,7 +147,7 @@ font:
#style: Bold Italic #style: Bold Italic
# Point size # Point size
size: 6.5 size: 6
# Offset is the extra space around each character. `offset.y` can be thought of # 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. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.

View file

@ -28,37 +28,37 @@ while true; do
powerlevel=$(cat /sys/class/power_supply/BAT*/capacity) powerlevel=$(cat /sys/class/power_supply/BAT*/capacity)
case $powerlevel in case $powerlevel in
0) 0)
meter="[ ]" meter=" "
;; ;;
1|2|3|4|5|6|7|8|9) 1|2|3|4|5|6|7|8|9)
meter="[| ]" meter=" "
;; ;;
10|11|12|13|14|15|16|17|18|19) 10|11|12|13|14|15|16|17|18|19)
meter="[| ]" meter=" "
;; ;;
20|21|22|23|24|25|26|27|28|29) 20|21|22|23|24|25|26|27|28|29)
meter="[|| ]" meter=" "
;; ;;
30|31|32|33|34|35|36|37|38|39) 30|31|32|33|34|35|36|37|38|39)
meter="[|| ]" meter=" "
;; ;;
40|41|42|43|44|45|46|47|48|49) 40|41|42|43|44|45|46|47|48|49)
meter="[||| ]" meter=" "
;; ;;
50|51|52|53|54|55|56|57|58|59) 50|51|52|53|54|55|56|57|58|59)
meter="[||| ]" meter=" "
;; ;;
60|61|62|63|64|65|66|67|68|69) 60|61|62|63|64|65|66|67|68|69)
meter="[|||| ]" meter=" "
;; ;;
70|71|72|73|74|75|76|77|78|79) 70|71|72|73|74|75|76|77|78|79)
meter="[|||| ]" meter=" "
;; ;;
80|81|82|83|84|85|86|87|88|89) 80|81|82|83|84|85|86|87|88|89)
meter="[|||||]" meter=""
;; ;;
*) *)
meter="[|||||]" meter=""
;; ;;
esac esac