Print ffmpeg -f x11grab -i "$DISPLAY" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid).png" alt + 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 + shift + Print reco XF86Audio{RaiseVolume,LowerVolume,Mute} amixer set Master {5%+,5%-,toggle};\ kill -RTMIN+1 "$(cat "$XDG_CACHE_HOME/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 "$XDG_CACHE_HOME/pidofbar")" XF86Audio{Prev,Play,Next} playerctl {previous,play-pause,next} @Caps_Lock kill -RTMIN+3 "$(cat "$XDG_CACHE_HOME/pidofbar")" alt + y mpvy -s alt + shift + y mpvy -a alt + ctrl + y tsp mpvy -A -u "$(xsel -ob)" alt + w "$BROWSER" # not ideal alt + shift + w mullvad-exclude "$BROWSER" alt + s shufwall # not ideal alt + v if mullvad status | grep -q 'Disconnect'; then mullvad connect -w; else killall qbittorrent; mullvad disconnect -w; fi;\ kill -RTMIN+4 "$(cat "$XDG_CACHE_HOME/pidofbar")" # not ideal alt + q mullvad connect -w;\ kill -RTMIN+4 "$(cat "$XDG_CACHE_HOME/pidofbar")";\ qbittorrent # vim: ft=sh