From 659aed60d79fd4721568f7430699bdad8df725c4 Mon Sep 17 00:00:00 2001
From: Antoine Martin <antoine@alarsyo.net>
Date: Mon, 17 Feb 2025 14:15:43 +0100
Subject: [PATCH] talos: home: setup swaybg

---
 hosts/talos/home.nix | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hosts/talos/home.nix b/hosts/talos/home.nix
index 1d8c207..148c46e 100644
--- a/hosts/talos/home.nix
+++ b/hosts/talos/home.nix
@@ -33,6 +33,7 @@ in {
         chromium # some websites only work there :(
         nwg-displays
         shikane # output autoconfig
+        swaybg
         zotero
         ;
 
@@ -101,6 +102,10 @@ in {
         startup = [
           {command = "shikane";}
           {command = "waybar";}
+          {
+            command = "swaybg --image ~/.wallpaper --mode fill";
+            always = true;
+          }
           {command = "swayidle -w idlehint 1 before-sleep \"${lock}\"";}
         ];
       };