fixed calendar, replaced taskbar with workspaces

This commit is contained in:
Gabriella Bere 2025-04-30 18:29:29 +01:00
parent ba6f6a4ba9
commit 25d5844850

View file

@ -4,8 +4,7 @@
lib,
inputs,
...
}:
{
}: {
programs.waybar = {
enable = true;
systemd.enable = true; # using these instead of exec-once beacuse SOME packages (swaync) dont let you disable them
@ -14,7 +13,7 @@
layer = "top";
position = "top";
height = 30;
modules-left = [ "wlr/taskbar" ];
modules-left = ["hyprland/workspaces"];
modules-center = [
"clock"
"custom/swaync"
@ -27,9 +26,18 @@
];
"clock" = {
"format" = "{:%A %d %b %T}";
# "tooltip" = true;
# "tooltip-format" = "{=%A; %d %B %Y}\n<tt>{calendar}</tt>";
"tooltip" = "true";
"tooltip-format" = "<tt>{calendar}</tt>";
"interval" = 1;
"calendar" = {
"mode" = "month";
"format" = {
"months" = "<span color='#ff6699'><b>{}</b></span>";
"days" = "<span color='#cdd6f4'><b>{}</b></span>";
"weekdays" = "<span color='#7CD37C'><b>{}</b></span>";
"today" = "<span color='#ffcc66'><b>{}</b></span>";
};
};
};
"custom/swaync" = {
"tooltip" = false;