mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 12:08:49 +02:00
xss-dimmer: ensure dimmer don't block normal lock operations
This commit is contained in:
parent
7b1c7c13d5
commit
1db8eace7f
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ configure() {
|
||||||
xset dpms $((timeout * 3)) $((timeout * 32 / 10)) $((timeout * 34 / 10))
|
xset dpms $((timeout * 3)) $((timeout * 32 / 10)) $((timeout * 34 / 10))
|
||||||
}
|
}
|
||||||
dimmer() {
|
dimmer() {
|
||||||
systemctl --user $1 xss-dimmer@$notify.service
|
systemctl --user --no-block $1 xss-dimmer@$notify.service
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
|
@ -4,3 +4,4 @@ Description=Screen dimmer
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/.config/i3/bin/xss-dimmer --delay=%i \
|
ExecStart=%h/.config/i3/bin/xss-dimmer --delay=%i \
|
||||||
--background=%t/i3/current-wallpaper.png
|
--background=%t/i3/current-wallpaper.png
|
||||||
|
TimeoutSec=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue