From 519d9f19c145a8095f0b57b5d0a2d64d09059b95 Mon Sep 17 00:00:00 2001 From: Dante <150515748+xsghetti@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:45:23 -0500 Subject: [PATCH] added refresh script for swaync + tied it into wallpaperselect/random --- .config/hypr/scripts/refresh.sh | 4 ++++ .config/hypr/scripts/wallpaper.sh | 2 ++ .config/hypr/scripts/wallpaperselect.sh | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 .config/hypr/scripts/refresh.sh diff --git a/.config/hypr/scripts/refresh.sh b/.config/hypr/scripts/refresh.sh new file mode 100644 index 00000000..39a8e1ee --- /dev/null +++ b/.config/hypr/scripts/refresh.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +swaync-client -rs & +swaync-client -R \ No newline at end of file diff --git a/.config/hypr/scripts/wallpaper.sh b/.config/hypr/scripts/wallpaper.sh index cb711e15..137a8590 100644 --- a/.config/hypr/scripts/wallpaper.sh +++ b/.config/hypr/scripts/wallpaper.sh @@ -29,3 +29,5 @@ sleep 1 # Relaunch waybar waybar & +~/.config/hypr/scripts/refresh.sh + diff --git a/.config/hypr/scripts/wallpaperselect.sh b/.config/hypr/scripts/wallpaperselect.sh index 78d862c7..3b3aa187 100644 --- a/.config/hypr/scripts/wallpaperselect.sh +++ b/.config/hypr/scripts/wallpaperselect.sh @@ -97,3 +97,5 @@ done sleep 1 # Relaunch waybar waybar & + +~/.config/hypr/scripts/refresh.sh