···11+PWD = $(shell pwd)
22+UTILS = chunkwmrc skhdrc
33+44+$(UTILS):
55+ $(LN) ${PWD}/$@ ${HOME}/.$@
66+77+install: $(UTILS)
88+99+clear:
1010+ for util in $(UTILS); do rm ${HOME}/.$$util; done
1111+1212+.PHONY: install clear $(UTILS)
+68
wm/chunkwmrc
···11+#!/bin/bash
22+33+#
44+# NOTE: specify the absolutepath to the directory to use when
55+# loading a plugin. '~' expansion is supported.
66+#
77+88+chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins
99+1010+#
1111+# NOTE: if enabled, chunkwm will monitor the specified plugin_dir
1212+# and automatically reload any '.so' file that is changed.
1313+#
1414+1515+chunkc core::hotload 1
1616+chunkc core::unload tiling.so
1717+chunkc core::unload ffm.so
1818+chunkc core::unload border.so
1919+2020+#
2121+# NOTE: the following are config variables for the chunkwm-tiling plugin.
2222+#
2323+2424+chunkc set global_desktop_mode bsp
2525+2626+chunkc set global_desktop_offset_top 5
2727+chunkc set global_desktop_offset_bottom 5
2828+chunkc set global_desktop_offset_left 10
2929+chunkc set global_desktop_offset_right 10
3030+chunkc set global_desktop_offset_gap 2
3131+3232+chunkc set desktop_padding_step_size 10.0
3333+chunkc set desktop_gap_step_size 5.0
3434+3535+chunkc set bsp_spawn_left 1
3636+chunkc set bsp_optimal_ratio 1.618
3737+chunkc set bsp_split_mode optimal
3838+chunkc set bsp_split_ratio 0.5
3939+4040+chunkc set monitor_focus_cycle 1
4141+chunkc set window_focus_cycle monitor
4242+4343+chunkc set mouse_follows_focus 0
4444+chunkc set window_float_next 0
4545+chunkc set window_float_center 1
4646+chunkc set window_region_locked 1
4747+4848+chunkc set mouse_modifier fn
4949+5050+chunkc set preselect_border_color 0xffd75f5f
5151+chunkc set preselect_border_width 5
5252+chunkc set preselect_border_radius 0
5353+5454+chunkc set focused_border_color 0xff008097
5555+chunkc set focused_border_width 2
5656+chunkc set focused_border_radius 0
5757+chunkc set focused_border_skip_floating 0
5858+5959+chunkc tiling::rule --owner Dash --state float
6060+6161+#
6262+# NOTE: specify plugins to load when chunkwm starts.
6363+# if chunkc plugin_dir is not set, the absolutepath is necessary.
6464+#
6565+6666+chunkc core::load border.so
6767+chunkc core::load tiling.so
6868+chunkc core::load ffm.so
+40
wm/skhdrc
···11+# enter fullscreen mode for the focused container
22+ctrl + cmd - f : chunkc tiling::window --toggle fullscreen
33+44+# change focus between tiling / floating windows
55+shift + ctrl + cmd - space : chunkc tiling::window --toggle float
66+77+# change layout of desktop
88+ctrl + cmd - e : chunkc tiling::desktop --layout bsp
99+ctrl + cmd - s : chunkc tiling::desktop --layout monocle
1010+1111+# kill focused window
1212+shift + ctrl + cmd - q : chunkc tiling::window --close
1313+1414+# change focus
1515+ctrl + cmd - h : chunkc tiling::window --focus west
1616+ctrl + cmd - j : chunkc tiling::window --focus south
1717+ctrl + cmd - k : chunkc tiling::window --focus north
1818+ctrl + cmd - l : chunkc tiling::window --focus east
1919+2020+ctrl + cmd - p : chunkc tiling::window --focus prev
2121+ctrl + cmd - n : chunkc tiling::window --focus next
2222+2323+# move focused window
2424+shift + ctrl + cmd - h : chunkc tiling::window --warp west
2525+shift + ctrl + cmd - j : chunkc tiling::window --warp south
2626+shift + ctrl + cmd - k : chunkc tiling::window --warp north
2727+shift + ctrl + cmd - l : chunkc tiling::window --warp east
2828+2929+ctrl + cmd - r : chunkc tiling::desktop --rotate 90
3030+3131+# move focused container to workspace
3232+shift + ctrl + cmd - m : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop)
3333+shift + ctrl + cmd - p : chunkc tiling::window --send-to-desktop prev
3434+shift + ctrl + cmd - n : chunkc tiling::window --send-to-desktop next
3535+shift + ctrl + cmd - 1 : chunkc tiling::window --send-to-desktop 1
3636+shift + ctrl + cmd - 2 : chunkc tiling::window --send-to-desktop 2
3737+shift + ctrl + cmd - 3 : chunkc tiling::window --send-to-desktop 3
3838+shift + ctrl + cmd - 4 : chunkc tiling::window --send-to-desktop 4
3939+shift + ctrl + cmd - 5 : chunkc tiling::window --send-to-desktop 5
4040+shift + ctrl + cmd - 6 : chunkc tiling::window --send-to-desktop 6