aboutsummaryrefslogtreecommitdiff
path: root/dmenu-unmount
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu-unmount')
-rwxr-xr-xdmenu-unmount4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmenu-unmount b/dmenu-unmount
index c0b387a..2c59ec4 100755
--- a/dmenu-unmount
+++ b/dmenu-unmount
@@ -1,10 +1,10 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Prompts selection for mounted devices and unmounts the selected one 3# Prompts selection for mounted devices and unmounts the selected one
4# Requires: udevil, dmenu (or similar), notify-send (optional) 4# Requires: udevil, dmenu (or similar), notify-send or similar (optional)
5 5
6menu=${MENU:-dmenu} 6menu=${MENU:-dmenu}
7writeout="notify-send" # Change this to whatever you want, e.g. echo 7writeout=herbe # Change this to whatever you want, e.g. echo or notify-send
8 8
9listdev=$(grep "media" /proc/mounts | sed 's/\/media.*\///g' | \ 9listdev=$(grep "media" /proc/mounts | sed 's/\/media.*\///g' | \
10 awk '{print $1" ("$2")"}') 10 awk '{print $1" ("$2")"}')

Generated with cgit - Back to sebastiano.tronto.net