9 lines
261 B
Bash
Executable file
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
|