From 73bb31849eaf10ccc1c0208b5aa3b03d5134ddbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Fri, 26 Jan 2024 00:36:59 +0100 Subject: [PATCH] sway: Add idle inhibitors for chat/screenshare stuff --- home-config/dotfiles/sway.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-config/dotfiles/sway.conf b/home-config/dotfiles/sway.conf index 490e334e..256ac977 100644 --- a/home-config/dotfiles/sway.conf +++ b/home-config/dotfiles/sway.conf @@ -68,3 +68,7 @@ bindsym { $mod+Shift+9 move container to workspace 9; workspace 9 $mod+Shift+0 move container to workspace 10; workspace 10 } + +## Idle inhibitors +for_window [title="Element.*" app_id="firefox"] inhibit_idle visible +for_window [title=".*Discord.*" app_id="firefox"] inhibit_idle visible