mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 11:08:38 +00:00
[provisioning] Improve chunkwm configuration
This commit is contained in:
parent
9a77624264
commit
010afcef3a
2 changed files with 41 additions and 137 deletions
12
.chunkwmrc
12
.chunkwmrc
|
@ -37,11 +37,11 @@ chunkc set global_desktop_mode bsp
|
|||
# chunkc set 2_desktop_mode monocle
|
||||
# chunkc set 5_desktop_mode float
|
||||
|
||||
chunkc set global_desktop_offset_top 20
|
||||
chunkc set global_desktop_offset_bottom 20
|
||||
chunkc set global_desktop_offset_left 20
|
||||
chunkc set global_desktop_offset_right 20
|
||||
chunkc set global_desktop_offset_gap 15
|
||||
chunkc set global_desktop_offset_top 40
|
||||
chunkc set global_desktop_offset_bottom 40
|
||||
chunkc set global_desktop_offset_left 40
|
||||
chunkc set global_desktop_offset_right 40
|
||||
chunkc set global_desktop_offset_gap 25
|
||||
|
||||
# chunkc set 3_desktop_offset_top 190
|
||||
# chunkc set 3_desktop_offset_bottom 190
|
||||
|
@ -101,7 +101,7 @@ chunkc set focused_border_skip_floating 0
|
|||
|
||||
chunkc core::load border.so
|
||||
chunkc core::load tiling.so
|
||||
chunkc core::load ffm.so
|
||||
# chunkc core::load ffm.so
|
||||
|
||||
#
|
||||
# NOTE: shell commands require escaped quotes
|
||||
|
|
166
.skhdrc
166
.skhdrc
|
@ -69,158 +69,62 @@
|
|||
# launch a new terminal instance when in either 'default' or 'test' mode
|
||||
# default, test < cmd - return : open -na /Applications/Terminal.app
|
||||
|
||||
# open terminal, blazingly fast compared to iTerm/Hyper
|
||||
cmd - return : open -na /Applications/Kitty.app
|
||||
# open terminal
|
||||
alt - return : open -na /Applications/iTerm.app
|
||||
|
||||
# open qutebrowser
|
||||
cmd + shift - return : ~/Scripts/qtb.sh
|
||||
alt - j : chunkc tiling::window --focus prev
|
||||
alt - k : chunkc tiling::window --focus next
|
||||
|
||||
# close focused window
|
||||
alt - w : chunkc tiling::window --close
|
||||
|
||||
# focus window
|
||||
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
|
||||
|
||||
cmd - j : chunkc tiling::window --focus prev
|
||||
cmd - k : chunkc tiling::window --focus next
|
||||
shift + alt - j : chunkc tiling:window --warp prev
|
||||
shift + alt - k : chunkc tiling:window --warp next
|
||||
|
||||
# equalize size of windows
|
||||
shift + alt - 0 : chunkc tiling::desktop --equalize
|
||||
|
||||
# swap window
|
||||
shift + alt - h : chunkc tiling::window --swap west
|
||||
shift + alt - j : chunkc tiling::window --swap south
|
||||
shift + alt - k : chunkc tiling::window --swap north
|
||||
shift + alt - l : chunkc tiling::window --swap east
|
||||
|
||||
# move window
|
||||
shift + cmd - h : chunkc tiling::window --warp west
|
||||
shift + cmd - j : chunkc tiling::window --warp south
|
||||
shift + cmd - k : chunkc tiling::window --warp north
|
||||
shift + cmd - l : chunkc tiling::window --warp east
|
||||
|
||||
# make floating window fill screen
|
||||
shift + alt - up : chunkc tiling::window --grid-layout 1:1:0:0:1:1
|
||||
|
||||
# make floating window fill left-half of screen
|
||||
# make floating window fill left-half of screen X
|
||||
shift + alt - left : chunkc tiling::window --grid-layout 1:2:0:0:1:1
|
||||
|
||||
# make floating window fill right-half of screen
|
||||
shift + alt - right : chunkc tiling::window --grid-layout 1:2:1:0:1:1
|
||||
|
||||
# fast focus desktop
|
||||
cmd + alt - x : chunkc tiling::desktop --focus $(chunkc get _last_active_desktop)
|
||||
cmd + alt - z : chunkc tiling::desktop --focus prev
|
||||
cmd + alt - c : chunkc tiling::desktop --focus next
|
||||
cmd + alt - 1 : chunkc tiling::desktop --focus 1
|
||||
cmd + alt - 2 : chunkc tiling::desktop --focus 2
|
||||
cmd + alt - 3 : chunkc tiling::desktop --focus 3
|
||||
cmd + alt - 4 : chunkc tiling::desktop --focus 4
|
||||
cmd + alt - 5 : chunkc tiling::desktop --focus 5
|
||||
cmd + alt - 6 : chunkc tiling::desktop --focus 6
|
||||
cmd + alt - 7 : chunkc tiling::desktop --focus 7
|
||||
alt - 1 : chunkc tiling::desktop --focus 1
|
||||
alt - 2 : chunkc tiling::desktop --focus 2
|
||||
alt - 3 : chunkc tiling::desktop --focus 3
|
||||
alt - 4 : chunkc tiling::desktop --focus 4
|
||||
alt - 5 : chunkc tiling::desktop --focus 5
|
||||
alt - 6 : chunkc tiling::desktop --focus 6
|
||||
alt - 7 : chunkc tiling::desktop --focus 7
|
||||
shift + alt - 1 : chunkc tiling::window --send-to-desktop 1; \
|
||||
chunkc tiling::desktop --focus 1
|
||||
shift + alt - 2 : chunkc tiling::window --send-to-desktop 2; \
|
||||
chunkc tiling::desktop --focus 2
|
||||
shift + alt - 3 : chunkc tiling::window --send-to-desktop 3; \
|
||||
chunkc tiling::desktop --focus 3
|
||||
shift + alt - 4 : chunkc tiling::window --send-to-desktop 4; \
|
||||
chunkc tiling::desktop --focus 4
|
||||
shift + alt - 5 : chunkc tiling::window --send-to-desktop 5; \
|
||||
chunkc tiling::desktop --focus 5
|
||||
shift + alt - 6 : chunkc tiling::window --send-to-desktop 6; \
|
||||
chunkc tiling::desktop --focus 6
|
||||
shift + alt - 7 : chunkc tiling::window --send-to-desktop 7; \
|
||||
chunkc tiling::desktop --focus 7
|
||||
|
||||
# send window to desktop
|
||||
shift + alt - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop)
|
||||
shift + alt - z : chunkc tiling::window --send-to-desktop prev
|
||||
shift + alt - c : chunkc tiling::window --send-to-desktop next
|
||||
shift + alt - 1 : chunkc tiling::window --send-to-desktop 1
|
||||
shift + alt - 2 : chunkc tiling::window --send-to-desktop 2
|
||||
shift + alt - 3 : chunkc tiling::window --send-to-desktop 3
|
||||
shift + alt - 4 : chunkc tiling::window --send-to-desktop 4
|
||||
shift + alt - 5 : chunkc tiling::window --send-to-desktop 5
|
||||
shift + alt - 6 : chunkc tiling::window --send-to-desktop 6
|
||||
shift + alt - 7 : chunkc tiling::window --send-to-desktop 7
|
||||
|
||||
# send window to desktop and follow focus
|
||||
shift + cmd - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop); chunkc tiling::desktop --focus $(chunkc get _last_active_desktop)
|
||||
shift + cmd - z : chunkc tiling::window --send-to-desktop prev; chunkc tiling::desktop --focus prev
|
||||
shift + cmd - c : chunkc tiling::window --send-to-desktop next; chunkc tiling::desktop --focus next
|
||||
shift + cmd - 1 : chunkc tiling::window --send-to-desktop 1; chunkc tiling::desktop --focus 1
|
||||
shift + cmd - 2 : chunkc tiling::window --send-to-desktop 2; chunkc tiling::desktop --focus 2
|
||||
shift + cmd - 3 : chunkc tiling::window --send-to-desktop 3; chunkc tiling::desktop --focus 3
|
||||
shift + cmd - 4 : chunkc tiling::window --send-to-desktop 4; chunkc tiling::desktop --focus 4
|
||||
shift + cmd - 5 : chunkc tiling::window --send-to-desktop 5; chunkc tiling::desktop --focus 5
|
||||
shift + cmd - 6 : chunkc tiling::window --send-to-desktop 6; chunkc tiling::desktop --focus 6
|
||||
shift + cmd - 7 : chunkc tiling::window --send-to-desktop 7; chunkc tiling::desktop --focus 7
|
||||
|
||||
# focus monitor
|
||||
ctrl + alt - z : chunkc tiling::monitor -f prev
|
||||
ctrl + alt - c : chunkc tiling::monitor -f next
|
||||
ctrl + alt - 1 : chunkc tiling::monitor -f 1
|
||||
ctrl + alt - 2 : chunkc tiling::monitor -f 2
|
||||
ctrl + alt - 3 : chunkc tiling::monitor -f 3
|
||||
|
||||
# send window to monitor and follow focus
|
||||
ctrl + cmd - z : chunkc tiling::window --send-to-monitor prev; chunkc tiling::monitor -f prev
|
||||
ctrl + cmd - c : chunkc tiling::window --send-to-monitor next; chunkc tiling::monitor -f next
|
||||
ctrl + cmd - 1 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::monitor -f 1
|
||||
ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2
|
||||
ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3
|
||||
|
||||
# increase region size
|
||||
shift + alt - a : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge west
|
||||
shift + alt - s : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge south
|
||||
shift + alt - w : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge north
|
||||
shift + alt - d : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge east
|
||||
|
||||
# decrease region size
|
||||
shift + cmd - a : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge west
|
||||
shift + cmd - s : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge south
|
||||
shift + cmd - w : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge north
|
||||
shift + cmd - d : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge east
|
||||
|
||||
# set insertion point for focused container
|
||||
ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel
|
||||
ctrl + alt - h : chunkc tiling::window --use-insertion-point west
|
||||
ctrl + alt - j : chunkc tiling::window --use-insertion-point south
|
||||
ctrl + alt - k : chunkc tiling::window --use-insertion-point north
|
||||
ctrl + alt - l : chunkc tiling::window --use-insertion-point east
|
||||
|
||||
# rotate tree
|
||||
cmd - r : chunkc tiling::desktop --rotate 90
|
||||
|
||||
# mirror tree y-axis
|
||||
# cmd - y : chunkc tiling::desktop --mirror vertical
|
||||
|
||||
# mirror tree x-axis
|
||||
# cmd - x : chunkc tiling::desktop --mirror horizontal
|
||||
|
||||
# toggle desktop offset
|
||||
cmd - a : chunkc tiling::desktop --toggle offset
|
||||
cmd - w : chunkc tiling::monitor -f prev
|
||||
cmd - e : chunkc tiling::monitor -f next
|
||||
shift + cmd - w : chunkc tiling:window --send-to-monitor prev; \
|
||||
chunkc tiling::monitor -f prev
|
||||
shift + cmd - e : chunkc tiling:window --send-to-monitor next; \
|
||||
|
||||
# toggle window fullscreen
|
||||
cmd - f : chunkc tiling::window --toggle fullscreen
|
||||
|
||||
# toggle window native fullscreen
|
||||
shift + alt - f : chunkc tiling::window --toggle native-fullscreen
|
||||
|
||||
# toggle window parent zoom
|
||||
cmd - d : chunkc tiling::window --toggle parent
|
||||
|
||||
# toggle window split type
|
||||
cmd - e : chunkc tiling::window --toggle split
|
||||
|
||||
# toggle window fade
|
||||
cmd - q : chunkc tiling::window --toggle fade
|
||||
shift + cmd - space : chunkc tiling::window --toggle fullscreen
|
||||
|
||||
# float / unfloat window and center on screen
|
||||
shift + cmd - f : chunkc tiling::window --toggle float;\
|
||||
shift + alt + cmd - space : chunkc tiling::window --toggle float;\
|
||||
chunkc tiling::window --grid-layout 4:4:1:1:2:2
|
||||
|
||||
# toggle sticky, float and resize to picture-in-picture size
|
||||
cmd - s : chunkc tiling::window --toggle sticky;\
|
||||
chunkc tiling::window --grid-layout 5:5:4:0:1:1
|
||||
|
||||
# float next window to be tiled
|
||||
shift + alt - t : chunkc set window_float_next 1
|
||||
|
||||
# change layout of desktop
|
||||
ctrl + alt - a : chunkc tiling::desktop --layout bsp
|
||||
ctrl + alt - s : chunkc tiling::desktop --layout monocle
|
||||
ctrl + alt - d : chunkc tiling::desktop --layout float
|
||||
|
||||
ctrl + alt - w : chunkc tiling::desktop --deserialize ~/.chunkwm_layouts/dev_1
|
||||
|
|
Loading…
Reference in a new issue