bashScripts

Some random scripts for specific daily tasks.
git clone git://git.thepablogq.xyz/bashScripts
Log | Files | Refs

upvol (400B)


      1 #!/bin/sh
      2 
      3 if [ "$1" = "u" ]
      4 then
      5 	pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +5% | pkill -RTMIN+10 dwmblocks
      6 elif [ "$1" = "d" ]
      7 then
      8 	pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -5% | pkill -RTMIN+10 dwmblocks
      9 elif [ "$1" = "m" ]
     10 then
     11 	pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle | pkill -RTMIN+10 dwmblocks
     12 else
     13 	echo heck
     14 fi	
     15