modify skhd config
This commit is contained in:
parent
14840838bc
commit
8da7fa389d
1 changed files with 38 additions and 38 deletions
|
@ -87,13 +87,13 @@
|
||||||
|
|
||||||
# application specific bindings
|
# application specific bindings
|
||||||
#
|
#
|
||||||
cmd - n [
|
#cmd - n [
|
||||||
"kitty" : echo "hello kitty"
|
# "kitty" : echo "hello kitty"
|
||||||
* : echo "hello everyone"
|
# * : echo "hello everyone"
|
||||||
"qutebrowser" : echo "hello qutebrowser"
|
# "qutebrowser" : echo "hello qutebrowser"
|
||||||
"terminal" ~
|
# "terminal" ~
|
||||||
"finder" : false
|
# "finder" : false
|
||||||
]
|
#]
|
||||||
|
|
||||||
# specify a file that should be included as an additional config-file.
|
# specify a file that should be included as an additional config-file.
|
||||||
# treated as an absolutepath if the filename begins with '/' otherwise
|
# treated as an absolutepath if the filename begins with '/' otherwise
|
||||||
|
@ -114,10 +114,10 @@ cmd - n [
|
||||||
cmd - return : /Applications/WezTerm.app/Contents/MacOS/wezterm start --always-new-process
|
cmd - return : /Applications/WezTerm.app/Contents/MacOS/wezterm start --always-new-process
|
||||||
|
|
||||||
# open qutebrowser
|
# open qutebrowser
|
||||||
cmd + shift - return : ~/Scripts/qtb.sh
|
#cmd + shift - return : ~/Scripts/qtb.sh
|
||||||
|
|
||||||
# open mpv
|
# open mpv
|
||||||
cmd - m : open -na /Applications/mpv.app $(pbpaste)
|
#cmd - m : open -na /Applications/mpv.app $(pbpaste)
|
||||||
|
|
||||||
# ############################################################### #
|
# ############################################################### #
|
||||||
# THE FOLLOWING SECTION CONTAIN SIMPLE MAPPINGS DEMONSTRATING HOW #
|
# THE FOLLOWING SECTION CONTAIN SIMPLE MAPPINGS DEMONSTRATING HOW #
|
||||||
|
@ -130,37 +130,37 @@ shift + cmd - m : mpv $(pbpaste)
|
||||||
|
|
||||||
# focus window
|
# focus window
|
||||||
alt - x : yabai -m window --focus recent
|
alt - x : yabai -m window --focus recent
|
||||||
alt - h : yabai -m window --focus west
|
alt - left : yabai -m window --focus west
|
||||||
alt - j : yabai -m window --focus south
|
alt - down : yabai -m window --focus south
|
||||||
alt - k : yabai -m window --focus north
|
alt - up : yabai -m window --focus north
|
||||||
alt - l : yabai -m window --focus east
|
alt - right : yabai -m window --focus east
|
||||||
alt - z : yabai -m window --focus stack.prev
|
alt - z : yabai -m window --focus stack.prev
|
||||||
alt - c : yabai -m window --focus stack.next
|
alt - c : yabai -m window --focus stack.next
|
||||||
|
|
||||||
# swap window
|
# swap window
|
||||||
shift + alt - x : yabai -m window --swap recent
|
#shift + alt - x : yabai -m window --swap recent
|
||||||
shift + alt - h : yabai -m window --swap west
|
#shift + alt - left : yabai -m window --swap west
|
||||||
shift + alt - j : yabai -m window --swap south
|
#shift + alt - down : yabai -m window --swap south
|
||||||
shift + alt - k : yabai -m window --swap north
|
#shift + alt - up : yabai -m window --swap north
|
||||||
shift + alt - l : yabai -m window --swap east
|
#shift + alt - right : yabai -m window --swap east
|
||||||
|
|
||||||
# move window
|
# move window
|
||||||
shift + cmd - h : yabai -m window --warp west
|
shift + cmd - left : yabai -m window --warp west
|
||||||
shift + cmd - j : yabai -m window --warp south
|
shift + cmd - down : yabai -m window --warp south
|
||||||
shift + cmd - k : yabai -m window --warp north
|
shift + cmd - up : yabai -m window --warp north
|
||||||
shift + cmd - l : yabai -m window --warp east
|
shift + cmd - right : yabai -m window --warp east
|
||||||
|
|
||||||
# balance size of windows
|
# balance size of windows
|
||||||
shift + alt - 0 : yabai -m space --balance
|
shift + alt - 0 : yabai -m space --balance
|
||||||
|
|
||||||
# make floating window fill screen
|
# make floating window fill screen
|
||||||
shift + alt - up : yabai -m window --grid 1:1:0:0:1:1
|
#shift + alt - up : yabai -m window --grid 1:1:0:0:1:1
|
||||||
|
|
||||||
# make floating window fill left-half of screen
|
# make floating window fill left-half of screen
|
||||||
shift + alt - left : yabai -m window --grid 1:2:0:0:1:1
|
#shift + alt - left : yabai -m window --grid 1:2:0:0:1:1
|
||||||
|
|
||||||
# make floating window fill right-half of screen
|
# make floating window fill right-half of screen
|
||||||
shift + alt - right : yabai -m window --grid 1:2:1:0:1:1
|
#shift + alt - right : yabai -m window --grid 1:2:1:0:1:1
|
||||||
|
|
||||||
# create desktop, move window and follow focus - uses jq for parsing json (brew install jq)
|
# create desktop, move window and follow focus - uses jq for parsing json (brew install jq)
|
||||||
# shift + cmd - n : yabai -m space --create && \
|
# shift + cmd - n : yabai -m space --create && \
|
||||||
|
@ -224,22 +224,22 @@ ctrl + cmd - 2 : yabai -m window --display 2 && yabai -m display --focus 2
|
||||||
ctrl + cmd - 3 : yabai -m window --display 3 && yabai -m display --focus 3
|
ctrl + cmd - 3 : yabai -m window --display 3 && yabai -m display --focus 3
|
||||||
|
|
||||||
# move window
|
# move window
|
||||||
shift + ctrl - a : yabai -m window --move rel:-20:0
|
#shift + ctrl - left : yabai -m window --move rel:-20:0
|
||||||
shift + ctrl - s : yabai -m window --move rel:0:20
|
#shift + ctrl - down : yabai -m window --move rel:0:20
|
||||||
shift + ctrl - w : yabai -m window --move rel:0:-20
|
#shift + ctrl - up : yabai -m window --move rel:0:-20
|
||||||
shift + ctrl - d : yabai -m window --move rel:20:0
|
#shift + ctrl - right : yabai -m window --move rel:20:0
|
||||||
|
|
||||||
# increase window size
|
# increase window size
|
||||||
shift + alt - a : yabai -m window --resize left:-20:0
|
shift + alt - left : yabai -m window --resize left:-20:0
|
||||||
shift + alt - s : yabai -m window --resize bottom:0:20
|
shift + alt - down : yabai -m window --resize bottom:0:20
|
||||||
shift + alt - w : yabai -m window --resize top:0:-20
|
shift + alt - up : yabai -m window --resize top:0:-20
|
||||||
shift + alt - d : yabai -m window --resize right:20:0
|
shift + alt - right : yabai -m window --resize right:20:0
|
||||||
|
|
||||||
# decrease window size
|
# decrease window size
|
||||||
shift + cmd - a : yabai -m window --resize left:20:0
|
shift + ctrl - left : yabai -m window --resize left:20:0
|
||||||
shift + cmd - s : yabai -m window --resize bottom:0:-20
|
shift + ctrl - down : yabai -m window --resize bottom:0:-20
|
||||||
shift + cmd - w : yabai -m window --resize top:0:20
|
shift + ctrl - up : yabai -m window --resize top:0:20
|
||||||
shift + cmd - d : yabai -m window --resize right:-20:0
|
shift + ctrl - right : yabai -m window --resize right:-20:0
|
||||||
|
|
||||||
# set insertion point in focused container
|
# set insertion point in focused container
|
||||||
ctrl + alt - h : yabai -m window --insert west
|
ctrl + alt - h : yabai -m window --insert west
|
||||||
|
@ -274,7 +274,7 @@ alt - e : yabai -m window --toggle split
|
||||||
|
|
||||||
# float / unfloat window and restore position
|
# float / unfloat window and restore position
|
||||||
# alt - t : yabai -m window --toggle float && /tmp/yabai-restore/$(yabai -m query --windows --window | jq -re '.id').restore 2>/dev/null || true
|
# alt - t : yabai -m window --toggle float && /tmp/yabai-restore/$(yabai -m query --windows --window | jq -re '.id').restore 2>/dev/null || true
|
||||||
alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2
|
shift + alt - space : yabai -m window --toggle float --grid 4:4:1:1:2:2
|
||||||
|
|
||||||
# toggle sticky (show on all spaces)
|
# toggle sticky (show on all spaces)
|
||||||
alt - s : yabai -m window --toggle sticky
|
alt - s : yabai -m window --toggle sticky
|
||||||
|
|
Loading…
Reference in a new issue