Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (17 sloc) 0.643 kb
#!/bin/bash
# lightum-indicator script
# (c)2012 Pau Oliva Fora
# License: GPLv2+
# load include file
source /usr/share/lightum-indicator/lightum-indicator-include
# make sure indicator auto-starts
if [ ! -f "${HOME}/.config/autostart/lightum-indicator.desktop" ]; then
mkdir -p ${HOME}/.config/autostart/
cp /usr/share/applications/lightum-indicator.desktop ${HOME}/.config/autostart/lightum-indicator.desktop
fi
# make sure lightum is running, otherwise start it
pidof lightum 2>&1 >/dev/null || lightum
# update the menu file, if it doesn't exist
updatemenu
# launch cappind-lightum
/usr/share/lightum-indicator/cappind-lightum.py &
Jump to Line
Something went wrong with that request. Please try again.