From 1ea271f30039f3e411e2553b6e8d2a7e5c760b4a Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 25 Apr 2023 19:04:45 -0500 Subject: replace swaybg with hyprpaper --- autostart.sh | 2 +- hypr/hyprpaper.conf | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 hypr/hyprpaper.conf 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 -- cgit v1.2.3