This commit is contained in:
2026-07-08 17:19:54 +09:00
parent e6e0ced192
commit 636229c8e5
+73 -50
View File
@@ -55,60 +55,83 @@ in
}; };
desktop_widgets.enabled = false; desktop_widgets.enabled = false;
bar = { bar = {
order = [ "main" ];
main = {
margin_ends = 15; margin_ends = 15;
density = "default"; position = "top";
showCapsule = true; start = [
backgroundOpacity = 0.8; "network"
floating = true; "bluetooth"
widgets = { "network-connection"
left = [ "spacer"
{ id = "WiFi"; } "cpu"
{ "cpu-graph"
id = "CustomButton"; "ram"
icon = "access-point";
leftClickExec = "nm-connection-editor";
}
{ id = "Bluetooth"; }
{ id = "SystemMonitor"; }
{ id = "Taskbar"; }
{ id = "ActiveWindow"; }
]; ];
center = [ center = [ "workspaces" ];
{ end = [
hideUnoccupied = false; "media"
id = "Workspace"; "spacer"
labelMode = "none"; "notifications"
} "spacer"
]; "battery"
right = [ "input-volume"
{ id = "MediaMini"; } "output-volume"
{ id = "NotificationHistory"; } "privacy"
{ "brightness"
displayMode = "alwaysShow"; "clock"
id = "Battery"; "control-center"
warningThreshold = 30;
}
{
displayMode = "alwaysShow";
id = "Volume";
}
{
displayMode = "alwaysShow";
id = "Brightness";
}
{
formatHorizontal = "HH:mm";
formatVertical = "HH mm";
id = "Clock";
useMonospacedFont = true;
usePrimaryColor = true;
}
{
id = "ControlCenter";
useDistroLogo = true;
}
]; ];
}; };
widget = {
cpu = {
type = "sysmon";
stat = "cpu_usage";
};
cpu-graph = {
type = "sysmon";
stat = "cpu_usage";
display = "graph";
show_label = false;
};
ram = {
type = "sysmon";
stat = "ram_used";
};
media = {
type = "media";
hide_when_no_media = true;
title_scroll = "always";
};
battery = {
type = "battery";
display_mode = "graphic";
warning_threshold = 30;
};
brightness = {
type = "brightness";
show_label = false;
};
input-volume = {
type = "volume";
device = "input";
};
output-volume = {
type = "volume";
device = "output";
};
clock = {
type = "clock";
format = "{:%Y/%m/%d %H:%M}";
vertical_format = "{:%Y/%m/%d\n%H:%M}";
tooltip_format = "{:%Y/%m/%d %H:%M (%a)}";
};
network-connection = {
type = "custom_button";
glyph = "access-point";
command = "nm-connection-editor";
};
};
}; };
colorSchemes.predefinedScheme = "dracula"; colorSchemes.predefinedScheme = "dracula";
general = { general = {