Friday, January 25, 2019

Eye Pogue on Your Windows PC

Wha?

You want to save your eyes - meaning, if the stuff on the monitors is too bright, you want to hit CTRL+#+c to invert colours. How?

(this is the easy part.. Open Windows Settings and *then* in the "Find a Setting" search field, you type "Color filter settings".  While you're typing, it's prompted you with what you're looking for as a drop down. Choose that. Click the selector to turn ON filters (just for now). Then, go down and change from "Grayscale" to "Inverted (reverse colors on the display)". Then, check the box to "Allow the shortcut key to .." )

Good? Excellent. Now. What do you do when your background image is dark and the page you're viewing is mostly white. If you invert one, the other monitor gives you grief.

See, I wouldn't know how to solve this if I hadn't dabbled in CSS. One solution - which is basically opening a dummy webpage whose background is black solves the problem wanting working on monitor without the filter, where the stuff is mostly dark and controlling the display on the other one-- In this case, you merely open one of your bookmarks in Chrome. Bookmark a file that has this :

<!DOCTYPE html>
<html>
 <head>
  <title>Black!!
  </title>

  <style type="text/css">
   body {
    background-color: black;
   }
  </style>
 </head>

 <body>


 </body>

</html>

Now, a quality hack (I think) would be to use AHK to launch Paint on a large image that is essentially just a black background :) How many bytes would such a file take? 50 KB believe it or not - for basically 0 info!! Or maybe about 10 bits of info..

No comments: