From 67e15aa73723811f193eef62c6f79f65c919faec Mon Sep 17 00:00:00 2001
From: Gregor Kleen <gkleen@yggdrasil.li>
Date: Mon, 12 Aug 2024 00:08:18 +0200
Subject: ...

---
 accounts/gkleen@sif/default.nix  | 7 ++++---
 accounts/gkleen@sif/hyprland.nix | 5 ++---
 accounts/gkleen@sif/systemd.nix  | 7 +++++++
 3 files changed, 13 insertions(+), 6 deletions(-)

(limited to 'accounts/gkleen@sif')

diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index a4f1689a..8332b38a 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -90,7 +90,7 @@ in {
   ];
 
   config = {
-    services.displayManager.defaultSession = "none+xmonad";
+    services.displayManager.defaultSession = "Hyprland"; # "none+xmonad";
     services.xserver = {
       windowManager.session = [{
         name = "xmonad";
@@ -315,7 +315,7 @@ in {
               };
               clock = {
                   interval = 1;
-                  timezone = "Europe/Berlin";
+                  # timezone = "Europe/Berlin";
                   format = "W{:%V-%u %F %H:%M:%S%Ez}";
                   tooltip-format = "<tt><small>{calendar}</small></tt>";
                   calendar = {
@@ -376,7 +376,7 @@ in {
               };
               clock = {
                   interval = 1;
-                  timezone = "Europe/Berlin";
+                  # timezone = "Europe/Berlin";
                   format = "{:%H:%M}";
                   tooltip-format = "W{:%V-%u %F %H:%M:%S%Ez}";
               };
@@ -633,6 +633,7 @@ in {
             { timeout = 330; command = "${lib.getExe pkgs.gtklock} -d"; }
           ];
         };
+        poweralertd.enable = true;
       };
 
       home.pointerCursor = {
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix
index 076a04a1..4e4eb091 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -217,11 +217,10 @@
   ];
 
   windowrulev2 = [
-    "suppressevent maximize, class:.*"
-    "suppressevent fullscreen, class:.*"
+    "suppressevent maximize fullscreen, class:.*"
 
     # "maximize, class:^(Element|thunderbird)$"
-    "workspace special:keepass, class:^org\.keepassxc\.KeePassXC$"
+    "workspace special:keepass, class:^org\.keepassxc\.KeePassXC$, title:^(?!KeePassXC -  Access Request)$"
     # "group set always lock invade, class:^Element$"
     "workspace 4, class:^evince$"
     "workspace 10, class:^mpv$"
diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix
index 1397ca62..30fd2d72 100644
--- a/accounts/gkleen@sif/systemd.nix
+++ b/accounts/gkleen@sif/systemd.nix
@@ -126,6 +126,13 @@ in {
         Environment = with pkgs; "PATH=${worktime}/bin:${systemd}/bin";
       };
     };
+    waybar = {
+      Service = {
+        Environment = [
+          "TZ=:/etc/localtime"
+        ];
+      };
+    };
     dunst = {
       Service = {
         ExecStart = lib.mkForce "${cfg.services.dunst.package}/bin/dunst";
-- 
cgit v1.2.3