From 6feac7c2509ba9c220915f28899b72910500f14a Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Thu, 7 Dec 2023 00:16:30 +0100 Subject: [PATCH] fix wallpaper script --- modules/home/scripts/scripts/wallpaper-picker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/scripts/scripts/wallpaper-picker.sh b/modules/home/scripts/scripts/wallpaper-picker.sh index ee2802b..1c2bece 100644 --- a/modules/home/scripts/scripts/wallpaper-picker.sh +++ b/modules/home/scripts/scripts/wallpaper-picker.sh @@ -2,7 +2,7 @@ wallpaper_path=$HOME/Pictures/wallpapers wallpapers_folder=$HOME/Pictures/wallpapers/others -wallpaper_name="$(ls $wallpapers_folder | wofi -n --show dmenu --sort-order=alphabetical)" +wallpaper_name="$(ls $wallpapers_folder | wofi --show dmenu --sort-order=alphabetical)" if [[ -f $wallpapers_folder/$wallpaper_name ]]; then find ~/Pictures/wallpapers -maxdepth 1 -type f -delete cp $wallpapers_folder/$wallpaper_name $wallpaper_path/$wallpaper_name