i3: use floating instead of floating_from

It seems the later does not work with no_focus.
This commit is contained in:
Vincent Bernat 2025-02-18 11:34:09 +01:00
parent f94d7a1438
commit 7451d0937c

12
config
View file

@ -158,14 +158,14 @@ for_window [class="Shadow"] fullscreen enable
for_window [window_role="PictureInPicture"] floating enable, resize set 1280 720
for_window [class="pavucontrol"] floating enable
# Firefox sharing indicator
for_window [floating_from="auto" title="Firefox — Sharing Indicator"] border none, sticky enable, move position 15 ppt -5 px
no_focus [floating_from="auto" title="Firefox — Sharing Indicator"]
for_window [floating title="Firefox — Sharing Indicator"] border none, sticky enable, move position 15 ppt -5 px
no_focus [floating title="Firefox — Sharing Indicator"]
# Chromium sharing indicator
for_window [floating_from="auto" title=" is sharing your screen.$"] border none, sticky enable, move position 15 ppt -5 px
no_focus [floating_from="auto" title=" is sharing your screen.$"]
for_window [floating title=" is sharing your screen.$"] border none, sticky enable, move position 15 ppt -5 px
no_focus [floating title=" is sharing your screen.$"]
# Jitsi sharing indicator
for_window [floating_from="auto" title="Screen Sharing Tracker" instance="jitsi meet"] border none, sticky enable, move position 15 ppt -5 px
no_focus [floating_from="auto" title="Screen Sharing Tracker" instance="jitsi meet"]
for_window [floating title="Screen Sharing Tracker" instance="jitsi meet"] border none, sticky enable, move position 15 ppt -5 px
no_focus [floating title="Screen Sharing Tracker" instance="jitsi meet"]
# Zoom (😱?)
for_window [class="^zoom$" title="^Zoom($|\s)"] floating disable, border pixel $borderpx
for_window [class="^zoom$" title="^zoom"] floating enable, border none