summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-11-25 06:44:45 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-11-25 06:44:45 -0700
commitdcd9660ec5d36a1ea1c1e549892d8025f2e5eba3 (patch)
treefcc4973b8c6527e156593a3d189f35bb65803ef0
parentabd3645d4f4ca49b00b3593df50ef80dac0a4a25 (diff)
Better behavior with pop ups
-rw-r--r--.config/i3/config10
1 files changed, 7 insertions, 3 deletions
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