diff options
author | Geoff Greer <geoff@greer.fm> | 2019-02-10 16:56:57 -0800 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-03-24 09:37:24 +0200 |
commit | 6e3046878d4dced3f2e503973ad31d7921c0c400 (patch) | |
tree | 6a8b5b2204624848edb0b37ecfad8c7764bd2633 /sway/sway-output.5.scd | |
parent | Allow for workspace renaming during exec handling (diff) | |
download | sway-6e3046878d4dced3f2e503973ad31d7921c0c400.tar.gz sway-6e3046878d4dced3f2e503973ad31d7921c0c400.tar.zst sway-6e3046878d4dced3f2e503973ad31d7921c0c400.zip |
Add support for manually setting subpixel hinting on outputs.
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this.
Addresses https://github.com/swaywm/sway/issues/3163
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r-- | sway/sway-output.5.scd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd index bb3745f3..1efe2f7b 100644 --- a/sway/sway-output.5.scd +++ b/sway/sway-output.5.scd | |||
@@ -64,6 +64,13 @@ must be separated by one space. For example: | |||
64 | applications to taste. HiDPI isn't supported with Xwayland clients (windows | 64 | applications to taste. HiDPI isn't supported with Xwayland clients (windows |
65 | will blur). | 65 | will blur). |
66 | 66 | ||
67 | *output* <name> subpixel rgb|bgr|vrgb|vbgr|none | ||
68 | Manually sets the subpixel hinting for the specified output. This value is | ||
69 | usually auto-detected, but some displays may misreport their subpixel | ||
70 | geometry. Using the correct subpixel hinting allows for sharper text. | ||
71 | Incorrect values will result in blurrier text. When changing this via | ||
72 | *swaymsg*, some applications may need to be restarted to use the new value. | ||
73 | |||
67 | *output* <name> background|bg <file> <mode> [<fallback_color>] | 74 | *output* <name> background|bg <file> <mode> [<fallback_color>] |
68 | Sets the wallpaper for the given output to the specified file, using the | 75 | Sets the wallpaper for the given output to the specified file, using the |
69 | given scaling mode (one of "stretch", "fill", "fit", "center", "tile"). If | 76 | given scaling mode (one of "stretch", "fill", "fit", "center", "tile"). If |