aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-11 15:38:15 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-11 15:38:15 +0900
commit9c9802171b3a3a239493d1fe6a04f3dc0de00971 (patch)
treefd8d43fb8eda7027be0591ca2965f7c5aadd0a0f /config/hypr
parentfaa4037c2e44e1a94919bee5790d4fd479e3ba6e (diff)
tweak catppuccin waybars, added random wallpaper
Diffstat (limited to 'config/hypr')
-rw-r--r--config/hypr/configs/Execs.conf5
-rwxr-xr-xconfig/hypr/scripts/PywalSwww.sh2
2 files changed, 5 insertions, 2 deletions
diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf
index 7e25d2a5..4112d8b9 100644
--- a/config/hypr/configs/Execs.conf
+++ b/config/hypr/configs/Execs.conf
@@ -2,13 +2,16 @@
$scriptsDir = $HOME/.config/hypr/scripts
$themes = $HOME/.config/hypr/themes
$lock = $scriptsDir/LockScreen.sh
+$SwwwRandom = $scriptsDir/WallpaperRandom.sh
+$WallpaperPath = $HOME/Pictures/wallpapers
# Initial boot script to start Pywal and Set wallpaper. This line and corresponding script can be safely deleted once logged in
exec-once = $HOME/.config/hypr/initial-boot.sh
# wallpaper stuff
exec-once = swww query || swww init
-#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png #using swww utility
+exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 5 minutes
+#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper
# Startup
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
diff --git a/config/hypr/scripts/PywalSwww.sh b/config/hypr/scripts/PywalSwww.sh
index 1532878a..3b577d81 100755
--- a/config/hypr/scripts/PywalSwww.sh
+++ b/config/hypr/scripts/PywalSwww.sh
@@ -17,7 +17,7 @@ for output in "${monitor_outputs[@]}"; do
wallpaper_path=$(cat "$cache_file")
# Copy the wallpaper to the location Rofi can access
- cp "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"
+ ln -sf "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"
break # Exit the loop after processing the first found monitor output
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage