first upload

This commit is contained in:
2025-04-08 15:56:39 +03:00
commit 8ea248d4e6
21 changed files with 3596 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
interval=300
walldir=~/Pictures/Wallpapers
monitor=$(hyprctl monitors | grep Monitor | awk '{print $2}')
while true; do
img=$(find "$walldir" -type f | shuf -n 1) # Выбираем случайное изображение
hyprctl hyprpaper unload all
hyprctl hyprpaper preload "$img"
hyprctl hyprpaper wallpaper "$monitor, $img"
sleep $interval
done