Compare commits
2 commits
62eebe2012
...
74ef77bb1f
Author | SHA1 | Date | |
---|---|---|---|
74ef77bb1f | |||
ea7608e793 |
2 changed files with 7 additions and 2 deletions
|
@ -32,10 +32,15 @@ in {
|
||||||
|
|
||||||
listener = [
|
listener = [
|
||||||
{
|
{
|
||||||
timeout = 60 * 1;
|
timeout = 60;
|
||||||
on-timeout = "${lib.getExe pkgs.brightnessctl} -c backlight -s set 20"; # dim screen, save brightness state
|
on-timeout = "${lib.getExe pkgs.brightnessctl} -c backlight -s set 20"; # dim screen, save brightness state
|
||||||
on-resume = "${lib.getExe pkgs.brightnessctl} -c backlight -r"; # restore previous screen brightness state
|
on-resume = "${lib.getExe pkgs.brightnessctl} -c backlight -r"; # restore previous screen brightness state
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
timeout = 60;
|
||||||
|
on-timeout = "${lib.getExe pkgs.brightnessctl} -d '*:kbd_backlight' -s set 0"; # turn off keyboard backlight, save state
|
||||||
|
on-resume = "${lib.getExe pkgs.brightnessctl} -d '*:kbd_backlight' -r"; # restore previous keyboard backlight state
|
||||||
|
}
|
||||||
{
|
{
|
||||||
timeout = 90; # 1.5 min
|
timeout = 90; # 1.5 min
|
||||||
on-timeout = "${hyprctl} dispatch dpms off"; # turn off screen
|
on-timeout = "${hyprctl} dispatch dpms off"; # turn off screen
|
||||||
|
|
|
@ -13,7 +13,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitFull;
|
package = pkgs.gitFull;
|
||||||
|
|
||||||
userName = ''Reid "reidlab"'';
|
userName = ''reidlab'';
|
||||||
userEmail = "reidlab325@gmail.com";
|
userEmail = "reidlab325@gmail.com";
|
||||||
|
|
||||||
signing = {
|
signing = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue