home: swaylock: simplify dim screen

This commit is contained in:
Guanran Wang 2024-01-21 16:44:27 +08:00
parent a0ecd0b0cb
commit 653959f5b7
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -16,8 +16,8 @@
timeouts = [ timeouts = [
{ {
timeout = 60 * 9; timeout = 60 * 9;
command = "${brightness} set $(($(${brightness} get)/4))"; command = "${brightness} set 75%-";
resumeCommand = "${brightness} set $(($(${brightness} get)*4))"; resumeCommand = "${brightness} set 75%+";
} # dim screen } # dim screen
{ {
timeout = 60 * 10; timeout = 60 * 10;