about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/config/zsh/default.nix2
-rw-r--r--home-manager/default.nix1
-rw-r--r--home-manager/files/default.nix6
-rw-r--r--home-manager/files/wallpaper/abstract-nord.pngbin0 -> 140219 bytes
-rw-r--r--home-manager/files/wallpaper/default.nix9
-rwxr-xr-xhome-manager/wms/river/init2
6 files changed, 18 insertions, 2 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index 3230d771..956ebe5c 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -94,7 +94,7 @@
       COLORTERM = "truecolor";
       PAGER = "less -R";
       WM = "river";
-      AWMWALLPAPER = "/home/dt/media/pictures/tes/wallpapers-linux_cast/Dedicated_Colorschemes/nord/Abstract-Nord.png";
+      WALLPAPER = "${config.user.homeDirectory}/media/pictures/wallpaper";
 
       # FUNCNEST for more functions in functions
       FUNCNEST = "2000";
diff --git a/home-manager/default.nix b/home-manager/default.nix
index 11f3bf9d..02c05dcf 100644
--- a/home-manager/default.nix
+++ b/home-manager/default.nix
@@ -26,6 +26,7 @@ in {
     ./packages
     ./config
     ./wms
+    ./files
   ];
 
   # I don't know what this does, but I've seen it a loot online, so it should be good, right?
diff --git a/home-manager/files/default.nix b/home-manager/files/default.nix
new file mode 100644
index 00000000..ceb12848
--- /dev/null
+++ b/home-manager/files/default.nix
@@ -0,0 +1,6 @@
+# vim: ts=2
+{config, ...}: {
+  import = [
+    ./wallpaper
+  ];
+}
diff --git a/home-manager/files/wallpaper/abstract-nord.png b/home-manager/files/wallpaper/abstract-nord.png
new file mode 100644
index 00000000..5ef498bf
--- /dev/null
+++ b/home-manager/files/wallpaper/abstract-nord.png
Binary files differdiff --git a/home-manager/files/wallpaper/default.nix b/home-manager/files/wallpaper/default.nix
new file mode 100644
index 00000000..362e8c99
--- /dev/null
+++ b/home-manager/files/wallpaper/default.nix
@@ -0,0 +1,9 @@
+# vim: ts=2
+{config, ...}: {
+  home.file = {
+    wallpaper = {
+      source = ./abstract-nord.png;
+      target = "media/pictures/wallpaper";
+    };
+  };
+}
diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init
index ce654c1b..fa317394 100755
--- a/home-manager/wms/river/init
+++ b/home-manager/wms/river/init
@@ -64,7 +64,7 @@ err_fail wlr-randr --output DP-1 --scale 1.5 --pos 0,0
 err_fail yambar &
 
 err_fail mako &
-err_fail swaybg -i "$AWMWALLPAPER" &
+err_fail swaybg -i "$WALLPAPER" &
 err_fail swayidle &
 err_fail alacritty &
 # }}}