From 56109f4de719ea1917b7a1a55d9e4b427f65c701 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 10 Sep 2024 15:02:02 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index ca1ed77a..7df0235e 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -236,7 +236,7 @@ in { enable = true; font = { package = pkgs.fira; - name = "FiraMono Nerd Font"; + name = "Fira Mono"; size = 10; }; settings = { @@ -278,7 +278,7 @@ in { output = "eDP-1"; modules-left = [ "hyprland/workspaces" ]; modules-center = [ "hyprland/window" ]; - modules-right = [ "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; + modules-right = [ "custom/worktime" "custom/worktime-today" "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; "custom/weather" = { format = "{}"; @@ -323,6 +323,16 @@ in { ''; on-click = "hyprctl switchxkblayout at-translated-set-2-keyboard next"; }; + "custom/worktime" = { + interval = 60; + exec = getExe pkgs.worktime; + tooltip = false; + }; + "custom/worktime-today" = { + interval = 60; + exec = "${getExe pkgs.worktime} today"; + tooltip = false; + }; "hyprland/workspaces" = { all-outputs = true; }; @@ -473,14 +483,14 @@ in { color: @red; } - #custom-weather, #custom-keymap { + #custom-weather, #custom-keymap, #custom-worktime, #custom-worktime-today { color: @grey; margin: 0 5px; } - #custom-weather { + #custom-weather, #custom-worktime-today { margin-right: 3px; } - #custom-keymap { + #custom-keymap, #custom-weather { margin-left: 3px; } -- cgit v1.2.3