From af49b5dc86087c40968712bbcce12d3a159a1e80 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 10 Nov 2025 17:33:54 -0700 Subject: [PATCH] Change status bar words to icons. --- files/dwm/dwm.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/files/dwm/dwm.sh b/files/dwm/dwm.sh index d84f317..03b330c 100644 --- a/files/dwm/dwm.sh +++ b/files/dwm/dwm.sh @@ -34,7 +34,8 @@ xsetroot -solid "$purple" # slstatus, from Suckless # #exec slstatus & -# Custom # +# Custom Setup # +# Icons: https://fontawesome.com/v4/cheatsheet/ source "`which volume.function`" source "`which battery.function`" source "`which storage.function`" @@ -44,18 +45,18 @@ if [[ "`storage-root`" == "`storage-home`" ]]; then } else function dwm-storage { - echo "(Root#`storage-root-dwm`, Home#`storage-home-dwm`)" + echo "(Root `storage-root-dwm`, Home `storage-home-dwm`)" } fi while true; do - readout="$readout Battery: `battery-display`" - readout="$readout | Storage: `dwm-storage`" - readout="$readout | Volume: `volume-display`" + readout="$readout : `battery-display`" + readout="$readout | : `dwm-storage`" + readout="$readout | : `volume-display`" readout="$readout | `whoami`@`hostname`" readout="$readout `date +"%Y-%m-%d %H:%M:%S"`" xsetroot -name "$readout" readout="" - sleep 0.75 + sleep 0.2 done &