config

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

commit 44e8cc525c15781a87513b4c86904885652f66b5
parent 1446fc95254a72f12f3390ec8063ba071acde80c
Author: jacobs-github <JacobDoesLinux@protonmail.com>
Date:   Sun, 16 Feb 2020 02:33:51 -0800

started binding FN keys, increment gaps with super + i/o, no function to use media keys

Diffstat:
Msxhkd/.config/sxhkd/sxhkdrc | 52++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 38 insertions(+), 14 deletions(-)

diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc @@ -1,6 +1,6 @@ # [reload sxhkd config] super + Escape - pkill -USR1 -x sxhkd && notify-send 'sxhkd restarted' + pkill -USR1 -x sxhkd && notify-send 'sxhkd restarted' -t 850 ### [launch software] #launch a terminal (and remove dumbass qt bugged folder) @@ -37,24 +37,36 @@ super + alt + w ### [toggle programs] -# toggle mpd -super + ctrl + m - toggle 'mpd' - # toggle picom (compositing) -super + shift + c +F9 toggle 'picom' # launch or kill lemonbar script -super + shift + p +F10 lemon +# toggle mpd +F11 + toggle 'mpd' + ### [basic utilities] # brightness controls XF86MonBrightness{Up,Down} xbacklight-script {inc,dec} +# more brightness controls +{Home,End} + xbacklight-script {inc,dec} + +# suspend screen (Thinkvantage) +XF86Launch1 + xset dpms force suspend + +# lock & suspend screen, then suspend (Thinkvantage) +alt + XF86Launch1 + slock & sleep 1.2; systemctl suspend + # switch tty alt + F{1,2,3,4,5,6} /usr/bin/sudo chvt {1,2,3,4,5,6} @@ -63,6 +75,10 @@ alt + F{1,2,3,4,5,6} Menu dmenu-wallpaper +# look at screenshots +super + alt + Print + sxiv -t ~/media/screenshots/ + # take a screenshot Print screenshot && flash @@ -71,6 +87,14 @@ Print XF86Audio{Next,Prev,Play,Stop} mpc {next,prev,toggle,stop} +# media keys (again) +{Left,Right,Up,Down} + mpc {prev,next,stop,toggle} + +# mpd seeking +XF86{Back,Forward} + mpc seekthrough {-,+}00:00:10 + # volume keys XF86Audio{Raise,Lower}Volume volume {--inc,--dec} 5 @@ -98,8 +122,8 @@ super + ctrl + alt + {h,l,k,j} bspc node focused.floating --move {-50 0,50 0,0 -50,0 50} # increment gaps -super + alt + {equal,minus} - bspc-inc window_gap {-,+} 5 +super + {i,o} + bspc-inc window_gap {-,+} 15 # snap floating windows to edges super + ctrl + alt + shift + {h,l,k,j} @@ -110,7 +134,7 @@ super + {equal,minus} bspc node @/ {--equalize,--balance} # rotate node tree -super + {_,shift + }r +{_,shift} + F1 bspc node @/ --rotate {90,-90} # set the window state @@ -134,8 +158,8 @@ super + {_,shift + }{h,j,k,l} bspc node -{f,s} {west,south,north,east} # focus on next or previous node in stack -shift + super + alt + {j,k} - bspc node next.local -f +super + shift + {f,d} + bspc node {next,prev}.local -f ### [proccess management] @@ -160,5 +184,5 @@ super + ctrl + {h,j,k,l} bspc-hjkl {--left,--up,--down,--right} ### [monitors] -super + o - bspc monitor --focus next +#super + o + #bspc monitor --focus next