mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 12:10:38 +02:00
Update .config/hypr/hyprland/binds/theme.conf Update .config/hypr/hyprland/binds/waybar.conf Update .config/hypr/hyprland/decoration.conf Update .config/hypr/hyprland/exec.conf Update .config/hypr/hyprpaper.conf Update .config/mako/config Update .config/nvim/lazy-lock.json Update .config/waybar/colors.css Update .config/wofi/colors Update .local/bin/change_colors.sh Update .local/bin/change_wallpaper.sh
19 lines
362 B
Bash
19 lines
362 B
Bash
#!/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
|