nixos/home/desktop/waybar/modules/clock.nix
Evie Litherland-Smith a8f304b075 Move all host specific things out of flake.nix
Go back to single, re-designed waybar for all screens
2023-07-13 12:41:00 +01:00

25 lines
689 B
Nix

{
format = "{:%R 󰅐 }";
# format-alt = "{:%A %Y-%m-%d 󰃭 }";
tooltip-format = "<tt><small>{calendar}</small></tt>";
calendar = {
mode = "month";
mode-mon-col = 3;
weeks-pos = "left";
on-scroll = 1;
on-click-right = "mode";
format = {
months = "<span color='#ffead3'><b>{}</b></span>";
days = "<span color='#ecc6d9'><b>{}</b></span>";
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
};
};
actions = {
on-click-right = "mode";
on-scroll-up = "shift_up";
on-scroll-down = "shift_down";
};
}