usability improvements
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
# avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = "pidof hyprlock || hyprlock --immediate-render --no-fade-in";
|
||||
lock_cmd = "pidof hyprlock || hyprlock --immediate-render --no-fade-in";
|
||||
# See: https://github.com/hyprwm/hypridle/issues/146
|
||||
before_sleep_cmd = "hyprlock --no-fade-in";
|
||||
lock_cmd = "hyprlock";
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
};
|
||||
@@ -22,7 +22,7 @@
|
||||
{
|
||||
# dim screen after 2 minutes
|
||||
timeout = 120;
|
||||
on-timeout = "brightnessctl -s set 2";
|
||||
on-timeout = "brightnessctl -s set 2%";
|
||||
on-resume = "brightnessctl -r";
|
||||
# monitor backlight restore.
|
||||
}
|
||||
@@ -40,6 +40,5 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user