mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-05 13:11:43 +00:00
159 lines
3.1 KiB
Plaintext
159 lines
3.1 KiB
Plaintext
#
|
|
# bspwm hotkeys
|
|
#
|
|
|
|
super + alt + Escape
|
|
pkill -x panel; bspc quit
|
|
|
|
super + shift + Escape
|
|
pkill -x panel; ~/.config/bspwm/panel
|
|
|
|
super + w
|
|
bspc window -c
|
|
|
|
super + t
|
|
bspc desktop -l next
|
|
|
|
super + b
|
|
bspc desktop -B
|
|
|
|
super + {a,s,d}
|
|
bspc window -t {pseudo_tiled,floating,sticky}
|
|
|
|
super + m
|
|
bspc desktop -l {monocle,tiled}
|
|
|
|
super + {cedilla,Tab}
|
|
bspc {window,desktop} -f last
|
|
|
|
super + apostrophe
|
|
bspc window -s last; \
|
|
bspc window -f last
|
|
|
|
super + {o,i}
|
|
bspc control --record-history off; \
|
|
bspc window {older,newer} -f; \
|
|
bspc control --record-history on
|
|
|
|
super + y
|
|
bspc window -w last.manual
|
|
|
|
super + m
|
|
bspc window -s biggest
|
|
|
|
super + {_,shift + }{h,j,k,l}
|
|
bspc window -{f,s} {left,down,up,right}
|
|
|
|
super + {_,shift + }c
|
|
bspc window -f {next,prev}
|
|
|
|
super + {comma,period}
|
|
bspc desktop -C {backward,forward}
|
|
|
|
super + bracket{left,right}
|
|
bspc desktop -f {prev,next}
|
|
|
|
super + ctrl + {h,j,k,l}
|
|
bspc window -p {left,down,up,right}
|
|
|
|
super + ctrl + {_,shift + }space
|
|
bspc {window -p cancel,desktop -c}
|
|
|
|
super + alt + {h,j,k,l}
|
|
bspc window -e {left -100,down +100,up -100,right +100}
|
|
|
|
super + alt + shift + {h,j,k,l}
|
|
bspc window -e {right -100,up +100,down -100,left +100}
|
|
|
|
super + ctrl + {1-9}
|
|
bspc window -r 0.{1-9}
|
|
|
|
super + {_,shift + }{1-9,0}
|
|
bspc {desktop -f,window -d} ^{1-9,100}
|
|
|
|
super + ctrl + {y,x}
|
|
PADDING=$(bspc config -m DVI-D-0 left_padding); \
|
|
NEW_PADDING=$(echo "$PADDING {-,+} 5" | bc); \
|
|
bspc config left_padding $NEW_PADDING; \
|
|
bspc config right_padding $NEW_PADDING;
|
|
|
|
super + shift + {y,x}
|
|
PADDING=$(bspc config -m DVI-D-0 bottom_padding); \
|
|
NEW_PADDING=$(echo "$PADDING {-,+} 5" | bc); \
|
|
TOP_PADDING=$(echo "$NEW_PADDING + 30" | bc); \
|
|
bspc config top_padding $TOP_PADDING; \
|
|
bspc config bottom_padding $NEW_PADDING;
|
|
|
|
~button1
|
|
bspc pointer -g focus
|
|
|
|
super + button{1-3}
|
|
; bspc pointer -g {move,resize_side,resize_corner}
|
|
|
|
super + @button{1-3}
|
|
bspc pointer -u
|
|
#
|
|
# wm independent hotkeys
|
|
#
|
|
super + Return
|
|
one-instance URxvtQuake urxvt -name URxvtQuake -geometry 220x20+160+25 -e tmux a
|
|
|
|
super + space
|
|
dmenu_run -q -h 25 -fn "DejaVu Sans-12:normal" -nb "#333333" -nf "#f3f3f3" -sb "#000000" -sf "#f3f3f3" -dim .5 -o .9 -p ">"
|
|
|
|
super + p
|
|
~/.bin/dmenu_session.sh
|
|
|
|
super + ctrl + BackSpace
|
|
bspc desktop -R 90
|
|
|
|
super + alt + Return
|
|
{pkill -x panel; bspc config top_padding 0; bspc config bottom_padding 0; bspc config left_padding 0; bspc config right_padding 0, ~/.config/bspwm/panel}
|
|
|
|
ctrl + alt + w
|
|
one-instance firefox
|
|
|
|
super + f
|
|
one-instance pcmanfm
|
|
|
|
XF86AudioLowerVolume
|
|
pamixer -d 10
|
|
|
|
XF86AudioRaiseVolume
|
|
pamixer -i 10
|
|
|
|
XF86AudioMute
|
|
pamixer -t
|
|
|
|
XF86AudioPrev
|
|
playerctl previous
|
|
|
|
XF86AudioNext
|
|
playerctl next
|
|
|
|
XF86AudioPlay
|
|
playerctl play-pause
|
|
|
|
XF86AudioStop
|
|
playerctl stop
|
|
|
|
XF86HomePage
|
|
urxvt -e ranger
|
|
|
|
XF86Mail
|
|
thunderbird
|
|
|
|
super + q; {w,f,e}
|
|
{firefox,thunar,$editor}
|
|
}
|
|
|
|
#XF86MonBrightnessUp
|
|
# light -A 5
|
|
|
|
#XF86MonBrightnessDown
|
|
# light -U 5
|
|
|
|
# make sxhkd reload its configuration files:
|
|
super + Escape
|
|
pkill -USR1 -x sxhkd
|