1
0
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:
Donovan Glover 2023-06-27 08:41:42 -04:00
parent 7802c7094a
commit f3f00def7f
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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;
};