diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-05-10 16:23:01 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-05-10 16:23:01 +0400 |
| commit | d690fac5213a912f9510592abc76de32bbc9a9a3 (patch) | |
| tree | f6cf9490db1a765aa9e8872dbd0e32507e627236 | |
| parent | 65f91b7fcf303e26d43fd7b2da19a1d3bbc0dede (diff) | |
Finished hotkeys config for sxhkd
| -rwxr-xr-x | .config/bspwm/bspwmrc | 6 | ||||
| -rw-r--r-- | .config/sxhkd/sxhkdrc | 64 |
2 files changed, 53 insertions, 17 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 7cc2164..08f9c50 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -8,12 +8,10 @@ bspc monitor -d I II III IV V VI VII VIII IX X bspc config border_width 2 bspc config window_gap 12 -bspc config split_ratio 0.52 +bspc config split_ratio 0.5 bspc config borderless_monocle true bspc config gapless_monocle true bspc rule -a Gimp desktop='^8' state=floating follow=on bspc rule -a Chromium desktop='^2' -bspc rule -a mplayer2 state=floating -bspc rule -a Kupfer.py focus=on -bspc rule -a Screenkey manage=off +bspc rule -a Nemo state=floating diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 704bbdf..45d168d 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -4,7 +4,7 @@ # terminal emulator super + Return - tabbed -c -r 2 st -w '' + sh -c "$TERMINAL" # program launcher super + p @@ -24,28 +24,66 @@ super + shift + {e,r} bspc {quit,wm -r} # close and kill -super + {_,shift + }w - bspc node -{c,k} +super + {_,shift + }q + bspc node -{c,k} # alternate between the tiled and monocle layout super + m bspc desktop -l next -# send the newest marked node to the newest preselected node -super + y - bspc node newest.marked.local -n newest.!automatic.local +# applications +super + w + $BROWSER -# swap the current node and the biggest window -super + g - bspc node -s biggest.window +super + b + nemo + +super + Tab + sh -c "$TERMINAL -e htop" + +super + shift + b + bluecontrol + +super + shift + t + sh -c "$TERMINAL -e tremc" + +# volume control +XF86AudioMute + pamixer -t + +XF86AudioLowerVolume + pamixer --allow-boost -d 5 + +XF86AudioRaiseVolume + pamixer --allow-boost -i 5 + +# touchpad notifications +XF86TouchpadOff + notify-send 'Touchpad turned off' + +XF86TouchpadOn + notify-send 'Touchpad turned on' + +# screenshots +{_,shift + } Print + screenshot area to {clip,file} + +ctrl + {_, shift + } Print + screenshot window to {clip,file} + +super + {_, shift + } Print + screenshot screen to {clip,file} # # state/flags # # set the window state -super + {t,shift + t,s,f} - bspc node -t {tiled,pseudo_tiled,floating,fullscreen} +super + {t,s,f} + bspc node -t {tiled,floating,fullscreen} + +# super + {t,shift + t,s,f} +# bspc node -t {tiled,pseudo_tiled,floating,fullscreen} # set the node flags super + ctrl + {m,x,y,z} @@ -72,8 +110,8 @@ super + bracket{left,right} bspc desktop -f {prev,next}.local # focus the last node/desktop -super + {grave,Tab} - bspc {node,desktop} -f last +# super + {grave,Tab} + # bspc {node,desktop} -f last # focus the older or newer node in the focus history super + {o,i} |