summaryrefslogtreecommitdiff
path: root/home/wayland
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-01-05 14:45:48 +0530
committersinanmohd <sinan@sinanmohd.com>2025-01-05 14:45:48 +0530
commitf00de0e8a0b0fa35820edc0eb1e63713d085c9aa (patch)
treeec36da163a8af44fd996bd52feda088b647c234e /home/wayland
parentbfd94a4a3b99f8a1877e1ca378def927960068e3 (diff)
home/wayland/swayidle: bump timeout
Diffstat (limited to 'home/wayland')
-rw-r--r--home/wayland/modules/sway/swayidle.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/wayland/modules/sway/swayidle.nix b/home/wayland/modules/sway/swayidle.nix
index 8e5c208..fd23f41 100644
--- a/home/wayland/modules/sway/swayidle.nix
+++ b/home/wayland/modules/sway/swayidle.nix
@@ -51,7 +51,7 @@ in {
timeouts = [
{
- timeout = minute * 4;
+ timeout = minute * 30;
command =
"${brightnessctl} --save; "
+ "${brightnessctl} set 10%-";
@@ -59,12 +59,12 @@ in {
}
{
- timeout = minute * 5;
+ timeout = minute * 31;
command = swaylock;
}
{
- timeout = minute * 10;
+ timeout = minute * 32;
command =
"${swaymsg} --type command 'output * dpms off'; "
+ "${brightnessctl} -c leds -d platform::kbd_backlight --save; "