summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config5
1 files changed, 4 insertions, 1 deletions
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