aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-ipc.7.scd
diff options
context:
space:
mode:
authorGeoff Greer <geoff@greer.fm>2019-02-10 16:56:57 -0800
committeremersion <contact@emersion.fr>2019-03-24 09:37:24 +0200
commit6e3046878d4dced3f2e503973ad31d7921c0c400 (patch)
tree6a8b5b2204624848edb0b37ecfad8c7764bd2633 /sway/sway-ipc.7.scd
parent200833caaea36dd65324e5460520731f5c98ff8a (diff)
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-ipc.7.scd')
-rw-r--r--sway/sway-ipc.7.scd4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd
index b43b3030..3d22008e 100644
--- a/sway/sway-ipc.7.scd
+++ b/sway/sway-ipc.7.scd
@@ -211,6 +211,9 @@ following properties:
|- scale
: float
: The scale currently in use on the output or _-1_ for disabled outputs
+|- subpixel_hinting
+: string
+: The subpixel hinting current in use on the output. This can be _rgb_, _bgr_, _vrgb_, _vbgr_, or _none_
|- transform
: string
: The transform currently in use for the output. This can be _normal_, _90_,
@@ -242,6 +245,7 @@ following properties:
"active": true,
"primary": false,
"scale": 1.0,
+ "subpixel_hinting": "rgb",
"transform": "normal",
"current_workspace": "1",
"modes": [