Add some rules about floating windows

This commit is contained in:
Yorick Barbanneau 2020-10-31 16:59:47 +01:00
parent d0d8f81e5c
commit 0ae1c297d7

View file

@ -62,9 +62,13 @@ assign [app_id="HomeBank$"] $ws6
assign [app_id="org.inkscape.Inkscape"] $ws7 assign [app_id="org.inkscape.Inkscape"] $ws7
assign [class="Gimp"] $ws7 assign [class="Gimp"] $ws7
for_window [app_id="cal"] resize set height 240 px
# Manage float windows
for_window [app_id="imv"] floating enable
for_window [app_id="org.pwmt.zathura"] floating enable
for_window [app_id="^launcher$"] floating enable, resize set height 400 px, resize set width 800px for_window [app_id="^launcher$"] floating enable, resize set height 400 px, resize set width 800px
for_window [title="Remmina Remote Desktop Client"] floating enable for_window [title="Remmina Remote Desktop Client"] floating enable
for_window [app_id="cal"] resize set height 240 px
# switch to workspace # switch to workspace
bindsym $mod+1 workspace $ws1 bindsym $mod+1 workspace $ws1
@ -154,6 +158,7 @@ mode "resize" {
font pango:FuraCode Nerd Font Mono 10 font pango:FuraCode Nerd Font Mono 10
default_border pixel 1 default_border pixel 1
default_floating_border pixel 1
title_align center title_align center
client.focused #f268b3 #a82d70 #ffffff #f268b3 #f268b3 client.focused #f268b3 #a82d70 #ffffff #f268b3 #f268b3
client.unfocused #000000 #4d3d46 #cccccc #000000 #000000 client.unfocused #000000 #4d3d46 #cccccc #000000 #000000