mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: changed some shit up
This commit is contained in:
parent
4d8d534088
commit
241f8063cf
114 changed files with 1356 additions and 168 deletions
22
home/modules/hypr/idle/config/settings.nix
Executable file
22
home/modules/hypr/idle/config/settings.nix
Executable file
|
@ -0,0 +1,22 @@
|
|||
{pkgs, ...}: {
|
||||
general = {
|
||||
lock_cmd = "pidof swaylock || swaylock";
|
||||
before_sleep_cmd = "loginctl lock-session";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 150;
|
||||
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -s set 0";
|
||||
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -r";
|
||||
}
|
||||
{
|
||||
timeout = 150;
|
||||
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -sd rgb:kbd_backlight set 0";
|
||||
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -rd rgb:kbd_backlight";
|
||||
}
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "systemctl suspend";
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue