add useful and used scripts

This commit is contained in:
Tibeuleu
2024-02-27 17:40:07 +01:00
parent 738538d51b
commit 62121f561d
36 changed files with 872 additions and 0 deletions

8
.local/bin/statusbar/sb-mpdup Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# This loop will update the mpd statusbar module whenever a command changes the
# music player's status. mpd must be running on X's start for this to work.
while : ; do
mpc idle >/dev/null && kill -45 "$(pidof "${STATUSBAR:-i3blocks}")" || break
done