1
0
Fork 0
env/.skhdrc

109 lines
3.8 KiB
Plaintext

#
# Resizing containers:
# See bottom
#
:: default : chunkc border::color 0xbbcb4b16
:: resize @ : chunkc border::color 0xffdc322f
#
# Basics:
#
# start a terminal
alt - return : ~/.local/bin/open-iterm
# kill focused window
alt + shift - q : chunkc tiling::window --close
# start your launcher
alt - d : osascript -e 'tell application "System Events" to keystroke space using {command down}'
# reload skhd configuration file
alt + shift - c : skhd reload
# reload chunkwm
alt + shift - e : ~/.chunkwmrc
#
# Moving around:
#
# Move your focus around
alt - h : chunkc tiling::window --focus west
alt - j : chunkc tiling::window --focus south
alt - k : chunkc tiling::window --focus north
alt - l : chunkc tiling::window --focus east
# or use $mod+[up|down|left|right]
alt - left : chunkc tiling::window --focus west
alt - down : chunkc tiling::window --focus south
alt - up : chunkc tiling::window --focus north
alt - right : chunkc tiling::window --focus east
# Move the focused window with the same, but add Shift
alt + shift - h : chunkc tiling::window --warp west
alt + shift - j : chunkc tiling::window --warp south
alt + shift - k : chunkc tiling::window --warp north
alt + shift - l : chunkc tiling::window --warp east
# ditto, with arrow keys
alt + shift - left : chunkc tiling::window --warp west
alt + shift - down : chunkc tiling::window --warp south
alt + shift - up : chunkc tiling::window --warp north
alt + shift - right : chunkc tiling::window --warp east
#
# Workspaces:
#
# TODO
#
# Layout stuff:
#
# You can "split" the current object of your focus...
alt - b : chunkc tiling::window --use-insertion-point south
alt - v : chunkc tiling::window --use-insertion-point east
# Alternatively, set split with
alt + ctrl - h : chunkc tiling::window --use-insertion-point west
alt + ctrl - j : chunkc tiling::window --use-insertion-point south
alt + ctrl - k : chunkc tiling::window --use-insertion-point north
alt + ctrl - l : chunkc tiling::window --use-insertion-point east
# Make the current focus fullscreen
alt - f : chunkc tiling::window --toggle fullscreen
# Toggle the current focus between tiling and floating mode
alt + shift - space : chunkc tiling::window --toggle float
#
# Scratchpad:
#
#
# Resizing containers:
#
alt - r ; resize
resize < return ; default
resize < escape ; default
resize < h : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge east
resize < j : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge south
resize < k : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge south
resize < l : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge east
resize < left : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge east
resize < down : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge south
resize < up : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge south
resize < right : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge east
#
# Custom largegaps mode
#
alt + shift - g : chunkc tiling::desktop --gap inc; chunkc tiling::desktop --padding inc
alt + shift + ctrl - g : chunkc tiling::desktop --gap dec; chunkc tiling::desktop --padding dec