From d254d3d0b630c9eb1a52683d0993ceac86630754 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Wed, 13 Mar 2024 05:44:48 +0900 Subject: removal of extra # to align with new hyprlang requirement. Credit goes to @@Ryuuyas --- config/hypr/UserScripts/WallpaperSelect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/UserScripts/WallpaperSelect.sh') diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 663fb540..b833ec8c 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -1,5 +1,5 @@ #!/bin/bash -## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # This script for selecting wallpapers (SUPER W) SCRIPTSDIR="$HOME/.config/hypr/scripts" -- cgit v1.2.3 From 3677884067562f86f610381645121a762413bf31 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 20 Apr 2024 07:10:54 +0900 Subject: 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(-) (limited to 'config/hypr/UserScripts/WallpaperSelect.sh') diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 8ccbfa63..da0e156d 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 1737ddfc..acc50471 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 b833ec8c..8aa9bdd8 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}) -- cgit v1.2.3