From 161209e02d88cf8aa11e8916a8e87d027a396f81 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Fri, 19 Mar 2021 11:59:18 +0200 Subject: [PATCH] Make esteid windows floating --- .config/sway/config | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 27014aa..106ef67 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -262,12 +262,15 @@ bindsym XF86MonBrightnessDown exec brightnessctl -m set 5%- | cut -d',' -f4 | cu # Authy 2FA window for_window [title="^Authy$"] floating enable # EstEID -for_window [class="chrome-token-signing"] floating enable +for_window [app_id="chrome-token-signing"] floating enable +# Firefox PIN1 certificate selection dialog +for_window [title="^Kasutaja.*"] floating enable # Launcher for_window [class="Rofi"] floating enable # Firefox about window for_window [instance="Browser" window_role="About"] floating enable + # JetBrains # Fix rendering of jetbrains splash screen for_window [class="jetbrains-*" title="win0"] { @@ -277,6 +280,13 @@ for_window [class="jetbrains-*" title="win0"] { # move up 300px } +for_window [title="Microsoft Teams Notification" class="microsoft teams - preview"] floating enable +for_window [title="Microsoft Teams Notification" class="Microsoft Teams - Preview"] floating enable +no_focus [title="Microsoft Teams Notification"] +no_focus [title="Slack | mini panel"] +for_window [title="Microsoft Teams Notification"] move absolute position 0 px 0 px +for_window [title="Slack | mini panel"] move absolute position 2570 px 10 px + # screenshots bindsym Print exec ~/.bin/wscreenshot.py bindsym Print+Shift exec ~/.bin/wscreenshot.py --region @@ -335,12 +345,4 @@ input 1267:32:Elan_TrackPoint { accel_profile "flat" } -for_window [title="Microsoft Teams Notification" class="microsoft teams - preview"] floating enable -for_window [title="Microsoft Teams Notification" class="Microsoft Teams - Preview"] floating enable -no_focus [title="Microsoft Teams Notification"] -no_focus [title="Slack | mini panel"] -for_window [title="Microsoft Teams Notification"] move absolute position 0 px 0 px -for_window [title="Slack | mini panel"] move absolute position 2570 px 10 px - - include /etc/sway/config.d/*