mirror of https://github.com/tiyn/dotfiles
parent
12fd35d51a
commit
e8136c5661
@ -1,8 +0,0 @@
|
|||||||
#!/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
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
printf "Beginning upgrade.\\n"
|
|
||||||
|
|
||||||
yay -Syu
|
|
||||||
pkill -RTMIN+8 i3blocks
|
|
||||||
|
|
||||||
printf "\\nUpgrade complete.\\nPress <Enter> to exit window.\\n\\n"
|
|
||||||
read -r
|
|
Loading…
Reference in new issue