-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkwmrc
69 lines (51 loc) · 1.82 KB
/
kwmrc
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
# ---------- Settings
# Set default values for screen padding
kwmc config padding 40 30 30 30
# Set default values for container gaps
kwmc config gap 20 20
# Default tiling mode for Kwm (bsp | monocle | float | off)
kwmc config tiling bsp
# Let Kwm listen for hotkeys
kwmc config hotkeys on
# Automatically float windows that fail to resize
kwmc config float-non-resizable on
# Automatically resize the window to its container
#kwmc config lock-to-container on
# Set focus-follows-mouse-mode to autoraise
config add-role AXWindow Emacs
kwmc rule owner="Emacs" properties={role="AXStandardWindow"}
kwmc rule owner="iTerm2" properties={role="AXDialog"}
kwmc config float-non-resizable on
kwmc config standby-on-float on
# kwmc config center-on-float on
# kwmc config mouse-follows-focus on
kwmc config focus-follows-mouse off
# Focus-follows-mouse is temporarily disabled when
# a floating window has focus
kwmc config standby-on-float on
# The mouse will automatically move to the center
# of the focused window
kwmc config mouse-follows-focus on
kwmc config mouse-drag on
# The modifier keys to be held down to initiate mouse-drag
kwmc config mouse-drag mod shift+ctrl
# Allow window focus to wrap-around
kwmc config cycle-focus screen
# Set default container split-ratio
kwmc config optimal-ratio 1
kwmc config split-ratio 0.5
# New splits become the left leaf-node
kwmc config spawn right
# Enable border for focused window
kwmc config border focused on
kwmc config border focused size 2
kwmc config border focused color 0xFFebdbb2
kwmc config border focused radius 5
# Enable border for marked window
kwmc config border marked on
kwmc config border marked size 2
kwmc config border marked color 0xFFebdbb2
kwmc config border marked radius 5
# Laptop (screen 0) overrides
kwmc config display 0 padding 0 0 0 0
kwmc config display 0 gap 0 0