diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rofi-theme.5 | 13 | ||||
-rw-r--r-- | doc/rofi-theme.5.markdown | 9 |
2 files changed, 20 insertions, 2 deletions
diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5 index c089fdfe..646328fb 100644 --- a/doc/rofi-theme.5 +++ b/doc/rofi-theme.5 @@ -366,6 +366,8 @@ dynamic: false; .IP \(bu 2 Format: url("path to image"); .IP \(bu 2 +Format: url("path to image", scale); +.IP \(bu 2 Format: linear\-gradient(stop color,stop1, color, stop2 color, ...); .IP \(bu 2 Format: linear\-gradient(to direction, stop color,stop1, color, stop2 color, ...); @@ -375,7 +377,16 @@ Format: linear\-gradient(angle, stop color,stop1, color, stop2 color, ...); Angle in deg,rad,grad (as used in color). .PP -Where the path is a string, and stop color is of type color. +Where the \fB\fCpath\fR is a string, and \fB\fCstop\fR color is of type color. +The \fB\fCscale\fR property can be: +.IP \(bu 2 +none +.IP \(bu 2 +both +.IP \(bu 2 +width +.IP \(bu 2 +height .SH Color .PP 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 |