aboutsummaryrefslogtreecommitdiff
path: root/dmenu-unmount
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
commit6f45972265b532365421658f1370742bb82b757b (patch)
treec293262456ba35ae5c1b778684527ed5c70c7ad1 /dmenu-unmount
parent547311be5f6d90f36022a6e5e6fdbfb26862fd75 (diff)
downloadscripts-6f45972265b532365421658f1370742bb82b757b.tar.gz
scripts-6f45972265b532365421658f1370742bb82b757b.zip
Changed default notification system to herbe
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