hyprpanel: update syntax

This commit is contained in:
notohh 2025-04-09 05:24:29 -04:00
parent b27907c1ab
commit d963537e91
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 24 additions and 25 deletions
home/programs/hyprpanel

View file

@ -10,7 +10,6 @@
systemd.enable = true;
hyprland.enable = false;
overwrite.enable = true;
theme = "catppuccin_mocha";
override = {
"theme.bar.buttons.workspaces.hover" = "#7f849c";
"theme.bar.buttons.workspaces.active" = "#f5c2e7";
@ -21,29 +20,5 @@
"theme.bar.buttons.media.icon" = "#1ED760";
"bar.customModules.cava.showIcon" = false;
};
layout = {
"bar.layouts" = {
"0" = {
left = ["dashboard" "workspaces" "cava" "hyprsunset"];
middle = ["media"];
right = ["cpu" "ram" "volume" "clock" "weather" "systray" "notifications"];
};
"1" = {
left = [];
middle = [];
right = [];
};
"2" = {
left = [];
middle = [];
right = [];
};
"3" = {
left = [];
middle = [];
right = [];
};
};
};
};
}

View file

@ -4,6 +4,30 @@
...
}: {
programs.hyprpanel.settings = {
layout = {
"bar.layouts" = {
"0" = {
left = ["dashboard" "workspaces" "cava" "hyprsunset"];
middle = ["media"];
right = ["cpu" "ram" "volume" "clock" "weather" "systray" "notifications"];
};
"1" = {
left = [];
middle = [];
right = [];
};
"2" = {
left = [];
middle = [];
right = [];
};
"3" = {
left = [];
middle = [];
right = [];
};
};
};
bar = {
autoHide = "fullscreen";
launcher.autoDetectIcon = true;