-
Notifications
You must be signed in to change notification settings - Fork 0
/
.chunkwmrc
executable file
·194 lines (162 loc) · 6.52 KB
/
.chunkwmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# This config file is old and I have stopped using/maintaining it.
#!/bin/bash
#
# NOTE: any 'chunkc' command that is run from this config file
# that is NOT 'chunkc core::<..>' or 'chunkc set ..'
# MUST be put in the background using &
#
# e.g:
# chunkc tiling::rule --owner Finder --name Copy --state float &
#
#
# NOTE: specify the absolutepath of the file to use for logging.
# 'stdout' or 'stderr' can be used instead of an actual filepath.
#
chunkc core::log_file stdout
#
# NOTE: specify the desired level of logging.
#
# - none, debug, profile, warn, error
#
chunkc core::log_level warn
#
# NOTE: specify the absolutepath to the directory to use when loading a plugin.
#
chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins
#
# NOTE: if enabled, chunkwm will monitor the specified plugin_dir
# and automatically reload any '.so' file that is changed.
#
chunkc core::hotload 0
#
# NOTE: the following are config variables for the chunkwm-tiling plugin.
#
chunkc set custom_bar_enabled 0
chunkc set custom_bar_all_monitors 0
chunkc set custom_bar_offset_top 0
chunkc set custom_bar_offset_bottom 0
chunkc set custom_bar_offset_left 0
chunkc set custom_bar_offset_right 0
# 4K Display
# ###
# ##
# #
# chunkc set global_desktop_mode bsp
# chunkc set global_desktop_offset_top 30
# chunkc set global_desktop_offset_bottom 60
# chunkc set global_desktop_offset_left 100
# chunkc set global_desktop_offset_right 100
# chunkc set global_desktop_offset_gap 15
# #
# ##
# #u##
# 4K Display
# Retina Display
# ###
# ##
# #
chunkc set global_desktop_mode bsp
chunkc set global_desktop_offset_top 15
chunkc set global_desktop_offset_bottom 15
chunkc set global_desktop_offset_left 15
chunkc set global_desktop_offset_right 15
chunkc set global_desktop_offset_gap 15
# #
# ##
# ###
# Retina Display
#
# NOTE: syntax for desktop-specific settings
#
# chunkc set 2_desktop_mode monocle
# chunkc set 5_desktop_mode float
# chunkc set 3_desktop_offset_top 190
# chunkc set 3_desktop_offset_bottom 190
# chunkc set 3_desktop_offset_left 190
# chunkc set 3_desktop_offset_right 190
# chunkc set 3_desktop_offset_gap 30
#
chunkc set desktop_padding_step_size 5.0
chunkc set desktop_gap_step_size 5.0
chunkc set bsp_spawn_left 1
chunkc set bsp_optimal_ratio 1.618
chunkc set bsp_split_mode optimal
chunkc set bsp_split_ratio 0.5
chunkc set monitor_focus_cycle 1
chunkc set window_focus_cycle monitor
chunkc set mouse_follows_focus intrinsic
chunkc set window_float_next 0
chunkc set window_region_locked 1
chunkc set window_float_center 1
chunkc set mouse_move_window \"fn 1\"
chunkc set mouse_resize_window \"fn 2\"
chunkc set mouse_motion_interval 35
chunkc set preselect_border_color 0xffd75f5f
chunkc set preselect_border_width 5
chunkc set preselect_border_radius 0
chunkc set preselect_border_outline 0
#
# NOTE: these settings require chwm-sa.
# (https://github.com/koekeishiya/chwm-sa)
#
chunkc set window_float_topmost 0
chunkc set window_fade_inactive 0
chunkc set window_fade_alpha 0.85
chunkc set window_fade_duration 0.25
chunkc set window_use_cgs_move 0
#
# NOTE: the following are config variables for the chunkwm-border plugin.
#
# NOTE: syntax for `focused_border_outline` setting
# 0 = false, inline border
# 1 = true, outline border
#
chunkc set focused_border_color 0xff6495ed
chunkc set focused_border_width 4
chunkc set focused_border_radius 7
chunkc set focused_border_outline 1
chunkc set focused_border_skip_monocle 1
#
# NOTE: the following are config variables for the chunkwm-ffm plugin.
#
chunkc set ffm_bypass_modifier fn
chunkc set ffm_standby_on_float 1
#
# NOTE: specify plugins to load when chunkwm starts.
#
chunkc core::load border.so
chunkc core::load tiling.so
# chunkc core::load ffm.so
#
# NOTE: sample rules for the tiling plugin
#
chunkc tiling::rule --owner Finder --name Copy --state float &
chunkc tiling::rule --owner Finder --name ".*This Mac*." --state float &
chunkc tiling::rule --owner \"App Store\" --state float &
chunkc tiling::rule --owner Safari -r AXWindow --state float &
chunkc tiling::rule --owner \"iTerm2\" --state float &
chunkc tiling::rule --owner \"iTerm2\" --name ".*Preference.*" --state float &
chunkc tiling::rule --owner \"iTerm2\" --name ".*Updating iTerm2.*" --state float &
chunkc tiling::rule --owner \"iTerm2\" --name ".*vadlambp.*" --state tile &
# chunkc tiling::rule --owner \"mpv\" --state tile &
chunkc tiling::rule --owner \"Alfred Preferences\" --state float --grid-layout 4:4:1:1:2:2 &
# chunkc tiling::rule --owner \"Spotify\" --state float &
chunkc tiling::rule --owner \"Microsoft Outlook\" --name ".*Reminder.*" --state float &
chunkc tiling::rule --owner \"Microsoft Outlook\" --name ".*- Inbox.*" --state float &
chunkc tiling::rule --owner \"Battle.net\" --name "Blizzard Battle.net Login" --state float &
chunkc tiling::rule --owner \"Archive Utility\" --state float &
chunkc tiling::rule --owner \"Launch Application\" --state float &
chunkc tiling::rule --owner \"Trash\" --state float &
chunkc tiling::rule --owner \"QuickTime Player\" --state float &
chunkc tiling::rule --owner \"GitHub Desktop\" --state float --grid-layout 1:1:0:0:1:1 &
chunkc tiling::rule --owner \"GitUp\" --state float --grid-layout 1:1:0:0:1:1 &
chunkc tiling::rule --owner \"PrinterProxy\" --name ".*Love Field.*" --state float &
chunkc tiling::rule --owner \"Cisco AnyConnect Secure Mobility Client\" --state float --grid-layout 20:20:8:8:3:3 &
chunkc tiling::rule --owner \"Passcode\" --state float --grid-layout 25:25:7:11:2:2 &
chunkc tiling::rule --owner \"Messages\" --name ".*Messages.*" --state float --grid-layout 40:40:15:4:8:32 &
chunkc tiling::rule --owner \"Dictionary\" --name ".*Dictionary.*" --state float --grid-layout 40:40:10:4:20:32 &
chunkc tiling::rule --owner \"WebStorm\" --name ".*New File.*" --state float &
chunkc tiling::rule --owner \"WebStorm\" --name ".*Add File to Git.*" --state float &
chunkc tiling::rule --owner \"WebStorm\" --name ".*Rename.*" --state float &
chunkc tiling::rule --owner \"LuLu Helper\" --name ".*LuLu Alert.*" --state float &
chunkc tiling::rule --owner \"DeepL\" --state float --grid-layout 50:50:13:5:24:40 &