13 lines
300 B
Bash
Executable File
13 lines
300 B
Bash
Executable File
#!/bin/bash
|
|
|
|
WALLPAPER_DIRECTORY=~/Pictures/Wallpaper
|
|
|
|
WALLPAPER=$(find "$WALLPAPER_DIRECTORY" -type f | shuf -n 1)
|
|
|
|
#hyprctl hyprpaper preload "$WALLPAPER"
|
|
hyprctl hyprpaper wallpaper "eDP-1,$WALLPAPER"
|
|
hyprctl hyprpaper wallpaper "DP-2,$WALLPAPER,contain"
|
|
sleep 1
|
|
|
|
#hyprctl hyprpaper unload unused
|