update waybar config

This commit is contained in:
Glen Goodwin 2023-09-06 17:50:08 -04:00
parent 4754ddb038
commit 6e3bd00d04

View file

@ -101,7 +101,7 @@
#modules-center = [ "clock" ]; #modules-center = [ "clock" ];
modules-left = with config; modules-left = with config;
if programs.hyprland.enable == true then if programs.hyprland.enable == true then
[ "custom/menu" "wlr/workspaces" ] [ "custom/menu" "hyprland/workspaces" ]
else if programs.sway.enable == true then else if programs.sway.enable == true then
[ "sway/workspaces" "sway/window" "sway/mode" ] [ "sway/workspaces" "sway/window" "sway/mode" ]
else [ ]; else [ ];
@ -161,6 +161,9 @@
active-only = false; active-only = false;
on-click = "activate"; on-click = "activate";
}; };
"hyprland/workspaces" = {
format = "<span font='11'>{name}</span>";
};
clock = { clock = {
format = "{:%b %d %H:%M} "; format = "{:%b %d %H:%M} ";
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"; tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";