From 8b23576ddfda7b1da9d37183625657c20f73f651 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 1 Mar 2025 22:26:14 +0100 Subject: [PATCH] feat: move to dmenu in wallpaper script --- modules/home/scripts/scripts/wallpaper-picker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/scripts/scripts/wallpaper-picker.sh b/modules/home/scripts/scripts/wallpaper-picker.sh index 1c2bece..899ad1a 100755 --- a/modules/home/scripts/scripts/wallpaper-picker.sh +++ b/modules/home/scripts/scripts/wallpaper-picker.sh @@ -2,11 +2,11 @@ wallpaper_path=$HOME/Pictures/wallpapers wallpapers_folder=$HOME/Pictures/wallpapers/others -wallpaper_name="$(ls $wallpapers_folder | wofi --show dmenu --sort-order=alphabetical)" +wallpaper_name="$(ls $wallpapers_folder | bemenu -l 15)" if [[ -f $wallpapers_folder/$wallpaper_name ]]; then find ~/Pictures/wallpapers -maxdepth 1 -type f -delete cp $wallpapers_folder/$wallpaper_name $wallpaper_path/$wallpaper_name wall-change $wallpaper_path/$wallpaper_name else exit 1 -fi \ No newline at end of file +fi