summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-15 21:35:12 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-15 21:35:12 -0400
commit2b831ada487642a5d925d99322151791ca21e861 (patch)
tree345b844f1e39346a1a5fa57491f84fd77774e3ec /.local/bin/dwmbar
parent66f1e378a54dd3d166f6e810dd8ae9c7f0027207 (diff)
no more dwmbar script (dwmblock mvp)
Diffstat (limited to '.local/bin/dwmbar')
-rwxr-xr-x.local/bin/dwmbar/dwmb-battery2
-rwxr-xr-x.local/bin/dwmbar/dwmbar26
2 files changed, 1 insertions, 27 deletions
diff --git a/.local/bin/dwmbar/dwmb-battery b/.local/bin/dwmbar/dwmb-battery
index 4cc14ec..c8a748b 100755
--- a/.local/bin/dwmbar/dwmb-battery
+++ b/.local/bin/dwmbar/dwmb-battery
@@ -19,7 +19,7 @@ ico=""
# Change the underscore color according to the charging state
case "$batstatus" in
- *Charging*) ico=" ";;
+ *Charging*) ico="  ";;
*Discharging*) ico="  " ;;
*) ico="  " ;;
esac
diff --git a/.local/bin/dwmbar/dwmbar b/.local/bin/dwmbar/dwmbar
deleted file mode 100755
index 24657d2..0000000
--- a/.local/bin/dwmbar/dwmbar
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Refreshes the dwm bar using the scripts in:
-# $SCRIPTS/dwm/
-
-# When given the echo option, echo to stdout instead
-# of refreshing (useful for debugging)
-
-battery=$(dwmb-bat)
-datetime=$(dwmb-date)
-# dropbox=$(dropbox-status)
-kblayout=$(dwmb-layout)
-# mailbox=$(mailbox)
-news=$(dwmb-news)
-vpnstatus=$(dwmb-vpn)
-# wifi=$(wifi)
-dotfiles=$(dwmb-dotfiles)
-
-bar="$dotfiles|$news|$datetime|$kblayout|$vpnstatus|$battery "
-
-case "$1" in
- echo) echo "$bar" ;;
- *) xsetroot -name "$bar" ;;
-esac
-
-