helm/base/arch-desktop/scripts/install-udevil.sh
2017-12-13 18:28:21 -05:00

9 lines
261 B
Bash
Executable file

#!/usr/bin/env zsh
sudo pacman --noconfirm --needed -S udevil devmon
sudo systemctl enable devmon@$USER
sudo systemctl start devmon@$USER
ARCH=$(cd "${0:A:h}/.." && pwd)
sudo sed -i "s@^# \(success_exec =\)@\1 $ARCH/bin/notify-mount@" /etc/udevil/udevil.conf