From 10fcdd692a8e0d850a1a5499f03a300b4f12a17c Mon Sep 17 00:00:00 2001 From: traxys Date: Wed, 27 Mar 2024 16:43:14 +0100 Subject: [PATCH] personal-gui: Put khal widget on the left --- personal-gui/wm/sway.nix | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/personal-gui/wm/sway.nix b/personal-gui/wm/sway.nix index 1c552e0..7891374 100644 --- a/personal-gui/wm/sway.nix +++ b/personal-gui/wm/sway.nix @@ -82,6 +82,23 @@ in { Left */ + "custom/khal" = moduleOpt { + enable = false; + side = "left"; + priority = 5; + settings = { + format = "{}"; + tooltip = true; + interval = 300; + format-icons = { + default = ""; + }; + exec = "${lib.getExe pkgs.python3} ${./waybar-khal.py}"; + return-type = "json"; + }; + }; + + "network#wifi" = moduleOpt { side = "left"; enable = false; @@ -171,21 +188,6 @@ in { }; }; - "custom/khal" = moduleOpt { - enable = false; - priority = 55; - settings = { - format = "{}"; - tooltip = true; - interval = 300; - format-icons = { - default = ""; - }; - exec = "${lib.getExe pkgs.python3} ${./waybar-khal.py}"; - return-type = "json"; - }; - }; - "clock" = moduleOpt { priority = 60; settings = {