aboutsummaryrefslogtreecommitdiffstats
path: root/chunkwm
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2026-09-04 13:57:04 +0200
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2026-09-04 13:57:04 +0200
commit800f87a50e8d9b47c50125bb16f37686f9905e67 (patch)
treeb9158d5461a703577bdfc76fb02b77a72f0d6112 /chunkwm
parent60eac670ada4f5a0b49eee4a5e9ff83bcaf618a2 (diff)
downloaddotfiles-800f87a50e8d9b47c50125bb16f37686f9905e67.tar.gz
dotfiles-800f87a50e8d9b47c50125bb16f37686f9905e67.tar.bz2
dotfiles-800f87a50e8d9b47c50125bb16f37686f9905e67.zip
Removed old submodules
Diffstat (limited to 'chunkwm')
-rwxr-xr-xchunkwm/.chunkwmrc141
-rw-r--r--chunkwm/.skhdrc246
2 files changed, 0 insertions, 387 deletions
diff --git a/chunkwm/.chunkwmrc b/chunkwm/.chunkwmrc
deleted file mode 100755
index 494c96f..0000000
--- a/chunkwm/.chunkwmrc
+++ /dev/null
@@ -1,141 +0,0 @@
1#!/bin/bash
2
3#
4# NOTE: any 'chunkc' command that is run from this config file
5# that is NOT 'chunkc core::<..>' or 'chunkc set ..'
6# MUST be put in the background using &
7#
8# e.g:
9# chunkc tiling::rule --owner Finder --name Copy --state float &
10#
11
12#
13# NOTE: specify the absolutepath of the file to use for logging.
14# 'stdout' or 'stderr' can be used instead of an actual filepath.
15#
16
17chunkc core::log_file stdout
18
19#
20# NOTE: specify the desired level of logging.
21#
22# - none, debug, profile, warn, error
23#
24
25chunkc core::log_level debug
26
27#
28# NOTE: specify the absolutepath to the directory to use when loading a plugin.
29#
30
31chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins
32
33#
34# NOTE: if enabled, chunkwm will monitor the specified plugin_dir
35# and automatically reload any '.so' file that is changed.
36#
37
38chunkc core::hotload 0
39
40#
41# NOTE: the following are config variables for the chunkwm-tiling plugin.
42#
43
44chunkc set custom_bar_enabled 0
45chunkc set custom_bar_all_monitors 0
46chunkc set custom_bar_offset_top 22
47chunkc set custom_bar_offset_bottom 0
48chunkc set custom_bar_offset_left 0
49chunkc set custom_bar_offset_right 0
50
51chunkc set global_desktop_mode bsp
52chunkc set global_desktop_offset_top 0
53chunkc set global_desktop_offset_bottom 0
54chunkc set global_desktop_offset_left 0
55chunkc set global_desktop_offset_right 0
56chunkc set global_desktop_offset_gap 0
57
58#
59# NOTE: syntax for desktop-specific settings
60#
61# chunkc set 2_desktop_mode monocle
62# chunkc set 5_desktop_mode float
63# chunkc set 3_desktop_offset_top 190
64# chunkc set 3_desktop_offset_bottom 190
65# chunkc set 3_desktop_offset_left 190
66# chunkc set 3_desktop_offset_right 190
67# chunkc set 3_desktop_offset_gap 30
68#
69
70chunkc set desktop_padding_step_size 10.0
71chunkc set desktop_gap_step_size 5.0
72
73chunkc set bsp_spawn_left 0
74chunkc set bsp_optimal_ratio 1.618
75chunkc set bsp_split_mode optimal
76chunkc set bsp_split_ratio 0.5
77
78chunkc set monitor_focus_cycle 1
79chunkc set window_focus_cycle monitor
80
81chunkc set mouse_follows_focus intrinsic
82chunkc set window_float_next 0
83chunkc set window_region_locked 1
84
85chunkc set mouse_move_window \"fn 1\"
86chunkc set mouse_resize_window \"fn 2\"
87chunkc set mouse_motion_interval 35
88
89chunkc set preselect_border_color 0xffd75f5f
90chunkc set preselect_border_width 5
91chunkc set preselect_border_radius 0
92chunkc set preselect_border_outline 0
93
94#
95# NOTE: these settings require chwm-sa.
96# (https://github.com/koekeishiya/chwm-sa)
97#
98
99chunkc set window_float_topmost 0
100chunkc set window_fade_inactive 0
101chunkc set window_fade_alpha 0.85
102chunkc set window_fade_duration 0.25
103chunkc set window_use_cgs_move 0
104
105#
106# NOTE: the following are config variables for the chunkwm-border plugin.
107#
108# NOTE: syntax for `focused_border_outline` setting
109# 0 = false, inline border
110# 1 = true, outline border
111#
112
113chunkc set focused_border_color 0xff0f6288
114chunkc set focused_border_width 2
115chunkc set focused_border_radius 4
116chunkc set focused_border_outline 0
117chunkc set focused_border_skip_floating 1
118chunkc set focused_border_skip_monocle 1
119
120#
121# NOTE: the following are config variables for the chunkwm-ffm plugin.
122#
123
124chunkc set ffm_bypass_modifier fn
125chunkc set ffm_standby_on_float 1
126
127#
128# NOTE: specify plugins to load when chunkwm starts.
129#
130
131chunkc core::load border.so
132chunkc core::load tiling.so
133chunkc core::load ffm.so
134
135#
136# NOTE: sample rules for the tiling plugin
137#
138
139chunkc tiling::rule --owner Finder --name Copy --state float &
140chunkc tiling::rule --owner \"App Store\" --state float &
141chunkc tiling::rule --owner Emacs --except "^$" --state tile &
diff --git a/chunkwm/.skhdrc b/chunkwm/.skhdrc
deleted file mode 100644
index a1c97d1..0000000
--- a/chunkwm/.skhdrc
+++ /dev/null
@@ -1,246 +0,0 @@
1# NOTE(koekeishiya): A list of all built-in modifier and literal keywords can
2# be found at https://github.com/koekeishiya/skhd/issues/1
3#
4# A hotkey is written according to the following rules:
5#
6# hotkey = <mode> '<' <action> | <action>
7#
8# mode = 'name of mode' | <mode> ',' <mode>
9#
10# action = <keysym> '[' <proc_map_lst> ']' | <keysym> '->' '[' <proc_map_lst> ']'
11# <keysym> ':' <command> | <keysym> '->' ':' <command>
12# <keysym> ';' <mode> | <keysym> '->' ';' <mode>
13#
14# keysym = <mod> '-' <key> | <key>
15#
16# mod = 'modifier keyword' | <mod> '+' <mod>
17#
18# key = <literal> | <keycode>
19#
20# literal = 'single letter or built-in keyword'
21#
22# keycode = 'apple keyboard kVK_<Key> values (0x3C)'
23#
24# proc_map_lst = * <proc_map>
25#
26# proc_map = <string> ':' <command>
27#
28# string = '"' 'sequence of characters' '"'
29#
30# command = command is executed through '$SHELL -c' and
31# follows valid shell syntax. if the $SHELL environment
32# variable is not set, it will default to '/bin/bash'.
33# when bash is used, the ';' delimeter can be specified
34# to chain commands.
35#
36# to allow a command to extend into multiple lines,
37# prepend '\' at the end of the previous line.
38#
39# an EOL character signifies the end of the bind.
40#
41# -> = keypress is not consumed by skhd
42#
43# NOTE(koekeishiya): A mode is declared according to the following rules:
44#
45# mode_decl = '::' <name> '@' ':' <command> | '::' <name> ':' <command> |
46# '::' <name> '@' | '::' <name>
47#
48# name = desired name for this mode,
49#
50# @ = capture keypresses regardless of being bound to an action
51#
52# command = command is executed through '$SHELL -c' and
53# follows valid shell syntax. if the $SHELL environment
54# variable is not set, it will default to '/bin/bash'.
55# when bash is used, the ';' delimeter can be specified
56# to chain commands.
57#
58# to allow a command to extend into multiple lines,
59# prepend '\' at the end of the previous line.
60#
61# an EOL character signifies the end of the bind.
62
63# add an on_enter command to the default mode
64# :: default : chunkc border::color 0xff775759
65#
66# defines a new mode 'test' with an on_enter command, that captures keypresses
67# :: test @ : chunkc border::color 0xff24ccaa
68#
69# from 'default' mode, activate mode 'test'
70# cmd - x ; test
71#
72# from 'test' mode, activate mode 'default'
73# test < cmd - x ; default
74#
75# launch a new terminal instance when in either 'default' or 'test' mode
76# default, test < cmd - return : open -na /Applications/Terminal.app
77
78# application specific bindings
79#
80# cmd - n [
81# "kitty" : echo "hello kitty"
82# "qutebrowser" : echo "hello qutebrowser"
83# "finder" : false
84# ]
85#
86shift + cmd - r : brew services restart chunkwm
87
88# open terminal, blazingly fast compared to iTerm/Hyper
89cmd - return : /Applications/Kitty.app/Contents/MacOS/kitty --single-instance -d ~
90
91# close focused window
92shift + cmd - c : chunkc tiling::window --close
93
94# focus window
95cmd - h : chunkc tiling::window --focus west
96cmd - j : chunkc tiling::window --focus south
97cmd - k : chunkc tiling::window --focus north
98cmd - l : chunkc tiling::window --focus east
99
100# equalize size of windows
101shift + alt - 0 : chunkc tiling::desktop --equalize
102
103# swap window
104shift + alt - h : chunkc tiling::window --swap west
105shift + alt - j : chunkc tiling::window --swap south
106shift + alt - k : chunkc tiling::window --swap north
107shift + alt - l : chunkc tiling::window --swap east
108
109# move window
110shift + cmd - h : chunkc tiling::window --warp west
111shift + cmd - j : chunkc tiling::window --warp south
112shift + cmd - k : chunkc tiling::window --warp north
113shift + cmd - l : chunkc tiling::window --warp east
114
115# make floating window fill screen
116shift + alt - up : chunkc tiling::window --grid-layout 1:1:0:0:1:1
117
118# make floating window fill left-half of screen
119shift + alt - left : chunkc tiling::window --grid-layout 1:2:0:0:1:1
120
121# make floating window fill right-half of screen
122shift + alt - right : chunkc tiling::window --grid-layout 1:2:1:0:1:1
123
124# create desktop, move window and follow focus
125shift + cmd - n : chunkc tiling::desktop --create;\
126 id=$(chunkc tiling::query --desktops-for-monitor $(chunkc tiling::query --monitor-for-desktop $(chunkc tiling::query --desktop id)));\
127 chunkc tiling::window --send-to-desktop $(echo ${id##* });\
128 chunkc tiling::desktop --focus $(echo ${id##* })
129
130# create desktop and follow focus
131cmd + alt - n : chunkc tiling::desktop --create;\
132 id=$(chunkc tiling::query --desktops-for-monitor $(chunkc tiling::query --monitor-for-desktop $(chunkc tiling::query --desktop id)));\
133 chunkc tiling::desktop --focus $(echo ${id##* })
134# destroy desktop
135cmd + alt - w : chunkc tiling::desktop --annihilate
136
137# fast focus desktop
138cmd + alt - x : chunkc tiling::desktop --focus $(chunkc get _last_active_desktop)
139cmd + alt - z : chunkc tiling::desktop --focus prev
140cmd + alt - c : chunkc tiling::desktop --focus next
141cmd + alt - 1 : chunkc tiling::desktop --focus 1
142cmd + alt - 2 : chunkc tiling::desktop --focus 2
143cmd + alt - 3 : chunkc tiling::desktop --focus 3
144cmd + alt - 4 : chunkc tiling::desktop --focus 4
145cmd + alt - 5 : chunkc tiling::desktop --focus 5
146cmd + alt - 6 : chunkc tiling::desktop --focus 6
147# cmd + alt - 7 : chunkc tiling::desktop --focus 7
148
149# send window to desktop
150shift + alt - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop)
151shift + alt - z : chunkc tiling::window --send-to-desktop prev
152shift + alt - c : chunkc tiling::window --send-to-desktop next
153shift + alt - 1 : chunkc tiling::window --send-to-desktop 1
154shift + alt - 2 : chunkc tiling::window --send-to-desktop 2
155shift + alt - 3 : chunkc tiling::window --send-to-desktop 3
156shift + alt - 4 : chunkc tiling::window --send-to-desktop 4
157shift + alt - 5 : chunkc tiling::window --send-to-desktop 5
158shift + alt - 6 : chunkc tiling::window --send-to-desktop 6
159# shift + alt - 7 : chunkc tiling::window --send-to-desktop 7
160
161# send window to desktop and follow focus
162shift + cmd - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop); chunkc tiling::desktop --focus $(chunkc get _last_active_desktop)
163shift + cmd - z : chunkc tiling::window --send-to-desktop prev; chunkc tiling::desktop --focus prev
164shift + cmd - c : chunkc tiling::window --send-to-desktop next; chunkc tiling::desktop --focus next
165shift + cmd - 1 : chunkc tiling::window --send-to-desktop 1; chunkc tiling::desktop --focus 1
166shift + cmd - 2 : chunkc tiling::window --send-to-desktop 2; chunkc tiling::desktop --focus 2
167shift + cmd - 3 : chunkc tiling::window --send-to-desktop 3; chunkc tiling::desktop --focus 3
168shift + cmd - 4 : chunkc tiling::window --send-to-desktop 4; chunkc tiling::desktop --focus 4
169shift + cmd - 5 : chunkc tiling::window --send-to-desktop 5; chunkc tiling::desktop --focus 5
170shift + cmd - 6 : chunkc tiling::window --send-to-desktop 6; chunkc tiling::desktop --focus 6
171# shift + cmd - 7 : chunkc tiling::window --send-to-desktop 7; chunkc tiling::desktop --focus 7
172
173# focus monitor
174ctrl + alt - z : chunkc tiling::monitor -f prev
175ctrl + alt - c : chunkc tiling::monitor -f next
176ctrl + alt - 1 : chunkc tiling::monitor -f 1
177ctrl + alt - 2 : chunkc tiling::monitor -f 2
178ctrl + alt - 3 : chunkc tiling::monitor -f 3
179
180# send window to monitor and follow focus
181ctrl + cmd - z : chunkc tiling::window --send-to-monitor prev; chunkc tiling::monitor -f prev
182ctrl + cmd - c : chunkc tiling::window --send-to-monitor next; chunkc tiling::monitor -f next
183ctrl + cmd - 1 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::monitor -f 1
184ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2
185ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3
186
187# Resize region
188ctrl + cmd - h : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge east
189ctrl + cmd - j : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge south; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge north
190ctrl + cmd - k : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge south
191ctrl + cmd - l : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge east; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge west
192
193# set insertion point for focused container
194ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel
195ctrl + alt - h : chunkc tiling::window --use-insertion-point west
196ctrl + alt - j : chunkc tiling::window --use-insertion-point south
197ctrl + alt - k : chunkc tiling::window --use-insertion-point north
198ctrl + alt - l : chunkc tiling::window --use-insertion-point east
199
200# rotate tree
201alt - r : chunkc tiling::desktop --rotate 90
202
203# mirror tree y-axis
204alt - y : chunkc tiling::desktop --mirror vertical
205
206# mirror tree x-axis
207alt - x : chunkc tiling::desktop --mirror horizontal
208
209# toggle desktop offset
210alt - a : chunkc tiling::desktop --toggle offset
211
212# toggle window fullscreen
213cmd - f : chunkc tiling::window --toggle fullscreen
214
215# toggle window native fullscreen
216shift + cmd - f : chunkc tiling::window --toggle native-fullscreen
217
218# toggle window parent zoom
219cmd - d : chunkc tiling::window --toggle parent
220
221# toggle window split type
222alt - e : chunkc tiling::window --toggle split
223
224# toggle window fade
225alt - q : chunkc tiling::window --toggle fade
226
227# float / unfloat window and center on screen
228alt - t : chunkc tiling::window --toggle float;\
229 chunkc tiling::window --grid-layout 4:4:1:1:2:2
230
231# toggle sticky
232alt - s : chunkc tiling::window --toggle sticky
233
234# toggle sticky, float and resize to picture-in-picture size
235alt - p : chunkc tiling::window --toggle sticky;\
236 chunkc tiling::window --grid-layout 5:5:4:0:1:1
237
238# float next window to be tiled
239shift + alt - t : chunkc set window_float_next 1
240
241# change layout of desktop
242ctrl + alt - a : chunkc tiling::desktop --layout bsp
243ctrl + alt - s : chunkc tiling::desktop --layout monocle
244ctrl + alt - d : chunkc tiling::desktop --layout float
245
246ctrl + alt - w : chunkc tiling::desktop --deserialize ~/.chunkwm_layouts/dev_1