From 2b831ada487642a5d925d99322151791ca21e861 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 15 Oct 2020 21:35:12 -0400 Subject: no more dwmbar script (dwmblock mvp) --- .local/bin/dwmbar/dwmb-battery | 2 +- .local/bin/dwmbar/dwmbar | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100755 .local/bin/dwmbar/dwmbar 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 - - -- cgit v1.2.3