From c8ed82901b8bc05bcf72b1d0778f523b14dd9294 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 23 May 2024 10:27:51 +0300 Subject: sway: Adjust for swayidle --- .config/sway/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config') diff --git a/.config/sway/config b/.config/sway/config index dc3ceb6..433c1f0 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -44,6 +44,9 @@ smart_borders on for_window [app_id="Nautilus"] floating enable for_window [app_id="Nautilus"] resize set height 540 for_window [app_id="Nautilus"] resize set width 960 + # Inhibit idle on fullscreen + for_window [app_id=".*"] inhibit_idle fullscreen + for_window [class=".*"] inhibit_idle fullscreen # Sticky floating windows(sticky enable|disable|toggle) for_window [app_id="danmufloat"] floating enable @@ -266,4 +269,4 @@ bindsym Shift+Ctrl+Up resize grow height 5 px or 5 ppt bindsym Shift+Ctrl+Down resize shrink height 5 px or 5 ppt bindsym Shift+Ctrl+Right resize grow width 5 px or 5 ppt -exec swayidle -w timeout 360 swaylock before-sleep swaylock \ No newline at end of file +exec swayidle -w timeout 960 swaylock before-sleep swaylock \ No newline at end of file -- cgit v1.2.3