blob: 0e198bdeb14a8d30ddf2bc6d7c43fb96038f2f59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
By default this program will set your root windows name to the time in binary, however if you set the environment variable binstatus to 'dec' (export binstatus=dec) it will display the time as hh:mm. 'bin' is also a valid value, that will be the time in binary. Any other value will not output anything, dwm or your window manager may use its own string.
compile:
````cc binstatus.c -lX11 -o binstatus````
run:
````./binstatus &````
You may prefer to put this in your .xinitrc file.
|