summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-23 10:27:51 +0300
committerThanos Apollo <[email protected]>2024-05-23 10:27:51 +0300
commitc8ed82901b8bc05bcf72b1d0778f523b14dd9294 (patch)
tree171fd619b128e33458574fa3cdb39b3cd38db801 /.config/sway/config
parentf96100526e276133e5c4cdc3f931d9a4e4e77e49 (diff)
sway: Adjust for swayidle
Diffstat (limited to '.config/sway/config')
-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