add cross reference to directive default_border from command border (#4273)

Added a couple of examples to make usage clearer with a cursory glance.
This commit is contained in:
Kjetil Torgrim Homme 2021-05-20 21:47:20 +02:00 committed by GitHub
parent d65a7ed250
commit 2245db63ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -608,9 +608,10 @@ Default is +left+
title_align left|center|right
---------------------------------------------
[[default_border]]
=== Default border style for new windows
This option determines which border style new windows will have. The default is
This option determines which border style *new* windows will have. The default is
+normal+. Note that default_floating_border applies only to windows which are starting out as
floating windows, e.g., dialog windows, but not windows that are floated later on.
@ -2647,10 +2648,16 @@ border 1pixel
bindsym $mod+t border normal 0
# use no window title and a thick border
bindsym $mod+y border pixel 3
# use window title *and* a thick border
bindsym $mod+y border normal 3
# use neither window title nor border
bindsym $mod+u border none
# no border on VLC
for_window [class="vlc"] border none
----------------------------------------------
To change the default for all windows, see the directive <<default_border>>.
[[shmlog]]
=== Enabling shared memory logging