aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-24 08:59:01 +0100
committerGitHub <noreply@github.com>2018-11-24 08:59:01 +0100
commitd440468d2deb31d311564a5b796608136cf99e49 (patch)
tree01e58548cb5199ef8a682c8634655aeeef51d0b8 /sway/sway.5.scd
parentd9ed1f080b23067db432b358a5d15b9c94d2c59d (diff)
parent7555c7efdce66c7de7a5320879c501e901a5aab7 (diff)
downloadsway-d440468d2deb31d311564a5b796608136cf99e49.tar.xz
Merge pull request #3145 from fdlamotte/master
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:
*font* <font>
Sets font for use in title bars in Pango format.
+*titlebar\_border\_thickness* <thickness>
+ Thickness of the titlebar border in pixels
+
+*titlebar\_padding* <horizontal> [<vertical>]
+ Padding of the text in the titlebar. _horizontal_ value affects horizontal
+ padding of the text while _vertical_ value affects vertical padding (space
+ above and below text). Padding includes titlebar borders so their value
+ should be greater than titlebar\_border\_thickness. If _vertical_ value is
+ not specified it is set to the _horizontal_ value.
+
*for\_window* <criteria> <command>
Whenever a window that matches _criteria_ appears, run list of commands.
See *CRITERIA* for more details.