repos/scripts

Simple scripts that I made for my personal computer to map keys, make bluetooth work, brightness keys, etc.
Commits Files Refs README LICENSE
statusbar/sb-mpdup (8 lines)
   1 #!/bin/sh
   2 
   3 # This loop will update the mpd statusbar module whenever a command changes the
   4 # music player's status. mpd must be running on X's start for this to work.
   5 
   6 while : ; do
   7     mpc idle >/dev/null && kill -45 "$(pidof "${STATUSBAR:-dwmblocks}")" || break
   8 done