From 850bcbf66b2cabddbd63c559b79c8e29c1e60a35 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Wed, 8 May 2024 21:20:40 -0400 Subject: [PATCH] fixed wallpapers --- .../modules/gui/desktopEnvironments/sway/config/sway.nix | 4 ++-- src/user/modules/gui/desktopEnvironments/sway/default.nix | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix b/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix index 4a16e6d..388d34a 100644 --- a/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix +++ b/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix @@ -17,13 +17,13 @@ in HDMI-A-1 = { resolution = "1920x1080"; position = "0,0"; - bg = "/etc/nixos/src/user/modules/gui/desktopEnvironments/wallpapers fill"; + bg = "~/Pictures/wallpapers fill"; }; DP-1 = { resolution = "1080x1920"; position = "1920,0"; transform = "90"; - bg = "/etc/nixos/src/user/modules/gui/desktopEnvironments/wallpapers fill"; + bg = "~/Pictures/wallpapers fill"; }; }; modifier = "Mod1"; diff --git a/src/user/modules/gui/desktopEnvironments/sway/default.nix b/src/user/modules/gui/desktopEnvironments/sway/default.nix index ecf7c4e..cacd5d9 100644 --- a/src/user/modules/gui/desktopEnvironments/sway/default.nix +++ b/src/user/modules/gui/desktopEnvironments/sway/default.nix @@ -54,5 +54,10 @@ in }; fonts.fontconfig.enable = true; + + home.file."~/Pictures/wallpapers" = { + source = ../../wallpapers; + recursive = true; + }; }; }