helm/base/arch/bin/notify-mount
2017-12-08 12:41:30 -05:00

6 lines
220 B
Bash
Executable file

#!/usr/bin/env zsh
# 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