Add missing script
This commit is contained in:
parent
22b5f01d89
commit
9b440fb306
2 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
WALLPAPER_DIR="$HOME/.config/wallpapers/"
|
||||
CURRENT_WALL=$(hyprctl hyprpaper listloaded)
|
||||
|
||||
# Get a random wallpaper that is not the current one
|
||||
WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALL")" | shuf -n 1);
|
||||
|
||||
# Apply the selected wallpaper
|
||||
hyprctl hyprpaper reload ,"$WALLPAPER"
|
BIN
private_dot_config/hypr/wp/wpold2.jpg
Normal file
BIN
private_dot_config/hypr/wp/wpold2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
Loading…
Add table
Reference in a new issue