chezmoi/dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-udev/95-usb.rule
2020-07-13 14:31:48 +02:00

5 lines
223 B
Plaintext

KERNEL=="sd*", ACTION=="add", ATTR{removable}=="1", \
RUN+="/home/user/.config/polybar/system-usb-mount.sh --update"
KERNEL=="sd*", ACTION=="remove", \
RUN+="/home/user/.config/polybar/system-usb-mount.sh --update"