Initial commit
This commit is contained in:
commit
5f78d74eca
178 changed files with 1952 additions and 0 deletions
11
.local/bin/scripts/wallpaper
Executable file
11
.local/bin/scripts/wallpaper
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
directory=$XDG_DATA_HOME/wallpapers
|
||||
|
||||
if [ -d "$directory" ]; then
|
||||
random_background=$(ls $directory/*.{JPG,jpg,png} | shuf -n 1)
|
||||
|
||||
hyprctl hyprpaper unload all
|
||||
hyprctl hyprpaper preload $random_background
|
||||
hyprctl hyprpaper wallpaper ",$random_background"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue