re-separated sway config + exported noctalia config

This commit is contained in:
ohinh 2026-09-10 20:47:46 +02:00
parent 5232518141
commit f2f98d6fee
28 changed files with 641 additions and 7 deletions

View file

@ -1,3 +1,3 @@
{
"lastCheckedAt": "2026-09-09T16:24:55.4889401"
"lastCheckedAt": "2026-09-10T17:44:20.1288792"
}

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

View file

@ -0,0 +1,11 @@
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 20"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=noctalia

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

View file

@ -1,6 +1,8 @@
[bar]
order = ["main"] # layer-shell creation order
[bar.default]
position = "top" # top | bottom | left | right
enabled = true
@ -27,10 +29,10 @@ margin_ends = 100 # inset from each end of the bar along its main
margin_edge = 0 # distance from the nearest screen edge (positive values float the bar)
margin_opposite_edge = 0 # extra reserved space on the inward side of the bar (below for top, above for bottom)
padding = 14 # main-axis padding from bar edges to start/end widget sections
widget_spacing = 7 # gap between widgets within a section
widget_spacing = 7 # gap between widgets within a section
hover_highlight = true # softly tint the widget under the mouse pointer with its foreground color
scale = 2.0 # content scale multiplier for icons, spacing, and base text size
font_scale = 2.0 # additional text-only scale multiplier
scale = 1.5 # content scale multiplier for icons, spacing, and base text size
font_scale = 1.3 # additional text-only scale multiplier
font_weight = 500 # CSS weight 1001000 (e.g. 400 regular, 700 bold); primary label weight for bar widgets
font_family = "" # typeface for this bar's widgets; empty inherits the global font
@ -42,9 +44,28 @@ capsule_radius = 8.0 # omit for automatic pill radius
capsule_opacity = 1.0
# capsule_border = "outline" # omit this key for no border by default
start = ["launcher", "wallpaper", "workspaces"]
center = ["clock"]
end = ["media", "tray", "notifications", "clipboard", "network", "bluetooth", "volume", "brightness", "battery", "control-center", "session"]
start = ["wallpaper", "workspaces","media"]
center = ["clock", "group:c1"]
end = [ "tray",
"group:c1",
"network",
"volume",
"battery",
"control-center",
]
[bar.default.c1]
id = "c1"
members = ["brightness", "notifications", "clipboard", "bluetooth"]
fill = "error"
padding = 6.0
opacity = 0.9
enabled = true
accordion = true # optional: collapse to the first widget, reveal on hover
accordion_direction = "end" # "end" (default) or "start"
widget_spacing = 10 # optional: gap between this group's widgets
# border, foreground, radius, enabled are optional
[bar.default.dead_zone.actions]
@ -54,3 +75,8 @@ scroll_up = "volume-up"
scroll_down = "volume-down"
back = "media previous"
forward = "media next"
[widget.workspaces]

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 KiB

View file

@ -0,0 +1,363 @@
[accessibility]
ui_scale = 1.2500000111758709
[audio]
enable_overdrive = true
enable_sounds = true
notification_sound = "~/.config/noctalia/sounds/notification.mp3"
sound_volume = 0.54999998770654202
volume_change_sound = "~/.config/noctalia/sounds/volchange.mp3"
[bar]
order = [ "main" ]
[bar.default]
auto_hide = false
background_opacity = 1.0
border = "outline"
border_width = 0.0
capsule = false
capsule_fill = "surface_variant"
capsule_opacity = 1.0
capsule_radius = 8.0
capsule_thickness = 0.76000000000000001
center = [ "clock", "spacer_2", "media", "spacer_2", "weather" ]
concave_edge_corners = true
contact_shadow = false
enabled = true
end = [ "tray", "group:g1", "network", "volume", "battery", "caffeine" ]
font_family = "JetBrainsMono NF SemiBold"
font_scale = 1.1499999817460775
font_weight = 500
hover_highlight = false
layer = "top"
margin_edge = 0
margin_ends = 100
margin_opposite_edge = 0
padding = 14
panel_overlap = 1
position = "top"
radius = 12
radius_bottom_left = 12
radius_bottom_right = 12
radius_top_left = 12
radius_top_right = 12
reserve_space = false
scale = 1.7000000178813934
shadow = true
show_on_workspace_switch = true
smart_auto_hide = false
start = [ "control-center", "workspaces" ]
thickness = 37
widget_spacing = 9
[bar.default.c1]
accordion = true
accordion_direction = "end"
enabled = true
fill = "error"
id = "c1"
members = [ "brightness", "notifications", "clipboard", "bluetooth" ]
opacity = 0.90000000000000002
padding = 6.0
widget_spacing = 10
[bar.default.dead_zone.actions]
back = "media previous"
forward = "media next"
left = "panel-toggle control-center"
middle = "exec foot"
scroll_down = "volume-down"
scroll_up = "volume-up"
[[bar.default.capsule_group]]
accordion = true
accordion_direction = "end"
enabled = true
fill = "surface"
id = "g1"
members = [ "brightness", "clipboard", "notifications", "bluetooth", "input_volume" ]
opacity = 0.0
padding = 7.0
radius = 8.0
[battery]
warning_threshold = 15
[battery.device."/org/freedesktop/UPower/devices/battery_BAT0"]
warning_threshold = 15
[battery.device."/org/freedesktop/UPower/devices/headset_dev_00_11_22_33_44_55"]
warning_threshold = 10
[brightness]
enable_ddcutil = true
[calendar]
enabled = true
event_date_format = "%a %e %B"
refresh_minutes = 25
[calendar.account.49384]
name = "Zaclys"
provider = "custom"
server_url = "https://acloud11.zaclys.com/remote.php/dav"
type = "caldav"
username = "49384"
[control_center]
hidden_tabs = [ "monitor" ]
sidebar = "full"
sidebar_section = "none"
[desktop_widgets]
schema_version = 2
widget_order = []
[desktop_widgets.grid]
cell_size = 16
major_interval = 4
visible = true
[desktop_widgets.widget]
[hooks]
battery_percentage_changed = "NOCTALIA_BATTERY_THRESHOLD=20 ~/.config/noctalia/hooks/battery-threshold.sh"
[hot_corners.top_left]
action = "command"
[idle]
behavior_order = [ "custom", "lock", "screen-off", "suspend" ]
pre_action_fade_seconds = 5
[idle.behavior.custom]
action = "command"
command = "notify-send 'Idle' 'Going idle'"
enabled = true
resume_command = "notify-send 'Idle' 'Back from idle'"
timeout = 48.0
[idle.behavior.lock]
action = "lock"
enabled = true
timeout = 600.0
[idle.behavior.screen-off]
action = "screen_off"
enabled = true
timeout = 660.0
[idle.behavior.suspend]
action = "lock_and_suspend"
enabled = true
timeout = 900.0
[location]
address = "Paris, France"
[lockscreen]
allow_empty_password = true
blur_intensity = 0.0
tint_intensity = 0.21999999508261681
wallpaper = "/home/oh/Images/xiaohei wallpape.jpg"
[lockscreen_widgets]
enabled = true
schema_version = 2
widget_order = [ "lockscreen-login-box@eDP-1", "lockscreen-login-box@WL-1" ]
[lockscreen_widgets.grid]
cell_size = 16
major_interval = 4
visible = true
[lockscreen_widgets.widget."lockscreen-login-box@WL-1"]
box_height = 196.0
box_width = 810.0
cx = 960.00018310546875
cy = 898.0
output = "WL-1"
placement_height = 1080.0
placement_width = 1920.0
rotation = 0.0
type = "login_box"
[lockscreen_widgets.widget."lockscreen-login-box@WL-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 = "regular"
show_caps_lock = true
show_keyboard_layout = true
show_login_button = true
show_media = true
show_session_buttons = true
show_unlock_hint = true
show_weather = true
[lockscreen_widgets.widget."lockscreen-login-box@eDP-1"]
box_height = 196.0
box_width = 810.0
cx = 960.0
cy = 898.0
output = "eDP-1"
placement_height = 1080.0
placement_width = 1920.0
rotation = 0.0
type = "login_box"
[lockscreen_widgets.widget."lockscreen-login-box@eDP-1".settings]
background_color = "#005118"
background_opacity = 0.73999999999999999
background_radius = 19.0
center_password_text = false
input_opacity = 1.0
input_radius = 6.0
layout = "regular"
show_caps_lock = true
show_keyboard_layout = true
show_login_button = false
show_media = true
show_session_buttons = true
show_unlock_hint = false
show_weather = true
[nightlight]
enabled = true
temperature_day = 7000
temperature_night = 2400
[notification]
position = "top_center"
scale = 1.2500000111758709
[plugins]
enabled = [
"apex077/eyecare",
"noctalia/screen_recorder",
"mdj2812/thunderbird-companion",
"noctalia/timer",
"piero-93/battery-power-management"
]
[shell]
avatar_path = "/home/oh/.config/noctalia/Porco-Rosso-de-Hayao-Miyazaki-3894061222.jpg"
button_borders = false
corner_radius_scale = 1.0500000156462193
font_family = "JetBrainsMono Nerd Font Propo"
lang = "en"
password_style = "random"
screen_time_enabled = true
[shell.launcher]
app_grid = true
categories = false
[shell.launcher.providers.windows]
global = true
prefix = "w"
[shell.panel]
session_placement = "floating"
session_position = "center"
[shell.screenshot]
directory = "/home/oh/Images/screenshots"
[shell.session]
grid_columns = 4
show_shortcuts = false
[[shell.session.actions]]
action = "shutdown"
countdown_seconds = 0.0
enabled = true
shortcut = "ampersand"
variant = "destructive"
[[shell.session.actions]]
action = "command"
command = "systemctl hibernate"
countdown_seconds = 2.0
enabled = true
glyph = "hibernate"
label = "Hibernate"
shortcut = "eacute"
variant = "ghost"
[[shell.session.actions]]
action = "lock"
countdown_seconds = 0.0
enabled = false
shortcut = "1"
variant = "default"
[[shell.session.actions]]
action = "logout"
countdown_seconds = 0.0
enabled = false
shortcut = "2"
variant = "default"
[[shell.session.actions]]
action = "lock_and_suspend"
countdown_seconds = 0.0
enabled = true
shortcut = "quotedbl"
variant = "default"
[[shell.session.actions]]
action = "reboot"
countdown_seconds = 0.0
enabled = true
shortcut = "apostrophe"
variant = "default"
[system.monitor]
disk_poll_seconds = 74
[theme]
builtin = "Noctalia"
community_palette = "Oxocarbon"
mode = "dark"
source = "builtin"
wallpaper_scheme = "m3-fruit-salad"
[theme.templates]
builtin_ids = [ "foot", "gtk3", "gtk4", "sway" ]
community_ids = [ "zen-browser", "steam", "fastfetch", "yazi" ]
[wallpaper.default]
path = "/home/oh/Images/frieren.png"
[wallpaper.last]
path = "/home/oh/Images/frieren.png"
[wallpaper.monitors.eDP-1]
path = "/home/oh/Images/frieren.png"
[widget.input_volume]
show_label = false
[widget.media]
hide_when_no_media = true
[widget.network]
scale = 1.2
show_label = false
[widget.spacer_2]
anchor = true
length = 7
type = "spacer"
[widget.weather]
show_condition = false
[widget.workspaces]
show_labels = false
style = "focus_hint"

View file

@ -24,4 +24,11 @@ include ~/.config/sway/colors
# 8. Utilitaires et scripts de démarrage
include ~/.config/sway/utilities
include /etc/sway/config-vars.d/*
include /etc/sway/config.d/*
include ~/.config/sway/noctalia
exec noctalia

18
.config/sway/noctalia Normal file
View file

@ -0,0 +1,18 @@
set $primary #fff59b
set $on_primary #0e0e43
set $secondary #a9aefe
set $tertiary #9bfece
set $error #fd4663
set $surface #070722
set $on_surface #f3edf7
set $on_surface_variant #7c80b4
set $outline #51589b
## Window Colours
# class border backgr. text indicator child_border
client.focused $primary $surface $on_surface $primary $primary
client.focused_inactive $outline $surface $on_surface_variant $outline $outline
client.unfocused $outline $surface $on_surface_variant $outline $outline
client.urgent $error $surface $on_surface $error $error
client.placeholder $surface $surface $on_surface_variant $surface $surface
client.background $surface