From 551f9dcdccf204e1eed57c9e0d34b93157846259 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Tue, 30 Jan 2024 14:59:48 +0100 Subject: [PATCH] sway: calendar --- modules/desktop/sway.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 5e5261b..318c52f 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -155,8 +155,21 @@ format = "{:%a %e. %b %H:%M}"; calendar = { mode = "year"; - mode-mon-col = 6; + mode-mon-col = 3; weeks-pos = "left"; + on-scroll = 1; + format = { + months = "{}"; + days = "{}"; + weeks = "W{}"; + weekdays = "{}"; + today = "{}"; + }; + }; + actions = { + on-click-right = "mode"; + on-scroll-up = "shift_down"; + on-scroll-down = "shift_up"; }; }; }