From 7d983ff5294fe2a13fdd43693914a8424e0e168f Mon Sep 17 00:00:00 2001 From: M1dgard Date: Thu, 10 May 2018 23:52:51 +0200 Subject: [PATCH] Update floating rules Tor browser has changed class, it's now the same as Firefox, so resort to matching the title. OpenBVE pretends it's a modal, so force disable floating for it. --- i3/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/i3/config b/i3/config index 518d21a..259a459 100644 --- a/i3/config +++ b/i3/config @@ -260,11 +260,12 @@ exec_always --no-startup-id "$HOME/.config/i3/background.sh" # Specific rules # {{{1 ################## -for_window [class="Tor Browser"] floating enable +for_window [title="Tor Browser$"] floating enable for_window [class="Peek"] floating enable for_window [class="org-openstreetmap-josm-gui-MainApplication" instance="sun-awt-X11-XDialogPeer" title="^Download$|^Mapillary image|^Geotagged Images"] floating disable for_window [class="Nextcloud" instance="nextcloud"] floating disable for_window [class="Xfce4-settings-manager"] floating disable +for_window [title="^openBVE$"] floating disable # class border backgr. text indicator child_border client.focused #293123 #293123 #ffffff #2ef49e #285577