use Alt Gr instead of windows key
This commit is contained in:
parent
e52b2b7bab
commit
b7e9dd7f1e
34
sxhkdrc
34
sxhkdrc
|
@ -14,53 +14,55 @@ ctrl + grave
|
|||
# ~/.config/sxhkd/toggle-gb-ru-kb.sh
|
||||
|
||||
# make sxhkd reload its configuration files:
|
||||
super + Escape
|
||||
mode_switch + Escape
|
||||
killall sxhkd && /usr/bin/sxhkd -c /home/ray/.config/sxhkd/sxhkdrc /home/ray/.config/sxhkd/sxhkdrc.bspwm /home/ray/.config/sxhkd/sxhkdrc.bspwm.machineone &
|
||||
|
||||
super + p
|
||||
dmenu_recency
|
||||
|
||||
super + b
|
||||
mode_switch + p
|
||||
dmenu_recency
|
||||
|
||||
mode_switch + b
|
||||
qutesesh
|
||||
|
||||
super + shift + p
|
||||
mode_switch + shift + p
|
||||
keepmenu -d /home/ray/.Syncthing/Pass/Passwords.kdbx
|
||||
|
||||
super + ctrl + shift + p
|
||||
mode_switch + ctrl + shift + p
|
||||
keepmenu -d /home/ray/.Syncthing/Pass/PasswordsClient.kdbx
|
||||
|
||||
super + ctrl + p
|
||||
mode_switch + ctrl + p
|
||||
tmux-select
|
||||
|
||||
super + Return
|
||||
mode_switch + Return
|
||||
alacritty --config-file ~/.config/alacritty/alacritty--light.toml
|
||||
|
||||
super + shift + Return
|
||||
mode_switch + shift + Return
|
||||
alacritty
|
||||
|
||||
## screenshots
|
||||
super + Print
|
||||
mode_switch + Print
|
||||
i3-scrot
|
||||
|
||||
super + shift + Print
|
||||
mode_switch + shift + Print
|
||||
i3-scrot -d
|
||||
|
||||
super + ctrl + Print
|
||||
mode_switch + ctrl + Print
|
||||
scrot-grab
|
||||
|
||||
super + e
|
||||
mode_switch + e
|
||||
dmenu_power
|
||||
|
||||
super + shift + e
|
||||
mode_switch + shift + e
|
||||
slock
|
||||
|
||||
super + o
|
||||
mode_switch + o
|
||||
bookmarks /home/ray/.Syncthing/bookmarks/urls.txt
|
||||
|
||||
super + shift o
|
||||
mode_switch + shift o
|
||||
bookmarks /home/ray/.Syncthing/bookmarks/paths-machineone.txt
|
||||
|
||||
super + ctrl o
|
||||
mode_switch + ctrl o
|
||||
bspc rule --add Alacritty --one-shot follow=on state=floating rectangle=1200x600+610+1200 && alacritty --config-file ~/.config/alacritty/alacritty--light-small.toml -e nvim /home/ray/.Syncthing/bookmarks/
|
||||
|
||||
# KP_Home
|
||||
|
|
|
@ -3,22 +3,22 @@
|
|||
#
|
||||
|
||||
# quit/restart bspwm
|
||||
super + shift + {q,r}
|
||||
mode_switch + shift + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
|
||||
# close and kill
|
||||
super + BackSpace
|
||||
mode_switch + BackSpace
|
||||
bspc node -c
|
||||
|
||||
# ctrl + KP_Subtract
|
||||
# bspc node -k
|
||||
|
||||
# alternate between the tiled and monocle layout
|
||||
super + m
|
||||
mode_switch + m
|
||||
bspc desktop -l next
|
||||
|
||||
# swap the current node and the biggest node
|
||||
# super + g
|
||||
# mode_switch + g
|
||||
# bspc node -s biggest
|
||||
|
||||
|
||||
|
@ -27,18 +27,18 @@ super + m
|
|||
#
|
||||
|
||||
# set the window state
|
||||
super + {t,shift + t,shift + f,f}
|
||||
mode_switch + {t,shift + t,shift + f,f}
|
||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||
|
||||
super + s
|
||||
mode_switch + s
|
||||
bspc node -g sticky
|
||||
|
||||
# # set the node flags
|
||||
# super + ctrl + {m,x,y,z}
|
||||
# mode_switch + ctrl + {m,x,y,z}
|
||||
# bspc node -g {marked,locked,sticky,private}
|
||||
#
|
||||
# # send the newest marked node to the newest preselected node
|
||||
# super + y
|
||||
# mode_switch + y
|
||||
# bspc node newest.marked.local -n newest.!automatic.local
|
||||
|
||||
#
|
||||
|
@ -46,47 +46,47 @@ super + s
|
|||
#
|
||||
|
||||
# Focus the next/previous node in the current desktop:
|
||||
super + bracket{left,right}
|
||||
mode_switch + bracket{left,right}
|
||||
bspc node -f {next,prev}.local
|
||||
|
||||
# focus the node in the given direction
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
mode_switch + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
focus the parent node
|
||||
super + Prior
|
||||
mode_switch + Prior
|
||||
bspc node -f @parent
|
||||
|
||||
# focus the node for the given path jump
|
||||
# super + {p,b,comma,period}
|
||||
# mode_switch + {p,b,comma,period}
|
||||
# bspc node -f @{parent,brother,first,second}
|
||||
|
||||
# focus the next/previous node in the current desktop
|
||||
# super + {_,shift + }c
|
||||
# mode_switch + {_,shift + }c
|
||||
# bspc node -f {next,prev}.local
|
||||
|
||||
focus the next/previous desktop in the current monitor
|
||||
super + ctrl + bracket{left,right}
|
||||
mode_switch + ctrl + bracket{left,right}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
# focus the last node/desktop
|
||||
# super + grave
|
||||
# mode_switch + grave
|
||||
# bspc node -f last
|
||||
super + c
|
||||
mode_switch + c
|
||||
bspc node -f last
|
||||
|
||||
# focus the older or newer node in the focus history
|
||||
# super + {o,i}
|
||||
# mode_switch + {o,i}
|
||||
# bspc wm -h off; \
|
||||
# bspc node {older,newer} -f; \
|
||||
# bspc wm -h on
|
||||
|
||||
# window-select script
|
||||
super + space
|
||||
mode_switch + space
|
||||
window-select
|
||||
super + shift + space
|
||||
mode_switch + shift + space
|
||||
window-select all
|
||||
super + ctrl + space
|
||||
mode_switch + ctrl + space
|
||||
window-select monitor
|
||||
|
||||
#
|
||||
|
@ -94,23 +94,23 @@ super + ctrl + space
|
|||
#
|
||||
|
||||
# preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
mode_switch + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# preselect the ratio
|
||||
super + ctrl + {1-9}
|
||||
mode_switch + ctrl + {1-9}
|
||||
bspc node -o 0.{1-9}
|
||||
|
||||
# cancel the preselection for the focused node
|
||||
# super + ctrl + space
|
||||
# mode_switch + ctrl + space
|
||||
# bspc node -p cancel
|
||||
|
||||
# cancel the preselection for the focused desktop
|
||||
# super + ctrl + shift + space
|
||||
# mode_switch + ctrl + shift + space
|
||||
# bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
||||
|
||||
# mark and send to preselected
|
||||
super + ctrl + m
|
||||
mode_switch + ctrl + m
|
||||
bspc node -g marked && bspc node newest.marked.local -n newest.!automatic.local
|
||||
|
||||
#
|
||||
|
@ -118,14 +118,14 @@ super + ctrl + m
|
|||
#
|
||||
|
||||
# expand a window by moving one of its side outward
|
||||
super + alt + {h,j,k,l}
|
||||
mode_switch + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {h,j,k,l}
|
||||
mode_switch + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
mode_switch + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||
|
||||
|
|
|
@ -10,17 +10,17 @@
|
|||
KP_Insert
|
||||
bspc desktop -f '0' && bspc desktop -f 'F10'
|
||||
|
||||
super + {_,shift + }{1-9,0}
|
||||
mode_switch + {_,shift + }{1-9,0}
|
||||
bspc {desktop -f,node -d} '{1-9,0}'
|
||||
|
||||
super + {_,shift + }{minus}
|
||||
mode_switch + {_,shift + }{minus}
|
||||
bspc {desktop -f,node -d} '{V1}'
|
||||
|
||||
super + {_,shift + }{equal}
|
||||
mode_switch + {_,shift + }{equal}
|
||||
bspc {desktop -f,node -d} '{V2}'
|
||||
|
||||
super + {_,shift + }{F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12}
|
||||
mode_switch + {_,shift + }{F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12}
|
||||
bspc {desktop -f,node -d} '{F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12}'
|
||||
|
||||
super + {_,shift + }{x}
|
||||
mode_switch + {_,shift + }{x}
|
||||
bspc {desktop -f,node -d} '{x}'
|
||||
|
|
Loading…
Reference in New Issue