helm/base/arch/bin/notify-mount

6 lines
220 B
Plaintext
Raw Normal View History

#!/usr/bin/env zsh
2016-12-28 21:20:10 -08:00
# A script run by devmon/udevil when a device is mounted or unmounted, notifying me.
DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send -a "devmon" "Device change" "$2"
ding