diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 8ccbfa6..f7cadbf 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -9,7 +9,7 @@ $lock = $scriptsDir/LockScreen.sh $SwwwRandom = $UserScripts/WallpaperAutoChange.sh # wallpaper stuff / More wallpaper options below -exec-once = swww query || swww init +exec-once = swww query || swww-daemon & exec-once = $SwwwRandom $wallDIR # random wallpaper switcher every 30 minutes # Startup @@ -42,7 +42,7 @@ exec-once = swayidle -w timeout 900 '$lock' #exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # Here are list of features available but disabled by default -#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper +#exec-once = swww query || swww-daemon && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper #gnome polkit for nixos #exec-once = $scriptsDir/Polkit-NixOS.sh diff --git a/config/hypr/UserScripts/WallpaperRandom.sh b/config/hypr/UserScripts/WallpaperRandom.sh index 1737ddf..c2467b0 100755 --- a/config/hypr/UserScripts/WallpaperRandom.sh +++ b/config/hypr/UserScripts/WallpaperRandom.sh @@ -17,7 +17,7 @@ BEZIER=".43,1.19,1,.4" SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER" -swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS +swww query || swww-daemon && swww img ${RANDOMPICS} $SWWW_PARAMS ${scriptsDir}/PywalSwww.sh diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index b833ec8..3288607 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -40,7 +40,7 @@ menu() { printf "$RANDOM_PIC_NAME\n" } -swww query || swww init +swww query || swww-daemon & main() { choice=$(menu | ${rofi_command}) diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index b8a7cd8..bfb7038 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -20,7 +20,7 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then # Initialize pywal and wallpaper if [ -f "$wallpaper" ]; then wal -i $wallpaper -s -t > /dev/null - swww init && $swww $wallpaper $effect + swww-daemon && $swww $wallpaper $effect "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 & fi diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 50b0164..2c1b918 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -17,7 +17,7 @@ light_rofi_pywal="$HOME/.cache/wal/colors-rofi-light.rasi" pkill swaybg # Initialize swww if needed -swww query || swww init +swww query || swww-daemon & # Set swww options swww="swww img" diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 7405140..1b2ac5b 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -20,7 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then notify-send -e -u low -i "$notif" "gamemode enabled. All animations off" exit else - swww init && swww img "$HOME/.config/rofi/.current_wallpaper" + swww-daemon && swww img "$HOME/.config/rofi/.current_wallpaper" sleep 0.1 ${SCRIPTSDIR}/PywalSwww.sh sleep 0.5