Last minute edits

This commit is contained in:
Tyler Hallada 2015-06-03 23:06:56 -04:00
parent 701ef5c338
commit 71ad3f3e60

View File

@ -210,6 +210,10 @@ monitor and I have two. Luckily, someone made a utility that would invert colors
on more than one monitor called on more than one monitor called
[xrandr-invert-colors](https://github.com/zoltanp/xrandr-invert-colors). [xrandr-invert-colors](https://github.com/zoltanp/xrandr-invert-colors).
The only problem was that this utility seemed to interfere with redshift, so I
made [a script that would disable redshift before
inverting](https://github.com/thallada/dotfiles/blob/master/invert/bin/invert).
```bash ```bash
#!/bin/bash #!/bin/bash
inverted=$(xcalib -a -p | head -c 1) inverted=$(xcalib -a -p | head -c 1)
@ -232,9 +236,6 @@ if [ "$inverted" == "W" ]
fi fi
``` ```
The only problem was that this utility seemed to interfere with redshift, so I
made [a script that would disable redshift before
inverting](https://github.com/thallada/dotfiles/blob/master/invert/bin/invert).
And, now I have [a And, now I have [a
shortcut](https://github.com/thallada/dotfiles/commit/e5153a90fa7c89a0e2ca16e5943f0fa20d4a9512) shortcut](https://github.com/thallada/dotfiles/commit/e5153a90fa7c89a0e2ca16e5943f0fa20d4a9512)
@ -254,4 +255,6 @@ For firefox, I made a global userstyle to invert images and videos.
} }
``` ```
Whenever I invert the colors, I enable that global theme on firefox.
![Midnight inverted into a day theme](/assets/midnight_screenshot_inverted.png) ![Midnight inverted into a day theme](/assets/midnight_screenshot_inverted.png)