sway: improve border/titlebar-handling, switch with mod+shift+b

This commit is contained in:
Konstantin Koslowski 2021-01-28 21:50:42 +01:00
parent b2044b1cc0
commit dfe9253d05

13
config
View file

@ -37,6 +37,17 @@ focus_wrapping no
mouse_warping container
# floating_maximum_size 1600 x 900
font pango:$font
hide_edge_borders --i3 smart
smart_gaps off
default_border pixel 4
#
# Gaps
#
gaps inner 5
gaps outer 0
gaps left 0
gaps right 0
### Output configuration
output * bg $background fill
@ -157,6 +168,7 @@ bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
bindsym $mod+Shift+b border toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
@ -244,6 +256,7 @@ for_window [class=".*"] title_format '<span font_weight="bold">%title</span> <sp
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
gaps 3 5
status_command i3status-rs $HOME/.config/sway/i3status.d/$(hostname).toml
font $font
colors {