add cava to hyprpanel

This commit is contained in:
Hadi
2025-02-21 15:42:50 +01:00
parent d64e096e8c
commit 3383fe5af7

View File

@@ -34,9 +34,9 @@ in {
overlay.enable = true; overlay.enable = true;
layout = { layout = {
"bar.layouts" = { "bar.layouts" = {
"0" = { "*" = {
"left" = [ "dashboard" "workspaces" "windowtitle" ]; "left" = [ "dashboard" "workspaces" "windowtitle" ];
"middle" = [ "media" ]; "middle" = [ "media" "cava" ];
"right" = [ "right" = [
"systray" "systray"
"volume" "volume"
@@ -180,10 +180,10 @@ in {
"bar.workspaces.showApplicationIcons" = true; "bar.workspaces.showApplicationIcons" = true;
"bar.workspaces.showWsIcons" = true; "bar.workspaces.showWsIcons" = true;
"theme.bar.dropdownGap" = "4.5em"; "theme.bar.dropdownGap" = "4.5em";
"theme.bar.menus.shadow" = "${if transparent then "theme.bar.menus.shadow" =
"0 0 0 0" "${if transparent then "0 0 0 0" else "0px 0px 3px 1px #16161e"}";
else "bar.customModules.cava.showIcon" = false;
"0px 0px 3px 1px #16161e"}"; "bar.customModules.cava.stereo" = true;
}; };
}; };
} }