-
Notifications
You must be signed in to change notification settings - Fork 534
Expand file tree
/
Copy pathexample.toml
More file actions
435 lines (370 loc) · 20.9 KB
/
example.toml
File metadata and controls
435 lines (370 loc) · 20.9 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# Noctalia configuration — all settings at their defaults.
# Copy to ~/.config/noctalia/config.toml and edit what you need.
# Most changes are hot-reloaded via inotify; startup-only settings are noted inline.
# ── Shell ─────────────────────────────────────────────────────────────────────
[shell]
ui_scale = 1.0
corner_radius_scale = 1.0 # 0 = square, 1 = default, 2 = extra rounded
font_family = "sans-serif"
time_format = "{:%H:%M}" # default shell UI time format
date_format = "%A, %x" # default shell UI date format
offline_mode = false # block all outgoing HTTP when true
telemetry_enabled = false # send an anonymous startup ping
niri_overview_type_to_launch_enabled = false # opt in to type-to-launch from niri overview
polkit_agent = false
password_style = "default" # default | random
settings_show_advanced = false # show advanced settings by default in Settings
middle_click_opens_widget_settings = true # middle-click bar widgets to open their Settings entry
show_location = true # hide weather location text in shell UI when false
# app_icon_colorize = false # recolor application icons across the shell
# app_icon_color = "on_surface" # ColorSpec role or #hex when colorize is enabled
clipboard_enabled = true # false disables clipboard panel, history, and compositor clipboard hooks
clipboard_history_max_entries = 100 # unpinned history cap (10–10000); pinned entries are extra
clipboard_auto_paste = "auto" # off | auto | ctrl_v | ctrl_shift_v | shift_insert
clipboard_image_action_command = "" # image preview action: gimp {path}, or satty -f - via stdin
# IPC example:
# noctalia msg clipboard-clear
shared_gl_context = true # startup-only; false isolates GPU contexts for broken drivers
# lang = "en"
# avatar_path = "~/Pictures/avatar.png"
[shell.animation]
enabled = true
speed = 1.0 # 0.5 = 2× slower, 2.0 = 2× faster
[shell.shadow]
direction = "down" # center, up, down, left, right, up_left, up_right, down_left, down_right
alpha = 0.55 # multiplied by each component's background opacity
[shell.panel]
transparency_mode = "solid" # solid | soft | glass; controls floating/centered opacity and card translucency
borders = true # panel shell outline and in-panel section cards
shadow = true # cast the global [shell.shadow] from panel surfaces
launcher_placement = "centered" # attached | floating | centered
clipboard_placement = "centered" # attached | floating | centered
control_center_placement = "attached" # attached | floating | centered
wallpaper_placement = "attached" # attached | floating | centered
session_placement = "attached" # attached | floating | centered
open_near_click_control_center = false # for attached/floating placement, follow the bar click instead of bar-center
open_near_click_launcher = false # for attached/floating placement, follow the bar click instead of bar-center
open_near_click_clipboard = false # for attached/floating placement, follow the bar click instead of bar-center
open_near_click_wallpaper = false # for attached/floating placement, follow the bar click instead of bar-center
open_near_click_session = false # for attached/floating placement, follow the bar click instead of bar-center
[shell.mpris]
blacklist = [] # ignore MPRIS players by bus/identity/desktop entry token
# ── Wallpaper ─────────────────────────────────────────────────────────────────
[wallpaper]
enabled = true
fill_mode = "crop" # center | crop | fit | stretch | repeat
fill_color = "" # optional fallback/fill color: prefer a color role token; fixed hex also works
transition = ["fade", "wipe", "disc", "stripes", "zoom", "honeycomb"]
transition_duration = 1500 # milliseconds
edge_smoothness = 0.3
transition_on_startup = false # animate the first wallpaper at shell startup (v4-style)
directory = "~/Pictures/Wallpapers"
directory_light = "" # optional day-mode directory
directory_dark = "" # optional night-mode directory
[wallpaper.default]
path = "" # optional initial/default wallpaper path
[wallpaper.automation]
enabled = false
interval_minutes = 0 # 0 = disabled
order = "random" # random | alphabetical
recursive = true # include subdirectories when picking random wallpapers
# ── Theme ─────────────────────────────────────────────────────────────────────
[theme]
mode = "dark" # dark | light | auto
source = "builtin" # builtin | wallpaper | community
builtin = "Noctalia" # Ayu | Catppuccin | Dracula | Eldritch | Gruvbox |
# Kanagawa | Noctalia | Nord | Rosé Pine | Tokyo-Night
# community_palette = "Noctalia" # fetched from api.noctalia.dev, cached locally
# wallpaper_scheme = "m3-content" # m3-tonal-spot | m3-content | m3-fruit-salad |
# m3-rainbow | m3-monochrome | vibrant | faithful |
# dysfunctional | muted
[theme.templates]
enable_builtin_templates = true
builtin_ids = [] # opt-in; list ids with: noctalia theme --list-templates
enable_community_templates = true
community_ids = [] # fetched from api.noctalia.dev/templates, cached locally
# User-defined templates are declared directly in config.
# [theme.templates.user.my_app]
# input_path = "templates/my-app.css"
# output_path = "~/.config/my-app/theme.css"
# post_hook = "my-app --reload-theme"
# ── Backdrop ──────────────────────────────────────────────────────────────────
[backdrop]
enabled = false
blur_intensity = 0.5 # 0.0 = no blur, 1.0 = maximum
tint_intensity = 0.3 # 0.0 = no tint, 1.0 = opaque
# ── Notifications ─────────────────────────────────────────────────────────────
[notification]
enable_daemon = true
show_app_name = true
show_actions = true # show action buttons; when false, clicking a toast triggers its default action
layer = "top" # top | overlay
scale = 1.0 # notification size multiplier applied on top of shell.ui_scale
background_opacity = 0.97
offset_x = 20 # absolute horizontal margin from the screen edge
offset_y = 8 # absolute vertical margin from the screen edge
# blacklist = ["discord", "org.telegram.desktop"]
# blacklist_allow_critical = true
# allowed_urgencies = ["normal", "critical"] # omit or list all three to allow every level
# IPC examples:
# noctalia msg notification-clear-active
# noctalia msg notification-clear-history
# ── OSD ───────────────────────────────────────────────────────────────────────
[osd]
position = "top_right" # top_right | top_left | top_center | bottom_right | bottom_left | bottom_center | center_right | center_left
orientation = "horizontal" # horizontal | vertical
scale = 1.0 # OSD size multiplier applied on top of shell.ui_scale
background_opacity = 0.97 # background opacity of OSD popups
offset_x = 20 # absolute horizontal margin from the screen edge
offset_y = 8 # absolute vertical margin from the screen edge
# monitors = ["DP-1"] # connector names; omit or leave empty for all monitors
[osd.kinds]
volume = true # master volume OSD toggle
volume_output = true # output (speaker) volume; requires volume = true
volume_input = true # input (microphone) volume; requires volume = true
brightness = true # display brightness changes
wifi = true # Wi-Fi toggle
bluetooth = true # Bluetooth toggle
power_profile = true # power profile changes
caffeine = true # idle inhibitor (caffeine) toggle
dnd = true # Do Not Disturb toggle
lock_keys = true # Caps/Num/Scroll Lock changes; disable to stop polling when no widget uses them
keyboard_layout = true # input keyboard layout changes
# ── Lock Screen ───────────────────────────────────────────────────────────────
[lockscreen]
enabled = true
blurred_desktop = false # use a desktop snapshot as the lock screen background (requires wlr-screencopy)
blur_intensity = 0.5 # lock screen background blur (0.0 = none, 1.0 = maximum)
tint_intensity = 0.3 # surface-color tint over the lock screen background
# wallpaper = "" # optional image path for the lock screen; empty uses the desktop wallpaper
# monitors = ["DP-1"] # connectors that show the lock screen; empty shows all monitors, others stay black
# ── System Monitor ────────────────────────────────────────────────────────────
[system.monitor]
enabled = true # sample CPU, memory, network, load, temperature, GPU VRAM, and disk statistics
cpu_poll_seconds = 2.0 # CPU usage, CPU temperature, and load average
gpu_poll_seconds = 5.0 # GPU temperature and VRAM usage
memory_poll_seconds = 2.0 # RAM usage
network_poll_seconds = 3.0 # network throughput
disk_poll_seconds = 10.0 # disk usage and swap usage; graph widgets use the fastest poll above
# ── Weather ───────────────────────────────────────────────────────────────────
[weather]
enabled = false
refresh_minutes = 30
unit = "celsius" # celsius | fahrenheit
effects = true # visual weather effects
# Weather uses the coordinates resolved by [location] (see below).
# ── Audio ─────────────────────────────────────────────────────────────────────
[audio]
enable_overdrive = false # allow volume above 100% (up to 150%)
enable_sounds = false # master toggle for UI feedback sounds
sound_volume = 0.5 # 0.0 - 1.0
volume_change_sound = "" # empty = bundled sounds/volume-change.wav
notification_sound = "" # empty = bundled sounds/notification.wav
# ── Brightness ────────────────────────────────────────────────────────────────
[brightness]
enable_ddcutil = false
# ignore_mmids = [] # skip these monitors from ddcutil; run: ddcutil --verbose detect
# Per-monitor backend override:
# [brightness.monitor.eDP-1]
# backend = "backlight" # auto | none | backlight | ddcutil
# [brightness.monitor.DP-1]
# backend = "ddcutil"
# ── Night Light ───────────────────────────────────────────────────────────────
[nightlight]
enabled = false
force = false
temperature_day = 6500 # Kelvin
temperature_night = 4000 # Kelvin
# ── Location ──────────────────────────────────────────────────────────────────
# Single source of "where am I"; feeds Weather, Night Light, and Theme auto mode.
# Resolution priority: auto_locate (IP) → address → latitude/longitude → sunset/sunrise.
[location]
auto_locate = false # resolve coordinates from IP when true
address = "" # e.g. "Toronto, ON"; geocoded when auto_locate = false
# sunset = "20:30" # HH:MM — fixed night start, used only when no coordinates resolve
# sunrise = "07:30" # HH:MM — fixed day start, used only when no coordinates resolve
# latitude = 52.5200 # manual coordinates, used when auto_locate and address are off
# longitude = 13.4050
# ── Idle ──────────────────────────────────────────────────────────────────────
# Optional `[idle]` keys:
# pre_action_fade_seconds — fade a fullscreen surface-color overlay in over this many seconds, then run `command`.
# Use 0 for immediate commands with no overlay. Input during the fade cancels.
# [idle]
# pre_action_fade_seconds = 2.0
[idle.behavior.lock]
timeout = 600
command = "noctalia:session lock"
enabled = false
[idle.behavior.screen-off]
timeout = 660
command = "noctalia:dpms-off"
resume_command = "noctalia:dpms-on"
enabled = false
# ── Keybinds ──────────────────────────────────────────────────────────────────
[keybinds]
validate = ["return", "kp_enter"]
cancel = ["escape"]
left = ["left"]
right = ["right"]
up = ["up"]
down = ["down"]
# ── Bar ───────────────────────────────────────────────────────────────────────
[bar.main]
position = "top" # top | bottom | left | right
thickness = 34
background_opacity = 1.0
radius = 12
margin_h = 180
margin_v = 10
padding = 14
widget_spacing = 6
scale = 1.0
shadow = true
auto_hide = false
reserve_space = true
capsule = false
# capsule_fill = "surface_variant"
# capsule_radius = 8.0 # omit/blank in Settings for automatic pill radius; 0.0 = square
# capsule_opacity = 1.0
# capsule_border = "outline" # uncomment for a border on all widgets
start = ["launcher", "wallpaper", "workspaces"]
center = ["clock"]
end = ["media", "tray", "notifications", "clipboard", "network", "bluetooth", "volume", "brightness", "battery", "control-center", "session"]
# Per-monitor override example — only the fields you list are overridden:
# [bar.main.monitor.dp1]
# match = "DP-1"
# thickness = 44
# ── Dock ──────────────────────────────────────────────────────────────────────
[dock]
enabled = false # set true to activate
position = "bottom" # top | bottom | left | right
icon_size = 48
main_axis_padding = 16
cross_axis_padding = 8
item_spacing = 6
background_opacity = 0.88
radius = 16
radius_top_left = 16
radius_top_right = 16
radius_bottom_left = 16
radius_bottom_right = 16
margin_h = 0
margin_v = 8
shadow = true
show_running = true
auto_hide = false
reserve_space = true
active_scale = 1.0
inactive_scale = 0.85
magnification = true
magnification_scale = 1.45
active_opacity = 1.0
inactive_opacity = 0.85
show_dots = false
show_instance_count = true
launcher_position = "none" # none | start | end
launcher_icon = "grid-dots" # Tabler glyph name
active_monitor_only = false
pinned = [] # e.g. ["firefox", "code", "kitty"]
# ── Desktop Widgets ───────────────────────────────────────────────────────────
[desktop_widgets]
enabled = false
# When set, widget_order is the active widget list and stacking order.
# widget_order = ["clock_main"]
# [desktop_widgets.grid]
# visible = true
# cell_size = 16
# major_interval = 4
# center_guides_visible = false
# snap_to_center = true
# [desktop_widgets.widget.clock_main]
# type = "clock"
# output = "DP-1"
# cx = 960.0
# cy = 540.0
# scale = 1.5
# rotation = 0.0
# [desktop_widgets.widget.clock_main.settings]
# format = "{:%H:%M}"
# background_opacity = 0.8
# [lockscreen_widgets]
# enabled = false
# widget_order = ["clock_main"]
# [lockscreen_widgets.widget.clock_main]
# type = "clock"
# output = "DP-1"
# cx = 1600.0
# cy = 120.0
# scale = 1.5
# rotation = 0.0
# [lockscreen_widgets.widget.clock_main.settings]
# format = "{:%H:%M}"
# background_opacity = 0.8
# ── Control Center ────────────────────────────────────────────────────────────
# Shortcut buttons shown on the right side of the dashboard (up to 6).
# [[control_center.shortcuts]]
# type = "wifi"
# [[control_center.shortcuts]]
# type = "bluetooth"
# [[control_center.shortcuts]]
# type = "nightlight"
# [[control_center.shortcuts]]
# type = "notification"
# [[control_center.shortcuts]]
# type = "wallpaper"
# [[control_center.shortcuts]]
# type = "screen_recorder"
# [[control_center.shortcuts]]
# type = "session"
# ── Hooks ─────────────────────────────────────────────────────────────────────
[hooks]
battery_low_percent_threshold = 0 # set to e.g. 15 to enable battery_under_threshold hook
# started = "notify-send 'Noctalia' 'Shell started'"
# wallpaper_changed = []
# colors_changed = []
# theme_mode_changed = "notify-send 'Noctalia' \"Theme mode: $NOCTALIA_THEME_MODE\""
# session_locked = []
# session_unlocked = []
# logging_out = []
# rebooting = []
# shutting_down = []
# wifi_enabled = []
# wifi_disabled = []
# bluetooth_enabled = []
# bluetooth_disabled = []
# battery_state_changed = "notify-send 'Power' \"Battery: $NOCTALIA_BATTERY_STATE\""
# battery_under_threshold = "notify-send 'Power' \"Battery at ${NOCTALIA_BATTERY_PERCENT}%\""
# power_profile_changed = "notify-send 'Power' \"Profile: $NOCTALIA_POWER_PROFILE\""
# [widget.launcher]
# custom_image = "/path/to/image.png"
# custom_image_colorize = false
# [widget.control-center]
# custom_image = "/path/to/image.png"
# custom_image_colorize = false
# [widget.notifications]
# hide_when_no_unread = true
# [widget.keyboard_layout]
# display = "short" # "short" (e.g. "DE") or "full" (full layout name)
# show_icon = true
# show_label = true
# hide_when_single_layout = false # hide the widget when only one layout is configured
# cycle_command = "" # custom command to cycle layouts (empty = compositor backend)
# [widget.keyboard_layout.custom_labels] # override display labels by exact layout name
# "German (Neo 2)" = "Neo2"
# "English (US)" = "EN"
# [widget.lock_button]
# type = "custom_button"
# glyph = "lock"
# tooltip = "Lock screen"
# command = "noctalia:session lock"
# right_command = ""
# middle_command = ""
# scroll_up_command = ""
# scroll_down_command = ""
#
# [widget.clock]
# format = "{:%H:%M}\n{:%d/%m}"
# vertical_format = "{:%H\n%M}"
# tooltip_format = "{:%A, %B %d, %Y}"
# scale = 1.0 # multiplies the bar scale for this widget only
# font_weight = 700