Change status bar words to icons.
This commit is contained in:
@@ -34,7 +34,8 @@ xsetroot -solid "$purple"
|
|||||||
# slstatus, from Suckless #
|
# slstatus, from Suckless #
|
||||||
#exec slstatus &
|
#exec slstatus &
|
||||||
|
|
||||||
# Custom #
|
# Custom Setup #
|
||||||
|
# Icons: https://fontawesome.com/v4/cheatsheet/
|
||||||
source "`which volume.function`"
|
source "`which volume.function`"
|
||||||
source "`which battery.function`"
|
source "`which battery.function`"
|
||||||
source "`which storage.function`"
|
source "`which storage.function`"
|
||||||
@@ -44,18 +45,18 @@ if [[ "`storage-root`" == "`storage-home`" ]]; then
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
function dwm-storage {
|
function dwm-storage {
|
||||||
echo "(Root#`storage-root-dwm`, Home#`storage-home-dwm`)"
|
echo "(Root `storage-root-dwm`, Home `storage-home-dwm`)"
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
while true; do
|
while true; do
|
||||||
readout="$readout Battery: `battery-display`"
|
readout="$readout : `battery-display`"
|
||||||
readout="$readout | Storage: `dwm-storage`"
|
readout="$readout | : `dwm-storage`"
|
||||||
readout="$readout | Volume: `volume-display`"
|
readout="$readout | : `volume-display`"
|
||||||
readout="$readout | `whoami`@`hostname`"
|
readout="$readout | `whoami`@`hostname`"
|
||||||
readout="$readout `date +"%Y-%m-%d %H:%M:%S"`"
|
readout="$readout `date +"%Y-%m-%d %H:%M:%S"`"
|
||||||
xsetroot -name "$readout"
|
xsetroot -name "$readout"
|
||||||
readout=""
|
readout=""
|
||||||
sleep 0.75
|
sleep 0.2
|
||||||
done &
|
done &
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user