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