mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
feat: condense laptop bar
This commit is contained in:
parent
1689f677d0
commit
70bf4f88db
1 changed files with 7 additions and 5 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue