286 lines
4.5 KiB
Plaintext
Executable File
286 lines
4.5 KiB
Plaintext
Executable File
|
|
|
|
|
|
#
|
|
# bspwm hotkeys
|
|
#
|
|
|
|
|
|
|
|
|
|
# add to tabbed container
|
|
ctrl + alt + {Left,Down,Up,Right}
|
|
tabc attach $(bspc query -N -n) {$(bspc query -N -n west),$(bspc query -N -n south),$(bspc query -N -n north),$(bspc query -N -n east)}
|
|
|
|
# create/remove from tabbed container
|
|
super + z
|
|
id=$(bspc query -N -n); \
|
|
[[ "$(tabc printclass $id)" == "tabbed" ]] \
|
|
&& tabc detach $id \
|
|
|| tabc create $id
|
|
|
|
# toggle autoattach in tabbed container
|
|
super + shift + z
|
|
tabc autoattach $(bspc query -N -n)
|
|
|
|
|
|
|
|
|
|
# super + alt + Escape
|
|
# bspc quit
|
|
|
|
super + shift + q
|
|
bspc quit
|
|
|
|
super + x
|
|
bspc node -c
|
|
|
|
super + m
|
|
bspc desktop -l next
|
|
|
|
super + a
|
|
bspc desktop -l next
|
|
|
|
# focus the next/previous node
|
|
#super + {_,shift + }c
|
|
# bspc node -f {next,prev}
|
|
|
|
super + b
|
|
bspc desktop -B
|
|
|
|
#super + shift + f
|
|
# bspc window -t {floating,fullscreen}
|
|
|
|
|
|
super + shift + r
|
|
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
|
|
|
|
alt + Tab
|
|
bspc {node,desktop} -f last
|
|
# bspc wm --dump-state | jq -r '.focusHistory[].nodeId' | sort | uniq -c
|
|
# jq -r ' .focusHistory | reverse | to_entries | unique_by(.value.nodeId) | sort_by(.key)[].value | select(.nodeId != 0).nodeId' < <(bspc wm -d)
|
|
# IDS="$(bspc wm -d | jshon -e focusHistory -a -e nodeId | tac | awk '!seen[$0]++' | tac | tail -$1 | head -1)"
|
|
# bspc node -f $IDS
|
|
|
|
super + apostrophe
|
|
bspc window -s last
|
|
|
|
super + {o,i}
|
|
#bspc control --record-history off; \
|
|
bspc NODE {older,newer} -f; \
|
|
bspc control --record-history on
|
|
|
|
super + y
|
|
bspc window -w last.manual
|
|
|
|
#super +
|
|
# bspc window -s biggest
|
|
|
|
super + {_,shift + }{h,j,k,l}
|
|
bspc node -{f,s} {left,down,up,right}
|
|
|
|
super + Tab
|
|
bspc node -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 -10,down +10,up -10,right +10}
|
|
|
|
super + shift + {right,up,down,left}
|
|
bspc window -e {right -10,up +10,down -10,left +10}
|
|
|
|
super + ctrl + {1-9}
|
|
bspc node -r 0.{1-9}
|
|
|
|
super + {_,shift + }{1-9,0}
|
|
bspc {desktop -f,node -d} ^{1-9,10}
|
|
|
|
~button1
|
|
bspc pointer -g focus
|
|
|
|
super + button{4,5}
|
|
bspc desktop -f {next,prev}
|
|
|
|
|
|
#super + button{1-3}
|
|
# bspc pointer -g {move,resize_side,resize_corner}
|
|
|
|
super + !button{1-3}
|
|
bspc pointer -t %i %i
|
|
|
|
#super + @button{1-3}
|
|
# bspc pointer -u
|
|
|
|
super + {Right, Left}
|
|
bspc desktop -f {next,prev}
|
|
|
|
super + Escape
|
|
bspc desktop -f next
|
|
|
|
# Resize nodes
|
|
|
|
#ctrl + {Right,Left}
|
|
S={+,-}; \
|
|
bspc window -e left $\{S\}40 || \
|
|
bspc window -e right $\{S\}40
|
|
|
|
#ctrl + {Down,Up}
|
|
S={+,-}; \
|
|
bspc window -e down $\{S\}40 || \
|
|
bspc window -e up $\{S\}40
|
|
|
|
|
|
super + alt + shift + {h,j,k,l}
|
|
bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
|
|
|
|
super + alt + shift + d
|
|
|
|
deepin-screenshot
|
|
|
|
|
|
# Hide all windows on all desktops
|
|
|
|
#super + z
|
|
# bspc control --toggle-visibility
|
|
|
|
ctrl + alt + shift + End
|
|
systemctl suspend
|
|
|
|
|
|
ctrl + alt + esc
|
|
systemctl suspend
|
|
|
|
ctrl + alt + delete
|
|
systemctl suspend
|
|
|
|
#dmenu_run
|
|
|
|
#ctrl + alt + space
|
|
# albert show
|
|
|
|
|
|
#XF86WakeUp
|
|
# ctrl
|
|
|
|
|
|
#ctrl + space
|
|
# gmrun
|
|
|
|
#
|
|
# wm independent hotkeys
|
|
#
|
|
|
|
super + Return
|
|
gnome-terminal
|
|
|
|
ctrl + alt + Home
|
|
setxkbmap dk
|
|
|
|
ctrl + alt + End
|
|
setxkbmap us
|
|
|
|
super + t
|
|
mate-terminal
|
|
|
|
super + p
|
|
screen -dm cvlc https://somafm.com/cliqhop.pls
|
|
|
|
super + shift + p
|
|
killall vlc
|
|
|
|
|
|
super + alt + Return
|
|
xfce4-terminal
|
|
|
|
super + shift + Return
|
|
terminator
|
|
|
|
super + s
|
|
code
|
|
|
|
super + g
|
|
gedit
|
|
|
|
super + shift + g
|
|
obsidian
|
|
|
|
super + f
|
|
pcmanfm
|
|
|
|
super + shift + f
|
|
sunflower
|
|
|
|
super + c
|
|
google-chrome-stable
|
|
|
|
super + n
|
|
obsidian
|
|
|
|
super + shift + b
|
|
code
|
|
|
|
super + shift + v
|
|
code
|
|
|
|
|
|
super + space
|
|
rofi -show run -font "Terminus 11" -lines 14 -bw 5 -theme ~/.config/rofi/theme.rasi
|
|
# rofi -show run -theme ~/.local/share/rofi/themes/squared-everforest.rasi
|
|
|
|
super + shift + space
|
|
xfce4-appfinder
|
|
|
|
Print
|
|
deepin-screenshot
|
|
|
|
ctrl + alt + \
|
|
deepin-screenshot
|
|
|
|
alt + esc
|
|
pkill -USR1 -x sxhkd
|
|
|
|
alt + Up
|
|
amixer -q sset Master 4%+
|
|
|
|
alt + Down
|
|
amixer -q sset Master 4%-
|
|
|
|
alt + m
|
|
amixer -q sset Master toggle
|
|
|
|
alt + end
|
|
amixer -q sset Master toggle
|
|
|
|
shift + alt + Right
|
|
light -A 5
|
|
|
|
shift + alt + Left
|
|
light -U 5
|
|
|
|
XF86MonBrightnessDown
|
|
light -A 5
|
|
|
|
XF86MonBrightnessUp
|
|
light -U 5
|
|
|
|
|
|
#ctrl + alt + space
|
|
# gdmenu_run
|
|
|
|
ctrl + alt + Up
|
|
/home/null/Documents/scripts/reconfig_to_mobile.sh
|
|
|
|
ctrl + alt + Down
|
|
/home/null/Documents/scripts/reconfig_to_docked.sh
|