vincentbernat.i3wm-configur.../dotfiles/systemd/xss-dimmer@.service
Vincent Bernat 131962b3a6 xss-dimmer: play a sound to notice dimmer when not looking at the screen
Second try, but tell SDL to install a signal handler.
2022-05-11 21:01:08 +02:00

7 lines
286 B
Desktop File

[Unit]
Description=Screen dimmer
[Service]
ExecStart=%h/.config/i3/bin/xss-dimmer --delay=%i \
--background=%t/i3/current-wallpaper.png \
--sound=/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga