diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-10-13 15:53:27 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-10-13 15:53:27 -0400 |
commit | 7c231155cecfa1964b3b9c7153a166cbeb9efa8b (patch) | |
tree | a99b2ce3e2ea28c13ea5b62060ea924952bcfa99 | |
parent | ab1ca121adbeb0340e6c96267565866e99875261 (diff) |
Debloat dwmblocks
-rw-r--r-- | .config/fontconfig/fonts.conf | 1 | ||||
-rwxr-xr-x | .local/bin/dwmbar/dwmb-debarque | 26 | ||||
-rwxr-xr-x | .local/bin/dwmbar/dwmb-internet | 10 | ||||
-rwxr-xr-x | .local/bin/dwmbar/dwmb-layout | 3 | ||||
-rwxr-xr-x | .local/bin/dwmbar/dwmb-news | 9 | ||||
-rwxr-xr-x | .local/bin/dwmbar/dwmb-test | 6 |
6 files changed, 3 insertions, 52 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index 320a8ac..18f95df 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -20,6 +20,7 @@ <alias> <family>sans</family> <prefer> + <family>Vulf Sans</family> <family>Linux Biolinum</family> <family>Joy Pixels</family> <family>Noto Color Emoji</family> diff --git a/.local/bin/dwmbar/dwmb-debarque b/.local/bin/dwmbar/dwmb-debarque deleted file mode 100755 index 79fc346..0000000 --- a/.local/bin/dwmbar/dwmb-debarque +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# count="$(curl https://www.ladebarque.com/achalandage | - # grep 'il y a' | - # sed 's/.*il\sy\sa\sen\sce\smoment\s//; s/\sgrimpeurs.*//')" - -count="$(curl -L ladebarque.com/achalandage | - grep -i 'moment' | - sed 's/\s//g; - s/Maximum.*//; - s/^.*moment//; - s/\([0-9]\+\).*/\1/')" - -# curl https://www.ladebarque.com/achalandage > ~/asdf.html - -sep="," -date="$(TZ='America/Toronto' date +"%Y-%m-%d$sep%R")" -entry=""$date"$sep"$count"" - -case "$1" in - write) echo "$entry" >> $HOME/.cache/debarque.csv ;; - *) echo " $count " ;; -esac - - -# echo "$entry" diff --git a/.local/bin/dwmbar/dwmb-internet b/.local/bin/dwmbar/dwmb-internet deleted file mode 100755 index 102a6a4..0000000 --- a/.local/bin/dwmbar/dwmb-internet +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -case "$(cat /sys/class/net/wlp0s20f3/operstate)" in - up) echo " " ;; - down) echo " " ;; -esac - -# -# -# diff --git a/.local/bin/dwmbar/dwmb-layout b/.local/bin/dwmbar/dwmb-layout index a8dbbe3..e0cf446 100755 --- a/.local/bin/dwmbar/dwmb-layout +++ b/.local/bin/dwmbar/dwmb-layout @@ -1,6 +1,7 @@ #!/bin/sh -echo " $(cat $HOME/.cache/layout) " +# echo " $(cat $HOME/.cache/layout) " +echo " $(cat $HOME/.cache/layout) " case $BLOCK_BUTTON in 1) layouttoggle ;; 2) remaps && Capslock remaps reinitialized;; diff --git a/.local/bin/dwmbar/dwmb-news b/.local/bin/dwmbar/dwmb-news deleted file mode 100755 index b62c576..0000000 --- a/.local/bin/dwmbar/dwmb-news +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -nb=$(cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print " " $1}')$(cat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null) ") -echo " $nb" -case $BLOCK_BUTTON in - 1) "$TERMINAL" -e newsboat ;; - 3) newsup ;; - 6) "$TERMINAL" -e "$EDITOR" "$0" ;; -esac diff --git a/.local/bin/dwmbar/dwmb-test b/.local/bin/dwmbar/dwmb-test deleted file mode 100755 index 7508072..0000000 --- a/.local/bin/dwmbar/dwmb-test +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 99 | head -n 1 -case $BLOCK_BUTTON in - 6) "$TERMINAL" -e "$EDITOR" "$0" ;; -esac
\ No newline at end of file |