Skip to content

Commit

Permalink
doc: document imageScalingMode options (#709)
Browse files Browse the repository at this point in the history
Document the imageScalingMode options according to swaybg, which should
be mostly universal.

Link: #709

Reviewed-by: NAHO <[email protected]>
(cherry picked from commit f48cab3)
  • Loading branch information
hazelmeow authored and trueNAHO committed Jan 4, 2025
1 parent 21b1b0c commit 9593bd5
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions stylix/palette.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,22 @@ in {
type = lib.types.enum [ "stretch" "fill" "fit" "center" "tile" ];
default = "fill";
description = ''
Wallpaper scaling mode;
Scaling mode for the wallpaper image.
This is the scaling mode your wallpaper image will use assuming it
doesnt fix your monitor perfectly
`stretch`
: Stretch the image to cover the screen.
`fill`
: Scale the image to fill the screen, potentially cropping it.
`fit`
: Scale the image to fit the screen without being cropped.
`center`
: Center the image without resizing it.
`tile`
: Tile the image to cover the screen.
'';
};

Expand Down

0 comments on commit 9593bd5

Please sign in to comment.