tweaked waybar.nix

This commit is contained in:
serenity-F 2024-12-11 21:03:45 +10:00
parent 9502c070b0
commit 5417b30ef0

View file

@ -22,10 +22,9 @@
"margin-left" = config.theme.gaps-out; "margin-left" = config.theme.gaps-out;
"margin-right" = config.theme.gaps-out; "margin-right" = config.theme.gaps-out;
height = 44; height = 44;
modules-left = [ "custom/logo" "hyprland/window" ]; modules-left = [ "custom/logo" "sway/window" ];
modules-center = [ "hyprland/workspaces" ]; modules-center = [ "sway/workspaces" ];
modules-right = modules-right = [ "tray" "backlight" "pulseaudio" "battery" "clock" "custom/power" ];
[ "tray" "backlight" "pulseaudio" "battery" "clock" "custom/power" ];
"wlr/taskbar" = { "wlr/taskbar" = {
format = "{icon}"; format = "{icon}";
@ -35,12 +34,13 @@
"icon-size" = 25; "icon-size" = 25;
"tooltip-format" = "{title}"; "tooltip-format" = "{title}";
}; };
"hyprland/window" = { "sway/window" = {
"format" = "{title:30}"; "format" = "{title:30}";
"max-length" = 32; "max-length" = 32;
}; };
"hyprland/workspaces" = { "sway/workspaces" = {
all-outputs = true;
"on-click" = "activate"; "on-click" = "activate";
format = "{icon}"; format = "{icon}";
"format-icons" = { "format-icons" = {