mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-09 12:44:32 +02:00
dimmer: rename to xss-dimer
This commit is contained in:
parent
e84885e47a
commit
f7e0fd5250
4 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ configure() {
|
||||||
xset dpms $((timeout * 2)) $((timeout * 22 / 10)) $((timeout * 24 / 10))
|
xset dpms $((timeout * 2)) $((timeout * 22 / 10)) $((timeout * 24 / 10))
|
||||||
}
|
}
|
||||||
dimmer() {
|
dimmer() {
|
||||||
systemctl --user $1 dimmer@$notify.service
|
systemctl --user $1 xss-dimmer@$notify.service
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Screen dimmer
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=%h/.config/i3/bin/dimmer --delay=%i --font "Monkey Island 1991"
|
|
5
dotfiles/systemd/xss-dimmer@.service
Normal file
5
dotfiles/systemd/xss-dimmer@.service
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Screen dimmer
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=%h/.config/i3/bin/xss-dimmer --delay=%i --font "Monkey Island 1991"
|
Loading…
Add table
Add a link
Reference in a new issue