Hyprland dotfiles
| 1 | #!/bin/bash |
| 2 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## |
| 3 | # source https://wiki.archlinux.org/title/Hyprland#Using_a_script_to_change_wallpaper_every_X_minutes |
| 4 | |
| 5 | # This script will randomly go through the files of a directory, setting it |
| 6 | # up as the wallpaper at regular intervals |
| 7 | # |
| 8 | # NOTE: this script uses bash (not POSIX shell) for the RANDOM variable |
| 9 | |
| 10 | wallust_refresh=/.config/hypr/scripts/RefreshNoWaybar.sh |
| 11 | |
| 12 | focused_monitor= |
| 13 | |
| 14 | if || ; then |
| 15 | |
| 16 | |
| 17 | |
| 18 | fi |
| 19 | |
| 20 | # Edit below to control the images transition |
| 21 | |
| 22 | |
| 23 | |
| 24 | # This controls (in seconds) when to switch to the next image |
| 25 | INTERVAL=1800 |
| 26 | |
| 27 | while ; do |
| 28 | |
| 29 | | while ; do |
| 30 | |
| 31 | done |
| 32 | | | |
| 33 | | while ; do |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | done |
| 39 | done |