Bring back inhibit_idle

This commit is contained in:
Victor Mignot 2024-04-14 16:51:39 +02:00
parent 2709850f43
commit 9343275d4a
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -10,7 +10,6 @@ with lib;
let
isQwerty = keymap == "us";
gnomeSchema = "org.gnome.desktop.interface";
rendererLine = "export WLR_RENDERER=vulkan";
monitorModule = types.submodule {
options = {
name = mkOption { type = types.str; };
@ -226,11 +225,12 @@ in
};
extraConfig = ''
for_window [class=".*"] inhibit_idle fullscreen
for_window [app_id=".*"] inhibit_idle fullscreen
default_border pixel
'';
extraSessionCommands = ''
${rendererLine}
export WLR_NO_HARDWARE_CURSORS=1
export XDG_CURRENT_DESKTOP=sway
export _JAVA_AWT_WM_NONREPARENTING=1