about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-08-31T23·11+0300
committerclbot <clbot@tvl.fyi>2024-08-31T23·47+0000
commita2eb46e3d800cff9d773e44db1573bce7a144ba0 (patch)
treef3340d4948320da4970b98faf94c444d530986ae
parent11aacd7857dd4fef98329e2b0d3d60932125f952 (diff)
feat(tazjin/home): configure wpaperd r/8627
Change-Id: Ic4eecdff48f947a44d2a06039573274a9edb35c8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12404
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/home/shared.nix21
-rw-r--r--users/tazjin/nixos/modules/desktop.nix1
2 files changed, 10 insertions, 12 deletions
diff --git a/users/tazjin/home/shared.nix b/users/tazjin/home/shared.nix
index 38d8add4ac2f..9d5fbb266078 100644
--- a/users/tazjin/home/shared.nix
+++ b/users/tazjin/home/shared.nix
@@ -38,12 +38,6 @@ in
     '';
   };
 
-  services.screen-locker = {
-    enable = true;
-    inactiveInterval = 10; # minutes
-    lockCmd = "${depot.users.tazjin.screenLock}/bin/tazjin-screen-lock";
-  };
-
   home.packages = [ telega-launcher ];
 
   xdg.desktopEntries.telega-launcher = {
@@ -65,13 +59,18 @@ in
     };
   };
 
-  services.picom = {
+  programs.wpaperd = {
     enable = true;
-    vSync = true;
-    backend = "glx";
-  };
+    settings = {
+      default = {
+        duration = "1d";
+        mode = "center";
+        sorting = "random";
+      };
 
-  services.syncthing.enable = true;
+      any.path = ../wallpapers;
+    };
+  };
 
   # Enable the dunst notification daemon, but force the
   # configuration file separately instead of going via the strange
diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix
index 22bec1c7d501..0fe41e7d8c76 100644
--- a/users/tazjin/nixos/modules/desktop.nix
+++ b/users/tazjin/nixos/modules/desktop.nix
@@ -37,7 +37,6 @@
     # support tooling
     qt5.qtwayland
     sfwbar
-    swaybg
     swayidle
     wdisplays
     wezterm