From ed594f0a3890fd724f963ea610c5dfdda8602a7b Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Fri, 11 Jul 2025 14:34:36 +0300 Subject: [PATCH] Make the background file configurable --- .config/environment.d/wallpaper.conf | 3 +++ .config/sway/config | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .config/environment.d/wallpaper.conf diff --git a/.config/environment.d/wallpaper.conf b/.config/environment.d/wallpaper.conf new file mode 100644 index 0000000..a246445 --- /dev/null +++ b/.config/environment.d/wallpaper.conf @@ -0,0 +1,3 @@ +# keep-sorted start +SWAY_WALLPAPER="${HOME}/Documents/wallpapers/solar-system.jpg" +# keep-sorted end diff --git a/.config/sway/config b/.config/sway/config index fc77a2a..b76ca8f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -303,4 +303,4 @@ include /etc/sway/config.d/* exec systemctl --user import-environment XDG_CURRENT_DESKTOP exec dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway -output * bg ~/Documents/wallpapers/solar-system.jpg fill +output * bg ${SWAY_WALLPAPER} fill