From ac47c8be9c145a486c00fe5c8b5f2690b78c3987 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 28 Feb 2022 11:45:11 +0100 Subject: [PATCH] i3: restrict rules for Chromium/Firefox sharing indicator to floating windows This seems safer. --- config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config b/config index f311f5b..b716401 100644 --- a/config +++ b/config @@ -151,11 +151,11 @@ for_window [class="Shadow"] fullscreen enable for_window [window_role="PictureInPicture"] floating enable for_window [class="Pavucontrol"] floating enable # Firefox sharing indicator -for_window [title="Firefox — Sharing Indicator"] border pixel 1, sticky enable, move position 20 ppt -5 px -no_focus [title="Firefox — Sharing Indicator"] +for_window [floating_from="auto" title="Firefox — Sharing Indicator"] border pixel 1, sticky enable, move position 20 ppt -5 px +no_focus [floating_from="auto" title="Firefox — Sharing Indicator"] # Chromium sharing indicator -for_window [title=" is sharing your screen.$"] border pixel 1, sticky enable, move position 20 ppt -5 px -no_focus [title=" is sharing your screen.$"] +for_window [floating_from="auto" title=" is sharing your screen.$"] border pixel 1, sticky enable, move position 20 ppt -5 px +no_focus [floating_from="auto" title=" is sharing your screen.$"] # Zoom random rules for_window [class="zoom" instance="zoom" title="^Zoom"] floating disable, border pixel $borderpx for_window [class="zoom" instance="zoom" title="^zoom$"] floating enable, border pixel 0