From 3677884067562f86f610381645121a762413bf31 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 20 Apr 2024 07:10:54 +0900 Subject: [PATCH] replace swww init with swww-daemon --format xrgb --- config/hypr/UserConfigs/Startup_Apps.conf | 4 ++-- config/hypr/UserScripts/WallpaperRandom.sh | 2 +- config/hypr/UserScripts/WallpaperSelect.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 8ccbfa6..da0e156 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 --format xrgb 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 swww-daemon --format xrgb && 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..acc5047 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 swww-daemon --format xrgb && swww img ${RANDOMPICS} $SWWW_PARAMS ${scriptsDir}/PywalSwww.sh diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index b833ec8..8aa9bdd 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 --format xrgb main() { choice=$(menu | ${rofi_command})