From afcf05633edf55216f6d287bc7c1a94000763fc3 Mon Sep 17 00:00:00 2001 From: Abraham Raji <32333507+avronr@users.noreply.github.com> Date: Sat, 10 Aug 2019 13:23:47 +0530 Subject: [PATCH] Updated Home (markdown) --- Home.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Home.md b/Home.md index a5b4db4..7a353dd 100644 --- a/Home.md +++ b/Home.md @@ -103,6 +103,17 @@ Fractional scaling is supported but is not recommended. Your display does not ha `output transform 90` will rotate output `` by 90 degrees clockwise. Read `man 5 sway-output` and search for `transform` to see other options, like flipping across an axis. +#### Redshift +Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. Redshift does not support Wayland since it offers no way to adjust the color temperature but there is a workaround. + +There is a [fork of redshift](https://github.com/minus7/redshift/tree/wayland) by [Minus7](https://github.com/minus7) with Wayland wlr-gamma-control protocol support. The package will be referred to as redshift-wlr from now on. + +It has not yet been packaged for any major distribution but there is an [AUR package](https://aur.archlinux.org/packages/redshift-wlr-gamma-control-git/). That leaves all non-Arch users with no other choice than to build from source, the instructions to which can be found [here](https://github.com/minus7/redshift/blob/wayland/CONTRIBUTING.md) in the contribution guide which is the actual build guide of the original redshift project but seeing that the developer decided to keep it mean that it works nonetheless. + +**Note that the redshift (with no wayland support) package from your package manager break redshift-wlr package so if you have it already installed, uninstall it first and then proceed with building this package.** + +Refer to the official documentation and online guides to configure redshift. Any package that works with the original redshift package should work with redshift-wlr. + ### Input configuration A list of input devices is available by running `swaymsg -t get_inputs`. Use the identifier for the device you want to configure in your config file: