mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
Updated Home (markdown)
parent
4b3ebfd725
commit
afcf05633e
11
Home.md
11
Home.md
|
@ -103,6 +103,17 @@ Fractional scaling is supported but is not recommended. Your display does not ha
|
|||
|
||||
`output <name> transform 90` will rotate output `<name>` 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:
|
||||
|
|
Loading…
Reference in a new issue