summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautostart.sh2
-rw-r--r--hypr/hyprpaper.conf10
2 files changed, 11 insertions, 1 deletions
diff --git a/autostart.sh b/autostart.sh
index 08502f9..e09638b 100755
--- a/autostart.sh
+++ b/autostart.sh
@@ -23,7 +23,7 @@ if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
runifnot swayidle
launch_waybar.sh "$(crcparse WC)"
- killandrun swaybg -i ~/background.jpg
+ killandrun hyprpaper
if [ "$(crcparse WC | xargs basename)" = "Hyprland" ]; then
xrdb ~/.Xresources
fi
diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf
new file mode 100644
index 0000000..fe52262
--- /dev/null
+++ b/hypr/hyprpaper.conf
@@ -0,0 +1,10 @@
+preload = ~/background.jpg
+#if more than one preload is desired then continue to preload other backgrounds
+#preload = /path/to/next_image.png
+# .. more preloads
+
+#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
+wallpaper = eDP-1,~/background.jpg
+#if more than one monitor in use, can load a 2nd image
+#wallpaper = monitor2,~/background.jpg
+# .. more monitors