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-volume-subscribe (9 lines)
   1 #!/bin/sh
   2 
   3 pid=$(pidof dwmblocks)
   4 
   5 # Makes grep faster
   6 export LC_ALL=C
   7 
   8 pactl subscribe | grep --line-buffered "sink" \
   9     | while read -r UNUSED\_LINE; do kill -35 $pid; done