1
1
#! /bin/bash
2
2
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
+
3
11
#
4
12
# NOTE: specify the desired level of logging.
5
13
#
6
14
# - none, debug, warn, error
7
15
#
8
16
9
- chunkc core::log_level warn
17
+ chunkc core::log_level debug
10
18
11
19
#
12
20
# NOTE: specify the absolutepath to the directory to use when
@@ -30,7 +38,7 @@ chunkc set global_desktop_mode bsp
30
38
chunkc set 2_desktop_mode monocle
31
39
chunkc set 5_desktop_mode float
32
40
33
- chunkc set 1_desktop_tree ~ /.chunkwm_layouts/dev_1
41
+ # chunkc set 1_desktop_tree ~/.chunkwm_layouts/test_1
34
42
35
43
chunkc set global_desktop_offset_top 40
36
44
chunkc set global_desktop_offset_bottom 40
@@ -59,11 +67,9 @@ chunkc set mouse_follows_focus intrinsic
59
67
chunkc set window_float_next 0
60
68
chunkc set window_region_locked 1
61
69
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
67
73
68
74
chunkc set preselect_border_color 0xffd75f5f
69
75
chunkc set preselect_border_width 5
@@ -78,7 +84,7 @@ chunkc set window_float_topmost 0
78
84
chunkc set window_fade_inactive 0
79
85
chunkc set window_fade_alpha 0.85
80
86
chunkc set window_fade_duration 0.25
81
- chunkc set window_use_cgs_move 1
87
+ chunkc set window_use_cgs_move 0
82
88
83
89
#
84
90
# NOTE: the following are config variables for the chunkwm-border plugin.
@@ -89,25 +95,31 @@ chunkc set focused_border_width 5
89
95
chunkc set focused_border_radius 0
90
96
chunkc set focused_border_skip_floating 0
91
97
98
+ #
99
+ # NOTE: the following are config variables for the chunkwm-ffm plugin.
100
+ #
101
+
102
+ chunkc set ffm_bypass_modifier \" cmd shift\"
103
+
92
104
#
93
105
# NOTE: specify plugins to load when chunkwm starts.
94
106
# if chunkc plugin_dir is not set, the absolutepath is necessary.
95
107
#
96
108
97
109
chunkc core::load border.so
98
- chunkc core::load tiling.so
99
110
chunkc core::load ffm.so
100
111
chunkc core::load purify.so
112
+ chunkc core::load tiling.so
101
113
102
114
#
103
- # NOTE: shell commands require escaped quotes
104
- # to pass value containing a whitespace.
115
+ # NOTE: sample rules for the tiling plugin
105
116
#
106
117
107
118
chunkc tiling::rule --owner mpv --state float
108
119
chunkc tiling::rule --owner kitty --role AXWindow --subrole AXDialog --state tile
109
- chunkc tiling::rule --owner Spotify --role AXWindow --subrole AXDialog --state tile
110
120
chunkc tiling::rule --owner Finder --name Copy --state float
111
121
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
112
124
113
125
dock-inject
0 commit comments