forked from extern/nix-config
waybar: Replace hyprland/window with wlr/taskbar
The taskbar is more useful than the window option, takes up less space, and shows the title of any window on hover without having to worry about vertical alignment.
This commit is contained in:
parent
7802c7094a
commit
f3f00def7f
@ -19,7 +19,7 @@ in
|
||||
spacing = 8;
|
||||
|
||||
modules-left = [ "wlr/workspaces" "custom/new-workspace" ];
|
||||
modules-center = [ "hyprland/window" ];
|
||||
modules-center = [ "wlr/taskbar" ];
|
||||
modules-right = [ "tray" "wireplumber" "backlight" "battery" "clock" ];
|
||||
|
||||
tray = {
|
||||
@ -27,6 +27,13 @@ in
|
||||
spacing = 8;
|
||||
};
|
||||
|
||||
"wlr/taskbar" = {
|
||||
icon-size = 32;
|
||||
on-click = "activate";
|
||||
on-click-middle = "activate";
|
||||
on-click-right = "activate";
|
||||
};
|
||||
|
||||
"hyprland/window" = {
|
||||
rotate = if isVertical then 90 else 0;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user