https://github.com/kantord/compton-grayscale-reading-mode
https://github.com/kantord/compton-grayscale-reading-mode
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kantord/compton-grayscale-reading-mode
- Owner: kantord
- License: agpl-3.0
- Created: 2020-09-28T08:02:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:54:05.000Z (almost 2 years ago)
- Last Synced: 2025-04-23T01:59:15.363Z (6 months ago)
- Language: Shell
- Size: 195 KB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# compton-grayscale-reading-mode
This script implements a reading mode/grayscale mode in i3 window manager and other window managers using compton.
The level of desaturation is 95%, so there is still some color present, but it's desaturated to a very large degree.
This has no effect on your wallpaper: I recommend setting a black wallpaper using `hsetroot`.In grayscale mode, backend is always `glx`.

## Usage
compton-grayscale-reading-mode is a wrapper around compton. _Any command line arguments are passed along to compton._
Any running compton instances are killed, therefore this script can be used to switch grayscale mode on and off.
Enable grayscale mode
```
MODE=grayscale compton.sh
```Disable grayscale mode
```
MODE=normal compton.sh
```