Print xrectsel '%w %h %x %y' | xargs sh -c 'ffmpeg -f x11grab -s "$1"x"$2" -i "$DISPLAY+$3,$4" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid).png"' shell alt + Print reco XF86Audio{RaiseVolume,LowerVolume,Mute} amixer set Master {5%+,5%-,toggle};\ kill -RTMIN+1 "$(cat ~/.cache/pidofbar)" # for pulseaudio, master volume affects capture volume too? # my laptop built-in microphone capture volume is really low # so I want to keep capture volume always 100% alt + XF86AudioMute amixer set Capture toggle;\ kill -RTMIN "$(cat ~/.cache/pidofbar)" XF86Audio{Prev,Play,Next} playerctl {previous,play-pause,next} @Caps_Lock kill -RTMIN+3 "$(cat ~/.cache/pidofbar)" alt + y mpvy -s alt + Y mpvy -a alt + ctrl + y tsp mpvy -A -u "$(xsel -ob)" alt + w firefox alt + s shufwall # vim: ft=sh