summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-04-25 19:04:45 -0500
committerzachir <zachir@librem.one>2023-04-25 19:04:45 -0500
commit1ea271f30039f3e411e2553b6e8d2a7e5c760b4a (patch)
tree61d9b3440fef5b4e4af4f142df71181527e8124c
parentc45270c8c23dd3111ef2825a2e7d8512c6b03de8 (diff)
replace swaybg with hyprpaper
-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