noctalia: migrate to noctalia v5

This commit is contained in:
2026-08-28 14:25:36 +08:00
parent 527812781f
commit 7c37843808
21 changed files with 342 additions and 219 deletions
@@ -0,0 +1,2 @@
[accessibility]
ui_scale = 1
+14
View File
@@ -0,0 +1,14 @@
[bar.main]
capsule = false
capsule_thickness = 0.75
center = ["media"]
end = ["notifications", "Spacer-12", "tray", "Spacer-12", "output_volume", "input_volume"]
font_family = "monospace"
margin_edge = 6
margin_ends = 10
padding = 12
position = "top"
radius = 16
scale = 1.1
shadow = false
start = ["control-center", "Spacer-12", "clock", "Spacer-12", "sysmon_cpu", "sysmon_ram", "battery", "Spacer-12", "workspaces"]
@@ -0,0 +1,4 @@
[control_center]
hidden_tabs = ["weather"]
shortcuts = []
show_shortcut_labels = false
@@ -0,0 +1,10 @@
[desktop_widgets]
schema_version = 2
widget_order = []
[desktop_widgets.grid]
cell_size = 16
major_interval = 4
visible = true
[desktop_widgets.widget]
@@ -0,0 +1,2 @@
[dock]
enabled = false
@@ -0,0 +1,7 @@
[hot_corners]
delay_ms = 200
enabled = true
[hot_corners.top_left]
action = "command"
command = "niri msg action toggle-overview"
@@ -0,0 +1,17 @@
[idle]
behavior_order = ["lock", "screen-off", "lock-and-suspend"]
[idle.behavior.lock]
action = "lock"
enabled = true
timeout = 300.0
[idle.behavior.lock-and-suspend]
action = "lock_and_suspend"
enabled = false
timeout = 900.0
[idle.behavior.screen-off]
action = "screen_off"
enabled = true
timeout = 600.0
@@ -0,0 +1,103 @@
[lockscreen]
wallpaper = "~/workspace/nixos-dotfiles/assets/wallpaper.png"
[lockscreen_widgets]
enabled = true
schema_version = 2
widget_order = [
"lockscreen-login-box@DP-1",
"lockscreen-login-box@DP-2",
"lockscreen-widget-clock@DP-1",
"lockscreen-widget-clock@DP-2",
]
[lockscreen_widgets.grid]
cell_size = 16
major_interval = 4
visible = true
[lockscreen_widgets.widget."lockscreen-login-box@DP-1"]
box_height = 70.0
box_width = 400.0
cx = 1024.0
cy = 675.0
output = "DP-1"
placement_height = 1152.0
placement_width = 2048.0
rotation = 0.0
type = "login_box"
[lockscreen_widgets.widget."lockscreen-login-box@DP-1".settings]
background_color = "surface_variant"
background_opacity = 0.88
background_radius = 12.0
center_password_text = false
input_opacity = 1.0
input_radius = 6.0
layout = "compact"
show_caps_lock = true
show_keyboard_layout = false
show_login_button = false
show_media = true
show_session_buttons = true
show_unlock_hint = false
show_weather = true
[lockscreen_widgets.widget."lockscreen-login-box@DP-2"]
box_height = 70.0
box_width = 400.0
cx = 1024.0
cy = 675.0
output = "DP-2"
placement_height = 1152.0
placement_width = 2048.0
rotation = 0.0
type = "login_box"
[lockscreen_widgets.widget."lockscreen-login-box@DP-2".settings]
background_color = "surface_variant"
background_opacity = 0.88
background_radius = 12.0
center_password_text = false
input_opacity = 1.0
input_radius = 6.0
layout = "compact"
show_caps_lock = true
show_keyboard_layout = false
show_login_button = false
show_media = true
show_session_buttons = true
show_unlock_hint = false
show_weather = true
[lockscreen_widgets.widget."lockscreen-widget-clock@DP-1"]
box_height = 144.0
box_width = 240.0
cx = 1024.0
cy = 480.0
output = "DP-1"
placement_height = 1152.0
placement_width = 2048.0
rotation = 0.0
type = "clock"
[lockscreen_widgets.widget."lockscreen-widget-clock@DP-1".settings]
background = false
clock_style = "digital"
format = "{:%H:%M}"
[lockscreen_widgets.widget."lockscreen-widget-clock@DP-2"]
box_height = 144.0
box_width = 240.0
cx = 1024.0
cy = 480.0
output = "DP-2"
placement_height = 1152.0
placement_width = 2048.0
rotation = 0.0
type = "clock"
[lockscreen_widgets.widget."lockscreen-widget-clock@DP-2".settings]
background = false
clock_style = "digital"
format = "{:%H:%M}"
@@ -0,0 +1,2 @@
[notification]
layer = "overlay"
@@ -0,0 +1,6 @@
[osd]
position = "top_center"
[osd.kinds]
keyboard_layout = false
media = false
@@ -0,0 +1,48 @@
{
"dark": {
"mPrimary": "#7aa2f7",
"mOnPrimary": "#16161e",
"mSecondary": "#9a9ef7",
"mOnSecondary": "#16161e",
"mTertiary": "#bb9af7",
"mOnTertiary": "#16161e",
"mError": "#f7768e",
"mOnError": "#16161e",
"mSurface": "#1a1b26",
"mOnSurface": "#c0caf5",
"mSurfaceVariant": "#24283b",
"mOnSurfaceVariant": "#9aa5ce",
"mOutline": "#353d57",
"mShadow": "#15161e",
"mHover": "#bb9af7",
"mOnHover": "#16161e",
"terminal": {
"background": "#1a1b26",
"foreground": "#c0caf5",
"cursor": "#c0caf5",
"cursorText": "#1a1b26",
"selectionFg": "#c0caf5",
"selectionBg": "#283457",
"normal": {
"black": "#16161e",
"red": "#f7768e",
"green": "#9ece6a",
"yellow": "#e0af68",
"blue": "#7aa2f7",
"magenta": "#bb9af7",
"cyan": "#7dcfff",
"white": "#c0caf5"
},
"bright": {
"black": "#1a1b26",
"red": "#ff7a93",
"green": "#b9f27c",
"yellow": "#ffc777",
"blue": "#7da6ff",
"magenta": "#bb9af7",
"cyan": "#89ddff",
"white": "#d5d6e3"
}
}
}
}
@@ -0,0 +1,36 @@
[shell]
avatar_path = "~/workspace/nixos-dotfiles/assets/avatar.jpg"
clipboard_enabled = true
corner_radius_scale = 1.5
date_format = "%Y/%m/%d"
font_family = "monospace"
lang = "en"
launch_apps_as_systemd_services = true
panel_anchor_bar = "main"
polkit_agent = true
screen_time_enabled = true
telemetry_enabled = false
[shell.animation]
speed = 0.8
[shell.launcher]
sort_by_usage = true
[shell.mpris]
blacklist = ["firefox", "chromium", "zen"]
[shell.panel]
borders = false
clipboard_placement = "floating"
control_center_placement = "floating"
launcher_placement = "floating"
open_near_click_control_center = true
session_placement = "floating"
session_position = "center"
shadow = true
transparency_mode = "soft"
wallpaper_placement = "floating"
[shell.shadow]
alpha = 0.0
@@ -0,0 +1,4 @@
[theme]
custom_palette = "TokyoNight"
mode = "dark"
source = "custom"
@@ -0,0 +1,2 @@
[wallpaper]
enabled = false
@@ -0,0 +1,2 @@
[weather]
enabled = false
@@ -0,0 +1,60 @@
[widget.Spacer-12]
length = 12
type = "spacer"
[widget.battery]
scale = 1.2
[widget.classic-media]
show_progress = false
[widget.clock]
format = "{:%H:%M %m/%d}"
scale = 0.9
[widget.control-center]
custom_image = "/run/current-system/sw/share/icons/hicolor/scalable/apps/nix-snowflake.svg"
scale = 1.25
[widget.input_volume]
show_label = false
[widget.media]
art_size = 30
font_scale = 0.85
title_scroll = "always"
[widget.mic]
device = "input"
type = "volume"
[widget.notifications]
capsule_radius = "auto"
hide_when_no_unread = false
scale = 1.15
[widget.output_volume]
show_label = false
[widget.sysmon_cpu]
scale = 1.2
show_glyph = false
show_value = false
stat = "cpu_usage"
type = "sysmon"
visualization = "graph"
[widget.sysmon_ram]
label_show_units = false
show_value = false
stat = "ram_used"
type = "sysmon"
[widget.tray]
capsule_radius = 16
drawer = false
[widget.workspaces]
hide_when_empty = false
pill_scale = 0.9
show_labels = false