diff options
| -rw-r--r-- | .xinitrc | 16 | ||||
| -rw-r--r-- | README | 6 | ||||
| m--------- | dmenu | 0 | ||||
| m--------- | dwm | 0 | ||||
| m--------- | st | 0 |
5 files changed, 22 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..abd1e9e --- /dev/null +++ b/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/bash + +while true +do + # Get the current date, uptime, and battery percentage + battery_level=$(upower -i $(upower -e | grep BAT) | grep -i "percentage" | awk '{print $2}') + status_name="`date` `uptime | sed 's/.*,//'` Battery: $battery_level" + + # Set the status + xsetroot -name "$status_name" + + sleep 1 +done & + +exec dwm + @@ -0,0 +1,6 @@ +My suckless configuration + +- DWM +- ST +- DMENU +- XINITRC diff --git a/dmenu b/dmenu new file mode 160000 +Subproject 7175c4880bac3d2a2d4a6262b59193f0a38e2fd diff --git a/dwm b/dwm new file mode 160000 +Subproject f63cde9354504ee9cfecc07517c03736d0f90c2 diff --git a/st b/st new file mode 160000 +Subproject 688f70add0d1da8a416bf7df763328d694a24a3 |
