mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
A new value for background_image_layout to scale the background image while preserving its aspect ratio.
Also have centered images work even for images larger than the window size Fixes #6458
This commit is contained in:
@@ -1395,7 +1395,9 @@ opt('background_image_layout', 'tiled',
|
||||
ctype='bglayout',
|
||||
long_text='''
|
||||
Whether to tile, scale or clamp the background image. The value can be one of
|
||||
:code:`tiled`, :code:`mirror-tiled`, :code:`scaled`, :code:`clamped` or :code:`centered`.
|
||||
:code:`tiled`, :code:`mirror-tiled`, :code:`scaled`, :code:`clamped`, :code:`centered`
|
||||
or :code:`cscaled`. The :code:`scaled` and :code:`cscaled` values scale the image to the
|
||||
window size, with :code:`cscaled` preserving the image aspect ratio.
|
||||
'''
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user