summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar
diff options
context:
space:
mode:
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
-
-