1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

bulkadding .local files

This commit is contained in:
tiynger
2019-09-07 17:42:18 +02:00
parent 073cd4d3d9
commit e4e7d54f9f
41 changed files with 791 additions and 0 deletions

8
.local/bin/statusbar/mpdupdate Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# Whenever the mpd state changes, update the mpd i3 module.
kill -0 "$(cat /tmp/mpdupdate)" 2>/dev/null && exit || echo $$ > /tmp/mpdupdate
sleep 5 && while : ; do
pkill -RTMIN+11 i3blocks
mpc idle >/dev/null || exit
done