diff options
author | Dave Davenport <qball@blame.services> | 2021-06-15 17:18:34 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2021-06-15 17:18:34 +0200 |
commit | 4c1a74e15ed3fe35538a00d5351cebfd7ab574af (patch) | |
tree | b96f16aff80f9d40445199987ce3a5f102fa33ce /doc/rofi-theme.5.markdown | |
parent | f72bae02bb846af0091ff083e34325314907ea52 (diff) |
[Widget] Add scaling option to background-image.
Diffstat (limited to 'doc/rofi-theme.5.markdown')
-rw-r--r-- | doc/rofi-theme.5.markdown | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown index 336f4cc5..19cb5134 100644 --- a/doc/rofi-theme.5.markdown +++ b/doc/rofi-theme.5.markdown @@ -255,13 +255,20 @@ dynamic: false; **rofi** support a very limited set of image formats. * Format: url("path to image"); +* Format: url("path to image", scale); * Format: linear-gradient(stop color,stop1, color, stop2 color, ...); * Format: linear-gradient(to direction, stop color,stop1, color, stop2 color, ...); where direction is: top,left,right,bottom. * Format: linear-gradient(angle, stop color,stop1, color, stop2 color, ...); Angle in deg,rad,grad (as used in color). -Where the path is a string, and stop color is of type color. +Where the `path` is a string, and `stop` color is of type color. +The `scale` property can be: + +* none +* both +* width +* height ## Color |