Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (7 sloc) 410 Bytes
#!/bin/sh
PYTHON="@PYTHON@"
test ${PYTHON} = @"PYTHON"@ && PYTHON=python
# Try to spawn kupfer via dbus, else go to python
# but only if there are no arguments
test -z "$*" && dbus-send --print-reply --dest=se.kaizer.kupfer /interface se.kaizer.kupfer.Listener.ShowHide >/dev/null 2>&1
test $? != 0 && exec ${PYTHON} -m kupfer.__init__ $* || ${PYTHON} -c "import gtk.gdk; gtk.gdk.notify_startup_complete()"
Jump to Line
Something went wrong with that request. Please try again.