atagen

monolith

public
Star0
Watch0
61ebcd0a36196b7e1616415c70f6177e1d24896c
1
ssh://brewery@pls.lobotomise.me:33/atagen/monolith.git
crates/config/default.tomlToml182 lines5.8 KB
1
# monolith's built-in config, used when ~/.config/monolith/config.toml is
2
# missing. Copy it there to change anything.
3
4
# Programs started with the compositor, each an argv list.
5
startup = []
6
7
[general]
8
# What Mod means in binds. Use alt when nesting inside a compositor that
9
# keeps super for itself.
10
mod = "super"
11
gaps = { inner = 8, outer = 8 }
12
# A new window splits the one it opens beside along that window's longer side,
13
# so windows dwindle. When off it joins the container of that window instead.
14
autotile = true
15
# What a window move does when it meets a neighbour. swap trades places,
16
# merge joins its lane. invert-move does the other one for the next move.
17
move = "swap"
18
# Focus whatever window the pointer moves onto.
19
focus_follows_mouse = false
20
# Put the pointer in the middle of a window focused from the keyboard, a
21
# rule or a new map. Bare metal only, a nested pointer belongs to the host.
22
mouse_follows_focus = false
23
# A window landing on, or moved to, a tag or output where its tag is empty and
24
# not in view brings the tag into view there, alongside the tags already shown.
25
view_tag_on_first_window = true
26
27
[decoration]
28
# Borders sit in the gap around each window, so keep them under half the inner gap.
29
border = 2
30
# Corner radius, one number or [top left, top right, bottom right, bottom left].
31
# Fullscreen windows stay square.
32
radius = 0
33
focused = "#88bfd1"
34
unfocused = "#3b4252"
35
# A window asking for attention that is not focused.
36
urgent = "#ebcb8b"
37
38
[output]
39
# Variable refresh rate on outputs that support it, off, on, or fullscreen.
40
vrr = "fullscreen"
41
42
# Per connector. transform and position follow a reload, mode needs a replug.
43
# transform is normal, 90, 180, 270, flipped, flipped-90, flipped-180 or
44
# flipped-270. Outputs without a position line up left to right.
45
# [output.DP-1]
46
# transform = "90"
47
# position = [2560, 0]
48
# mode = "1920x1080@60"
49
50
[animation]
51
enabled = true
52
# orthogonal moves each window along one axis per phase, direct allows both.
53
style = "orthogonal"
54
phase_ms = 160
55
curve = [0.45, 0.0, 0.2, 1.0]
56
57
[idle]
58
# Seconds without input before every output is switched off, any input
59
# switches them back on. 0 never blanks. Windows holding an idle inhibitor
60
# keep the screen on while they are shown.
61
blank_after = 0
62
63
[lid]
64
# What closing the lid does, suspend, poweroff or ignore. The internal panel
65
# (eDP, LVDS) switches off whenever the lid is closed and another output is
66
# connected, and then neither suspend nor poweroff happens. Without a
67
# handle-lid-switch inhibitor, logind still acts on the lid itself, so set
68
# HandleLidSwitch=ignore there for ignore to mean anything.
69
close = "suspend"
70
71
[keyboard]
72
layout = ""
73
repeat_delay = 200
74
repeat_rate = 25
75
76
[xwayland]
77
# Which X11 clients may read a Wayland-owned clipboard or primary selection.
78
# focused allows only the window holding keyboard focus, any allows every X11
79
# client, which clipboard managers and headless xclip need.
80
selection_access = "focused"
81
82
# libinput settings, bare metal only. Anything left out keeps the device's
83
# own default, and options a device lacks are skipped. Touchpads are devices
84
# that can tap, every other pointing device takes [input.pointer].
85
#
86
# accel_profile    flat, adaptive or custom
87
# accel_speed      -1 to 1
88
# accel_points     the custom profile's curve, pointer speed at 0, accel_step,
89
# accel_step       2 * accel_step and so on, in device units per millisecond
90
# natural_scroll, left_handed, tap, tap_drag, tap_drag_lock, dwt (disable
91
# while typing), middle_emulation   true or false
92
# scroll_method    none, two-finger, edge or on-button-down
93
# scroll_button    the evdev code of the on-button-down button, 274 for middle
94
# click_method     button-areas or clickfinger
95
# scroll_factor    multiplies scroll distance, applied by monolith
96
[input.pointer]
97
98
[input.touchpad]
99
# tap = true
100
# natural_scroll = true
101
102
# Per device, by the name `libinput list-devices` shows, over its kind's settings.
103
# Later entries win.
104
# [[input.device]]
105
# name = "Logitech G502"
106
# accel_profile = "flat"
107
# accel_speed = -0.3
108
109
# Each value is a command in word form, or an argv-style list.
110
[binds]
111
"Mod+Return" = "spawn beer"
112
"Mod+q" = "close"
113
"Mod+Shift+e" = "quit"
114
"Mod+Shift+r" = "reload"
115
116
"Mod+h" = "focus left"
117
"Mod+j" = "focus down"
118
"Mod+k" = "focus up"
119
"Mod+l" = "focus right"
120
"Mod+Shift+h" = "move left"
121
"Mod+Shift+j" = "move down"
122
"Mod+Shift+k" = "move up"
123
"Mod+Shift+l" = "move right"
124
"Mod+Ctrl+h" = "move-container left"
125
"Mod+Ctrl+j" = "move-container down"
126
"Mod+Ctrl+k" = "move-container up"
127
"Mod+Ctrl+l" = "move-container right"
128
"Mod+m" = "invert-move"
129
"Mod+Alt+h" = "resize horizontal -0.05"
130
"Mod+Alt+l" = "resize horizontal 0.05"
131
"Mod+Alt+k" = "resize vertical -0.05"
132
"Mod+Alt+j" = "resize vertical 0.05"
133
134
"Mod+e" = "expand window"
135
"Mod+Shift+w" = "expand container"
136
"Mod+w" = "maximize"
137
"Mod+o" = "flip"
138
"Mod+f" = "fullscreen"
139
"Mod+Shift+space" = "float"
140
"Mod+s" = "sticky"
141
142
"Mod+comma" = "focus-output left"
143
"Mod+period" = "focus-output right"
144
"Mod+Shift+comma" = "send-to-output left"
145
"Mod+Shift+period" = "send-to-output right"
146
147
"Mod+grave" = "summon term"
148
"Mod+Shift+grave" = "scratchpad term"
149
"Mod+Escape" = "dismiss"
150
151
"Mod+1" = "view 1"
152
"Mod+2" = "view 2"
153
"Mod+3" = "view 3"
154
"Mod+4" = "view 4"
155
"Mod+5" = "view 5"
156
"Mod+6" = "view 6"
157
"Mod+7" = "view 7"
158
"Mod+8" = "view 8"
159
"Mod+9" = "view 9"
160
"Mod+Ctrl+1" = "toggle-view 1"
161
"Mod+Ctrl+2" = "toggle-view 2"
162
"Mod+Ctrl+3" = "toggle-view 3"
163
"Mod+Ctrl+4" = "toggle-view 4"
164
"Mod+Ctrl+5" = "toggle-view 5"
165
"Mod+Ctrl+6" = "toggle-view 6"
166
"Mod+Ctrl+7" = "toggle-view 7"
167
"Mod+Ctrl+8" = "toggle-view 8"
168
"Mod+Ctrl+9" = "toggle-view 9"
169
"Mod+Shift+1" = "tag 1"
170
"Mod+Shift+2" = "tag 2"
171
"Mod+Shift+3" = "tag 3"
172
"Mod+Shift+4" = "tag 4"
173
"Mod+Shift+5" = "tag 5"
174
"Mod+Shift+6" = "tag 6"
175
"Mod+Shift+7" = "tag 7"
176
"Mod+Shift+8" = "tag 8"
177
"Mod+Shift+9" = "tag 9"
178
179
# Rules match app_id and title by regex, later rules overriding earlier ones.
180
# [[rules]]
181
# app_id = "^pavucontrol$"
182
# floating = true