Change status bar words to icons.

This commit is contained in:
2025-11-10 17:33:54 -07:00
parent 5bee3a30f9
commit af49b5dc86

View File

@@ -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 &