fixed syntax in rofi-umount
This commit is contained in:
@@ -25,8 +25,7 @@ awk '{print $1}')
|
||||
test -z "$chosen" && exit 0
|
||||
|
||||
sudo -A umount $chosen && \
|
||||
notify-send "💻 USB unmounting" "$chosen unmounted." -a "dumount" || \
|
||||
notify-send "💻 USB unmounting" "$chosen unmounting failed." -a "dumount"
|
||||
notify-send "💻 USB unmounting" "$chosen unmounted." -a "dumount"
|
||||
|
||||
end
|
||||
|
||||
@@ -36,9 +35,8 @@ set chosen (echo $androids | rofi -dmenu -i -p "Unmount which device?")
|
||||
|
||||
test -z "$chosen" && exit 0
|
||||
|
||||
sudo -A umount -l $chosen && |
|
||||
notify-send "🤖 Android unmounting" "$chosen unmounted." -a "dumount" || \
|
||||
notify-send "🤖 Android unmounting" "$chosen failed to unmount." -a "dumount"
|
||||
sudo -A umount -l $chosen && \
|
||||
notify-send "🤖 Android unmounting" "$chosen unmounted." -a "dumount"
|
||||
|
||||
end
|
||||
|
||||
@@ -49,8 +47,7 @@ set chosen (echo "$cds" | rofi -dmenu -i -p "Unmount which CD?")
|
||||
test -z "$chosen" && exit 0
|
||||
|
||||
sudo -A umount -l $chosen && \
|
||||
notify-send "💿 CD unmounting" "$chosen unmounted." -a "dumount" || \
|
||||
notify-send "💿 CD unmounting" "$chosen failed to unmount." -a "dumount"
|
||||
notify-send "💿 CD unmounting" "$chosen unmounted." -a "dumount"
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user