feat: condense laptop bar

This commit is contained in:
Youwen Wu 2025-04-19 21:08:05 -07:00
parent 1689f677d0
commit 70bf4f88db
Signed by: youwen
GPG key ID: 865658ED1FE61EC3

View file

@ -40,13 +40,17 @@ in
modules-left = modules-left =
[ [
"custom/launcher" "custom/launcher"
]
++ (lib.optionals isDesktop [
"custom/playerctl#backward" "custom/playerctl#backward"
"custom/playerctl#play" "custom/playerctl#play"
"custom/playerctl#foward" "custom/playerctl#foward"
])
++ [
"custom/playerlabel" "custom/playerlabel"
] ]
++ (lib.optionals isLaptop [ ++ (lib.optionals isLaptop [
"cava#left"
"hyprland/workspaces" "hyprland/workspaces"
]); ]);
modules-center = lib.mkIf isDesktop [ modules-center = lib.mkIf isDesktop [
@ -71,8 +75,8 @@ in
active-only = false; active-only = false;
all-outputs = false; all-outputs = false;
disable-scroll = false; disable-scroll = false;
on-scroll-down = "${pkgs.hyprnome}/bin/hyprnome --move"; on-scroll-up = "${pkgs.hyprnome}/bin/hyprnome --move";
on-scroll-up = "${pkgs.hyprnome}/bin/hyprnome --move --previous"; on-scroll-down = "${pkgs.hyprnome}/bin/hyprnome --move --previous";
format = "{icon}"; format = "{icon}";
on-click = "activate"; on-click = "activate";
format-icons = { format-icons = {
@ -215,8 +219,6 @@ in
"󰕾" "󰕾"
]; ];
}; };
# on-scroll-up= "bash ~/.scripts/volume up";
# on-scroll-down= "bash ~/.scripts/volume down";
scroll-step = 5; scroll-step = 5;
on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
}; };