my hacky "anti-flashbang" solution
Posted: 16 Mar 2013, 01:27
Heyho,
switching between workspaces or windows might bring you from a dark terminal into a bright firefox - introducing pain in the eyes.
Is there something around, not wasting so much cpu like this does:
Hooking into the wm to trigger an update on changing the windows would be one way, or filtering the keyboard input for "crititcal" combos like switching windows, opening tabs and so on.
ps: "import" might replace xwd and the pipe, but doesn't take correct screenshots here...
switching between workspaces or windows might bring you from a dark terminal into a bright firefox - introducing pain in the eyes.
Is there something around, not wasting so much cpu like this does:
Code: Select all
while true; do xbacklight -steps 10 -time 100 -set ` xwd -root | convert - -colorspace gray -format "%[fx:100-100*mean]%%" info:` ; done
ps: "import" might replace xwd and the pipe, but doesn't take correct screenshots here...