sway: calendar

This commit is contained in:
Casper V. Kristensen 2024-01-30 14:59:48 +01:00
parent 143d48e7f5
commit 551f9dcdcc

View file

@ -155,8 +155,21 @@
format = "{:%a %e. %b %H:%M}"; format = "{:%a %e. %b %H:%M}";
calendar = { calendar = {
mode = "year"; mode = "year";
mode-mon-col = 6; mode-mon-col = 3;
weeks-pos = "left"; weeks-pos = "left";
on-scroll = 1;
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_down";
on-scroll-down = "shift_up";
}; };
}; };
} }