From dcd9660ec5d36a1ea1c1e549892d8025f2e5eba3 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Wed, 25 Nov 2020 06:44:45 -0700 Subject: Better behavior with pop ups --- .config/i3/config | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.config/i3/config') diff --git a/.config/i3/config b/.config/i3/config index 317b398..6d2a815 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -6,8 +6,8 @@ exec_always feh --bg-fill ~/pix/wp/starwars_1.png focus_on_window_activation urgent for_window [class=".*"] border pixel 2 -gaps inner 0 -gaps outer 0 +gaps inner 5 +gaps outer 10 set $mod Mod4 font pango:monospace 10 ## Gaps defaults. @@ -77,18 +77,22 @@ font pango:monospace 10 # WS5 assign [class="vlc"] $ws5 # WS6 - assign [class="Google-chrome"] $ws6 + # The title regex is a negative lookahead. + assign [class="Google-chrome" title="^(?!Save File).*$"] $ws6 # WS7 assign [class="TelegramDesktop"] $ws7 # WS8 # WS9 assign [class="discord"] $ws9 assign [class="Steam"] $ws9 + assign [title="steam"] $ws9 # WS10 for_window [class="Spotify"] move to workspace $ws10 ## Window properties for windows. for_window [class="Yad"] floating enable for_window [class="mogli"] floating enable + # for_window [title="Picture in picture"] resize set 640 360 px, move position 1270 30, move to output $mon1 + for_window [class="Google-chrome" instance="crx_kmfikkopdhmbdbkndkamabamlkkgkpod"] floating enable, resize set 640 360, move position 1270 30, move to output $mon1 # Steam specific. for_window [class="Steam" title="Steam Guard"] floating enable for_window [class="Steam" title="Steam - News"] floating enable -- cgit v1.2.3-54-g00ecf