@@ -142,6 +142,26 @@
|
||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||
];
|
||||
|
||||
services.hypridle.settings = lib.mkForce {
|
||||
listener = [
|
||||
{
|
||||
timeout = 60;
|
||||
on-timeout = "brightnessctl -d intel_backlight -s set 5%";
|
||||
on-resume = "brightnessctl -d intel_backlight -r";
|
||||
}
|
||||
{
|
||||
timeout = 60;
|
||||
on-timeout = "brightnessctl -d asus::kbd_backlight -s set 0%";
|
||||
on-resume = "brightnessctl -d asus::kbd_backlight -r";
|
||||
}
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
theme = {
|
||||
template.".config/asusctl/keyboard".source =
|
||||
pkgs.writeText ".config/asusctl/keyboard" "{{colors.primary_container.default.hex_stripped}}";
|
||||
|
@@ -70,6 +70,7 @@ in
|
||||
(import ../../../common/configs/user/gui/gaming/proton { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/gaming/wivrn { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/hypridle { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/hyprpicker { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/hyprshot { inherit user home; })
|
||||
|
Reference in New Issue
Block a user