diff options
Diffstat (limited to 'contrib/clickframe.pl')
-rw-r--r-- | contrib/clickframe.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/clickframe.pl b/contrib/clickframe.pl index e4836b9..4268074 100644 --- a/contrib/clickframe.pl +++ b/contrib/clickframe.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Copyright (C) 2003,2004 Shawn Betts # @@ -19,10 +19,9 @@ # Make sure the env vars are there $ENV{XBINDKEYS_BUTTONLOC} || die '$XBINDKEYS_BUTTONLOC not bound'; -$ENV{RATPOISON} || die '$RATPOISON not bound'; # Parse the required environment variables -$ratpoison_bin = $ENV{RATPOISON}; +$ratpoison_bin = $ENV{RATPOISON} || 'ratpoison'; ($x_loc,$y_loc) = split(/,/, $ENV{XBINDKEYS_BUTTONLOC}); # Rip the frameset from ratpoison |