i3: apply same style for Chrome sharing indicator

This commit is contained in:
Vincent Bernat 2022-02-28 11:40:35 +01:00
parent d9a4b7c2d5
commit effdf7dd95

5
config
View file

@ -150,8 +150,13 @@ for_window [class="Nm-connection-editor"] floating enable
for_window [class="Shadow"] fullscreen enable for_window [class="Shadow"] fullscreen enable
for_window [window_role="PictureInPicture"] floating enable for_window [window_role="PictureInPicture"] floating enable
for_window [class="Pavucontrol"] 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 for_window [title="Firefox — Sharing Indicator"] border pixel 1, sticky enable, move position 20 ppt -5 px
no_focus [title="Firefox — Sharing Indicator"] no_focus [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.$"]
# 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 disable, border pixel $borderpx
for_window [class="zoom" instance="zoom" title="^zoom$"] floating enable, border pixel 0 for_window [class="zoom" instance="zoom" title="^zoom$"] floating enable, border pixel 0
no_focus [class="zoom" instance="zoom" title="^zoom$"] no_focus [class="zoom" instance="zoom" title="^zoom$"]