documentation/docs/void-desktop-setup/Display-configuration.md

43 lines
1.2 KiB
Markdown
Raw Normal View History

2023-08-25 17:44:30 +02:00
# Display configuration
2023-08-16 22:09:10 +02:00
To configure the displays of the systems it's necessary to either configure them through `.config/wayfire.ini` or use an external application like `kanshi`.
To install kanshi:
```
# xbps-install -Sy kanshi
```
To actually change the display settings edit the `.config/kanshi/config` according to it's manpage. It should look something like:
```
profile <profile_name> {
output "<display_1>" mode<horizontal_resolution>x<vertical_resolution>@<display_frequency> position <x_coordinate>,<y_coordinate>
output "<display_2>" mode<horizontal_resolution>x<vertical_resolution>@<display_frequency> position <x_coordinate>,<y_coordinate>
}
```
And make sure `kanshi` gets started by Wayfire by adding it to auto start.
```
[autostart]
outputs = kanshi
```
2023-08-25 17:44:30 +02:00
## Color-temperature adjustment
2023-08-16 22:09:10 +02:00
For changing the day/night gamma install `wlsunset`.
```
# xbps-install -Sy wlsunset
```
Add it to Wayfire by auto starting it through:
```
[autostart]
gamma = wlsunset -l <latitude> -L <longitude> -t <color-temperature>
```
2023-08-16 23:26:07 +02:00
Change the latitude, longitude and color-temperature according to your location and preference.