[dwm] xgamma notify

From: pancake <pancake_AT_youterm.com>
Date: Thu, 05 Mar 2009 23:52:22 +0000

I have been playing a bit with xgamma and I think it can be useful as a
graphical
notification for important alerts like low battery or so.

The usage is quite simple. and we can 'flash' the screen in red for a
fraction of a second with:

$ cat flash.sh
for a in $(seq 1 $1); do
  xgamma -ggamma 0.3 -bgamma 0.3
  sleep 0.1
  xgamma -gamma 1
  sleep 2
done

$ sh flash.sh 10

--pancake
Received on Thu Mar 05 2009 - 23:52:22 UTC

This archive was generated by hypermail 2.2.0 : Thu Mar 05 2009 - 23:00:06 UTC