config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit ffc1affddb530229442fca0b1a87b1a5314a8022
parent 1effbe969e282d0c555e3a96f56d8b10f1a47594
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date:   Sun, 31 May 2020 10:34:56 -0700

audio/video are controls more sensible

seperated into spawns, audio, and display controls.

no more duplicate actions on multiple keys

Diffstat:
Msxhkd/.config/sxhkd/sxhkdrc | 65++++++++++++++++++++++++++---------------------------------------
1 file changed, 26 insertions(+), 39 deletions(-)

diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc @@ -1,4 +1,4 @@ -#! launch software +### spawns # terminal super + t "$TERMINAL" @@ -23,36 +23,6 @@ super + n shift + super + {m,alt + m, n} dmenu-bookmarks -n {-o,-oc,-e} - -#! display controls -# hardware brightness controls -XF86MonBrightness{Up,Down} - xbl {--up,--down} - -# brightness controls -super + alt + {e,r} - xbl {--up,--down} - - -#! speaker controls -# hardware volume controls -XF86Audio{Raise,Lower}Volume - volume {--inc,--dec} 5 - -# volume controls (pulseaudio) -super + alt + {i,o} - volume {--inc,--dec} 5 - -# mute mic and speakers -XF86Audio{_,Mic}Mute - volume {--mute,--mute-mic} - - -#! basics -# blank screen -F4 - xset dpms force suspend - # start locker super + F4 $LOCKER @@ -74,15 +44,32 @@ super + alt + Print screenshot {-f,-s,-w} && flash -#! mpd -# next/prev -XF86Audio{Next,Prev} +### audio +super + {bracketright,bracketleft} mpc {next,prev} && notify-send "$(mpc current)" +# seeking +super + shift {bracketright,bracketleft} + mpc seek {+,-}15 + # pause-play/stop -XF86Audio{Play,Stop} - mpc {toggle, stop} +super + backslash + notify-send $(mpc toggle | grep -o "\[.*\]") + +# volume controls (pulseaudio/ponymix) +super + {apostrophe,semicolon} + volume {--inc,--dec} 5 + +# mute mic and speakers +super + shift + {_,alt} + backslash + volume {--mute,--mute-mic} + + +### display +# brightness controls +super + {equal,minus} + xbl {--up,--down} -# seek -shift + XF86Audio{Next,Prev} - mpc seek {+,-}10 +# blank screen +F4 + xset dpms force suspend