mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
19 lines
362 B
Bash
Executable File
19 lines
362 B
Bash
Executable File
#!/bin/bash
|
|
|
|
case $1 in
|
|
"sfw")
|
|
wallpaper=$(find ~/Obrazy/tapety/sfw/ -type f | wofi --dmenu)
|
|
;;
|
|
"nsfw")
|
|
wallpaper=$(find ~/Obrazy/tapety/nsfw/ -type f | wofi --dmenu)
|
|
;;
|
|
*)
|
|
echo "Please choose nsfw or sfw"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
if [[ -n $wallpaper ]];then
|
|
hyprctl hyprpaper reload ,$wallpaper
|
|
fi
|