Browse Source

replace swww init with swww-daemon --format xrgb

pull/204/head
JaKooLit 2 years ago
parent
commit
3677884067
  1. 4
      config/hypr/UserConfigs/Startup_Apps.conf
  2. 2
      config/hypr/UserScripts/WallpaperRandom.sh
  3. 2
      config/hypr/UserScripts/WallpaperSelect.sh

4
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

2
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

2
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})

Loading…
Cancel
Save