atagen

monolith

public
Star0
Watch0
3c7b8405eb7da007480cf7f845452f66a0bbcfca
1
ssh://brewery@pls.lobotomise.me:33/atagen/monolith.git
crates/config/default.tomlToml174 lines5.5 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
36
[output]
37
# Variable refresh rate on outputs that support it, off, on, or fullscreen.
38
vrr = "fullscreen"
39
40
# Per connector. transform and position follow a reload, mode needs a replug.
41
# transform is normal, 90, 180, 270, flipped, flipped-90, flipped-180 or
42
# flipped-270. Outputs without a position line up left to right.
43
# [output.DP-1]
44
# transform = "90"
45
# position = [2560, 0]
46
# mode = "1920x1080@60"
47
48
[animation]
49
enabled = true
50
# orthogonal moves each window along one axis per phase, direct allows both.
51
style = "orthogonal"
52
phase_ms = 160
53
curve = [0.45, 0.0, 0.2, 1.0]
54
55
[idle]
56
# Seconds without input before every output is switched off, any input
57
# switches them back on. 0 never blanks. Windows holding an idle inhibitor
58
# keep the screen on while they are shown.
59
blank_after = 0
60
61
[lid]
62
# What closing the lid does, suspend, poweroff or ignore. The internal panel
63
# (eDP, LVDS) switches off whenever the lid is closed and another output is
64
# connected, and then neither suspend nor poweroff happens. Without a
65
# handle-lid-switch inhibitor, logind still acts on the lid itself, so set
66
# HandleLidSwitch=ignore there for ignore to mean anything.
67
close = "suspend"
68
69
[keyboard]
70
layout = ""
71
repeat_delay = 200
72
repeat_rate = 25
73
74
# libinput settings, bare metal only. Anything left out keeps the device's
75
# own default, and options a device lacks are skipped. Touchpads are devices
76
# that can tap, every other pointing device takes [input.pointer].
77
#
78
# accel_profile    flat, adaptive or custom
79
# accel_speed      -1 to 1
80
# accel_points     the custom profile's curve, pointer speed at 0, accel_step,
81
# accel_step       2 * accel_step and so on, in device units per millisecond
82
# natural_scroll, left_handed, tap, tap_drag, tap_drag_lock, dwt (disable
83
# while typing), middle_emulation   true or false
84
# scroll_method    none, two-finger, edge or on-button-down
85
# scroll_button    the evdev code of the on-button-down button, 274 for middle
86
# click_method     button-areas or clickfinger
87
# scroll_factor    multiplies scroll distance, applied by monolith
88
[input.pointer]
89
90
[input.touchpad]
91
# tap = true
92
# natural_scroll = true
93
94
# Per device, by the name `libinput list-devices` shows, over its kind's settings.
95
# Later entries win.
96
# [[input.device]]
97
# name = "Logitech G502"
98
# accel_profile = "flat"
99
# accel_speed = -0.3
100
101
# Each value is a command in word form, or an argv-style list.
102
[binds]
103
"Mod+Return" = "spawn beer"
104
"Mod+q" = "close"
105
"Mod+Shift+e" = "quit"
106
"Mod+Shift+r" = "reload"
107
108
"Mod+h" = "focus left"
109
"Mod+j" = "focus down"
110
"Mod+k" = "focus up"
111
"Mod+l" = "focus right"
112
"Mod+Shift+h" = "move left"
113
"Mod+Shift+j" = "move down"
114
"Mod+Shift+k" = "move up"
115
"Mod+Shift+l" = "move right"
116
"Mod+Ctrl+h" = "move-container left"
117
"Mod+Ctrl+j" = "move-container down"
118
"Mod+Ctrl+k" = "move-container up"
119
"Mod+Ctrl+l" = "move-container right"
120
"Mod+m" = "invert-move"
121
"Mod+Alt+h" = "resize horizontal -0.05"
122
"Mod+Alt+l" = "resize horizontal 0.05"
123
"Mod+Alt+k" = "resize vertical -0.05"
124
"Mod+Alt+j" = "resize vertical 0.05"
125
126
"Mod+e" = "expand window"
127
"Mod+Shift+w" = "expand container"
128
"Mod+w" = "maximize"
129
"Mod+o" = "flip"
130
"Mod+f" = "fullscreen"
131
"Mod+Shift+space" = "float"
132
"Mod+s" = "sticky"
133
134
"Mod+comma" = "focus-output left"
135
"Mod+period" = "focus-output right"
136
"Mod+Shift+comma" = "send-to-output left"
137
"Mod+Shift+period" = "send-to-output right"
138
139
"Mod+grave" = "summon term"
140
"Mod+Shift+grave" = "scratchpad term"
141
"Mod+Escape" = "dismiss"
142
143
"Mod+1" = "view 1"
144
"Mod+2" = "view 2"
145
"Mod+3" = "view 3"
146
"Mod+4" = "view 4"
147
"Mod+5" = "view 5"
148
"Mod+6" = "view 6"
149
"Mod+7" = "view 7"
150
"Mod+8" = "view 8"
151
"Mod+9" = "view 9"
152
"Mod+Ctrl+1" = "toggle-view 1"
153
"Mod+Ctrl+2" = "toggle-view 2"
154
"Mod+Ctrl+3" = "toggle-view 3"
155
"Mod+Ctrl+4" = "toggle-view 4"
156
"Mod+Ctrl+5" = "toggle-view 5"
157
"Mod+Ctrl+6" = "toggle-view 6"
158
"Mod+Ctrl+7" = "toggle-view 7"
159
"Mod+Ctrl+8" = "toggle-view 8"
160
"Mod+Ctrl+9" = "toggle-view 9"
161
"Mod+Shift+1" = "tag 1"
162
"Mod+Shift+2" = "tag 2"
163
"Mod+Shift+3" = "tag 3"
164
"Mod+Shift+4" = "tag 4"
165
"Mod+Shift+5" = "tag 5"
166
"Mod+Shift+6" = "tag 6"
167
"Mod+Shift+7" = "tag 7"
168
"Mod+Shift+8" = "tag 8"
169
"Mod+Shift+9" = "tag 9"
170
171
# Rules match app_id and title by regex, later rules overriding earlier ones.
172
# [[rules]]
173
# app_id = "^pavucontrol$"
174
# floating = true