blob: 0e4c0e16a463eea3f14cfcc5bb3f5d00cb1d68b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# TODO: Fix up the launcher to check the following paths in order to find the
# correct event_manager.py to run:
# 1. $XDG_DATA_HOME/uzbl/scripts/event_manager.py
# 2. /usr/local/share/uzbl/examples/data/uzbl/scripts/event_manager.py
if [ -z "$XDG_DATA_HOME" ]
then
XDG_DATA_HOME=$HOME/.local/share
fi
if [ -z "$XDG_CACHE_HOME" ]
then
XDG_CACHE_HOME=$HOME/.cache
fi
EVENT_MANAGER=/usr/local/share/uzbl/examples/data/uzbl/scripts/event_manager.py
$EVENT_MANAGER -v "$@"
|