Here I Store some udev rules I use in my system.
- xpub
- autorandr
- dunst
Detect plug/unplug of HDMI Cable, and use autorandr --change
command to load a screen profile.
Then use dunstify
command from dunst to send a notification.
- xpub
Send notifications about laptop battery:
- When plug/unplug on power supply.
- When battery is low.