aboutsummaryrefslogtreecommitdiffstats
path: root/help
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-19 13:28:28 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-19 13:28:28 +0000
commit1e5b5f85e017118fab825281b20bbce01e5ac0f1 (patch)
treed3b0969b7eea4e7ab0d7a1dcaac9b4f9292862e8 /help
parent59c55c4d6187eff9ae1a87bc85a3b4dda3bb9950 (diff)
downloaddzen-1e5b5f85e017118fab825281b20bbce01e5ac0f1.tar.gz
dzen-1e5b5f85e017118fab825281b20bbce01e5ac0f1.zip
adapted help script to be useable with pure sh
git-svn-id: http://dzen.googlecode.com/svn/trunk@133 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'help')
-rwxr-xr-xhelp4
1 files changed, 2 insertions, 2 deletions
diff --git a/help b/help
index 700b9ee..6d01d41 100755
--- a/help
+++ b/help
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
#
# (c) 2007, by Robert Manea
OPTS='-bg #323232 -fg #5FBF77 -p -l 20 -e onstart=uncollapse,scrollhome;button5=scrolldown;key_Down=scrolldown;button4=scrollup;key_Up=scrollup;key_Page_Down=scrolldown:20;key_Page_Up=scrollup:20;key_Escape=exit;button3=exit;entertitle=grabkeys;enterslave=grabkeys;leaveslave=ungrabkeys'
-if [ -e ./dzen2 ]; then
+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