File: help

package info (click to toggle)
dzen2 0.8.5-4
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 292 kB
  • ctags: 270
  • sloc: ansic: 2,357; makefile: 106; sh: 62
file content (11 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# (c) 2007, by Robert Manea

OPTS='-bg #111111 -fg grey70 -p -l 30 -e onstart=uncollapse,scrollhome;button5=scrolldown;key_Down=scrolldown;button4=scrollup;key_Up=scrollup;key_Page_Down=scrolldown:30;key_Page_Up=scrollup:30;key_Escape=exit;button3=exit;entertitle=grabkeys;enterslave=grabkeys;leaveslave=ungrabkeys'

if  test -x ./dzen2 ; then
	(echo "^fg(#323232)^bg(#5FBF77) Documentation (use: scrollwheel, arrow keys, PgUP/PgDown to scroll. Escape or right mouse button to quit) "; cat README.dzen) | ./dzen2 $OPTS
else
	echo "Please type 'make' to build dzen and rerun help"
fi