diff options
author | bacalhau <bacalhau@based.pt> | 2025-06-08 11:17:17 +0100 |
---|---|---|
committer | bacalhau <bacalhau@based.pt> | 2025-06-08 11:17:17 +0100 |
commit | 446bc219ae6bfd8ea817738fb6d890c2b9637883 (patch) | |
tree | 1072d10317084c9dec241ad3f7ca6060c4d75736 |
added all of my suckless files
m--------- | dmenu | 0 | ||||
m--------- | dwm | 0 | ||||
-rwxr-xr-x | scripts/status.sh | 9 | ||||
m--------- | st | 0 |
4 files changed, 9 insertions, 0 deletions
diff --git a/dmenu b/dmenu new file mode 160000 +Subproject b1e217b29aab8936e9831961943676acd9cdcdd diff --git a/dwm b/dwm new file mode 160000 +Subproject cfb8627a80a334f200f68c2c8f3e384313ebbaf diff --git a/scripts/status.sh b/scripts/status.sh new file mode 100755 index 0000000..c9a7e9a --- /dev/null +++ b/scripts/status.sh @@ -0,0 +1,9 @@ +while true; do + + battery="$(cat /sys/class/power_supply/BAT1/capacity)" + volume="$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }')" + song="$(cmus-remote -Q | grep 'tag title' | cut -d ' ' -f 3-)" + + xsetroot -name " $battery | ♫ $song | $volume | $(date +%d) | $(date +%R)" + sleep 0.1 +done diff --git a/st b/st new file mode 160000 +Subproject 471f153a0e14cbdd6e0d95e8a51d2acf0e87b3b |