aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Florent de Lamotte <florent.lamotte@gmail.com>2018-11-17 20:06:48 +0100
committerLibravatar Florent de Lamotte <florent.lamotte@gmail.com>2018-11-22 10:30:04 +0100
commit7555c7efdce66c7de7a5320879c501e901a5aab7 (patch)
treed9acff5cb9d0a5e420067602aca11f79fc1aabb7 /sway/sway.5.scd
parentMerge pull request #3158 from emersion/get-outputs-focused (diff)
downloadsway-7555c7efdce66c7de7a5320879c501e901a5aab7.tar.gz
sway-7555c7efdce66c7de7a5320879c501e901a5aab7.tar.zst
sway-7555c7efdce66c7de7a5320879c501e901a5aab7.zip
Adding commands for configuring titlebar borders and padding
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd10
1 files changed, 10 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 1a11015f..6ccb1acf 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -436,6 +436,16 @@ The default colors are:
436*font* <font> 436*font* <font>
437 Sets font for use in title bars in Pango format. 437 Sets font for use in title bars in Pango format.
438 438
439*titlebar\_border\_thickness* <thickness>
440 Thickness of the titlebar border in pixels
441
442*titlebar\_padding* <horizontal> [<vertical>]
443 Padding of the text in the titlebar. _horizontal_ value affects horizontal
444 padding of the text while _vertical_ value affects vertical padding (space
445 above and below text). Padding includes titlebar borders so their value
446 should be greater than titlebar\_border\_thickness. If _vertical_ value is
447 not specified it is set to the _horizontal_ value.
448
439*for\_window* <criteria> <command> 449*for\_window* <criteria> <command>
440 Whenever a window that matches _criteria_ appears, run list of commands. 450 Whenever a window that matches _criteria_ appears, run list of commands.
441 See *CRITERIA* for more details. 451 See *CRITERIA* for more details.