From 6cdbed97d2b46fd057c83fbdb37fcbc3e4929f8d Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Mon, 25 Jul 2022 16:30:12 +0200 Subject: [PATCH] update status bar (new clock format) --- .local/bin/statusbar/sb-clock | 2 +- .local/bin/statusbar/sb-volume | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.local/bin/statusbar/sb-clock b/.local/bin/statusbar/sb-clock index 976ba0cbe..eec281a18 100755 --- a/.local/bin/statusbar/sb-clock +++ b/.local/bin/statusbar/sb-clock @@ -26,4 +26,4 @@ case $BLOCK_BUTTON in 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac -date "+%Y %b %d (%a) $icon%I:%M%p" +date "+%d.%M.%Y $icon%H:%M" diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume index adbdac77e..de4e9606c 100755 --- a/.local/bin/statusbar/sb-volume +++ b/.local/bin/statusbar/sb-volume @@ -13,18 +13,18 @@ case $BLOCK_BUTTON in 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac -[ $(pamixer --get-mute) = true ] && echo ﱝ && exit +[ $(pamixer --get-mute) = true ] && echo " ﱝ " && exit vol="$(pamixer --get-volume)" if [ "$vol" -gt "70" ]; then - icon=" 墳" + icon="墳" elif [ "$vol" -gt "30" ]; then - icon=" 奔" + icon="奔" elif [ "$vol" -gt "0" ]; then - icon=" 奄" + icon="奄" else echo " ﱝ "&& exit fi -echo "$icon$vol%" +echo " $icon $vol%"