Add -replace to all rofi launchers

This commit is contained in:
Stephan Raabe
2023-11-13 13:37:27 +01:00
parent 579f8a8cdd
commit afd1476f93
11 changed files with 12 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ case $1 in
# Select wallpaper with rofi
"select")
selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -config ~/dotfiles/rofi/config-wallpaper.rasi)
selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -replace -config ~/dotfiles/rofi/config-wallpaper.rasi)
if [ ! "$selected" ]; then
echo "No wallpaper selected"
exit