all repos — zenUtils @ 9ef6ded3c10013a9f3596820929de6206da658ee

misc utilities for computing zen

using nerd fonts; unicode everywhere; etc
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAl+Tp0wACgkQO3+8IhRO
Y5jVjQ//YWv/E6WQ2T5nw4Gz3s0as9bPQWDgB/insCM1U4vG3DeYbwTlKwOulb16
7SUmbGcLyj70WnCyrtLpjynFUoX7xIaabEzuhHv6RlTZrz7OliUL01pSlpMwYG4G
bR23GqVjQhOwdnGPl7/3SyJKExBXMC4RpkHHD/55ViNdqBeaSYTpApwR8jpLxK9H
9HQMhJxa5lDP/ryW+1uv+ihBgAluHvqljEASlVshdfKT1LdNptJv+FUbX/tlkwha
tdf5Wnj51sKEBfU0xnOvsaQMD+QTk6SC5PNxvMvNLxjDT3LDPJqo02BrfHkUQaHl
3cqo9GEjto974wvcmMGDJ7pSBsFLy5Y4zZXTTXXEho4tpQrhQFTAJiEzIJcpdbCo
e7VrGMCT/oQgTtvAqYlPoQ5Cnl/bNY2+FBga2mIBsCr6YvIBwMF6DhhKz5na+gcc
SkITK+Yu2TCnkZ5x3N52O961a1UI1K0oIkzq3H6y6mGCIP0nfgdYGGPBPQSL/dHN
Qy95Lkl7nDIUlo3e0X0coxB+xshzMH4fbYmcw7F59aX2BnyJeZN3Gjur5/IPBie3
fUuNzfQcdhhiklr7+ZkRQ4ahZUWXdnO+rcnwhPzBBhYWrpVNcIBUlxh9ggM3iBOJ
1lxELeU5cvRR0ARC5aH9kD+CvZHX6/VTq1z/AOfwqdQuNKyk0/E=
=h3zU
-----END PGP SIGNATURE-----
commit

9ef6ded3c10013a9f3596820929de6206da658ee

parent

7edd8ddcc82cc8e9740f0df387ddd4e26aeb7e2a

4 files changed, 20 insertions(+), 20 deletions(-)

jump to
M desks.shdesks.sh

@@ -8,7 +8,7 @@ # MIT License - do whatever you want

# 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
M logout.shlogout.sh

@@ -9,7 +9,7 @@ # copyleft 2020 Derek Stevens <drkste@zoho.com>

# 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 @@ handler $cmd

} if [ -z $1 ]; then - echo "" + echo "" elif [ "$1" = "-p" ]; then logoutMenu
M nmtui_alacritty.ymlnmtui_alacritty.yml

@@ -43,8 +43,8 @@ #

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

# 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 @@ # Default:

# - (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 @@ # The `style` can be specified to pick a specific face.

#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.
M t2stats.sht2stats.sh

@@ -28,37 +28,37 @@

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