-#!/usr/bin/python3
+#!/usr/bin/env python3
# DSL - easy Display Setup for Laptops
# Copyright (C) 2012-2015 Ralf Jung <post@ralfj.de>
#
frontend = gui.getFrontend(cmdArgs.frontend)
# load configuration
- config = loadConfigFile(os.getenv('HOME') + '/.dsl.conf')
+ config = loadConfigFile(os.getenv('HOME') + '/.lilass.conf')
# see what situation we are in
situation = situationByConfig(config)
if setup.extResolution is None:
turnOnBacklight()
except Exception as e:
+ raise e
frontend.error(str(e))
- raise