Skip to content

Commit 4f1a081

Browse files
committed
update chunkwmrc
1 parent a74e510 commit 4f1a081

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

chunkwm/chunkwmrc

+24-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
#!/bin/bash
22

3+
#
4+
# NOTE: specify the absolutepath of the file to use for logging.
5+
# 'stdout' and 'stderr' are valid values.
6+
#
7+
8+
# chunkc core::log_file ~/.chunkwm_log
9+
chunkc core::log_file stdout
10+
311
#
412
# NOTE: specify the desired level of logging.
513
#
614
# - none, debug, warn, error
715
#
816

9-
chunkc core::log_level warn
17+
chunkc core::log_level debug
1018

1119
#
1220
# NOTE: specify the absolutepath to the directory to use when
@@ -30,7 +38,7 @@ chunkc set global_desktop_mode bsp
3038
chunkc set 2_desktop_mode monocle
3139
chunkc set 5_desktop_mode float
3240

33-
chunkc set 1_desktop_tree ~/.chunkwm_layouts/dev_1
41+
# chunkc set 1_desktop_tree ~/.chunkwm_layouts/test_1
3442

3543
chunkc set global_desktop_offset_top 40
3644
chunkc set global_desktop_offset_bottom 40
@@ -59,11 +67,9 @@ chunkc set mouse_follows_focus intrinsic
5967
chunkc set window_float_next 0
6068
chunkc set window_region_locked 1
6169

62-
#
63-
# NOTE: shell commands require escaped quotes
64-
# to pass value containing a whitespace.
65-
#
66-
chunkc set mouse_modifier \"cmd shift\"
70+
chunkc set mouse_move_window \"shift 1\"
71+
chunkc set mouse_resize_window \"ctrl shift 1\"
72+
chunkc set mouse_motion_interval 35
6773

6874
chunkc set preselect_border_color 0xffd75f5f
6975
chunkc set preselect_border_width 5
@@ -78,7 +84,7 @@ chunkc set window_float_topmost 0
7884
chunkc set window_fade_inactive 0
7985
chunkc set window_fade_alpha 0.85
8086
chunkc set window_fade_duration 0.25
81-
chunkc set window_use_cgs_move 1
87+
chunkc set window_use_cgs_move 0
8288

8389
#
8490
# NOTE: the following are config variables for the chunkwm-border plugin.
@@ -89,25 +95,31 @@ chunkc set focused_border_width 5
8995
chunkc set focused_border_radius 0
9096
chunkc set focused_border_skip_floating 0
9197

98+
#
99+
# NOTE: the following are config variables for the chunkwm-ffm plugin.
100+
#
101+
102+
chunkc set ffm_bypass_modifier \"cmd shift\"
103+
92104
#
93105
# NOTE: specify plugins to load when chunkwm starts.
94106
# if chunkc plugin_dir is not set, the absolutepath is necessary.
95107
#
96108

97109
chunkc core::load border.so
98-
chunkc core::load tiling.so
99110
chunkc core::load ffm.so
100111
chunkc core::load purify.so
112+
chunkc core::load tiling.so
101113

102114
#
103-
# NOTE: shell commands require escaped quotes
104-
# to pass value containing a whitespace.
115+
# NOTE: sample rules for the tiling plugin
105116
#
106117

107118
chunkc tiling::rule --owner mpv --state float
108119
chunkc tiling::rule --owner kitty --role AXWindow --subrole AXDialog --state tile
109-
chunkc tiling::rule --owner Spotify --role AXWindow --subrole AXDialog --state tile
110120
chunkc tiling::rule --owner Finder --name Copy --state float
111121
chunkc tiling::rule --owner \"App Store\" --state float
122+
chunkc tiling::rule --owner Spotify --desktop 5 --follow-desktop
123+
chunkc tiling::rule --owner Steam --desktop 5 --follow-desktop
112124

113125
dock-inject

0 commit comments

Comments
 (0)