commit 2b831ada487642a5d925d99322151791ca21e861 parent 66f1e378a54dd3d166f6e810dd8ae9c7f0027207 Author: Benjamin Chausse <benjamin@chausse.xyz> Date: Thu, 15 Oct 2020 21:35:12 -0400 no more dwmbar script (dwmblock mvp) Diffstat:
M | .local/bin/dwmbar/dwmb-battery | | | 2 | +- |
D | .local/bin/dwmbar/dwmbar | | | 26 | -------------------------- |
2 files changed, 1 insertion(+), 27 deletions(-)
diff --git 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 @@ -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 - -