start: factorize X11 programs to be started

This commit is contained in:
Vincent Bernat 2014-06-06 22:22:03 +02:00
parent 4b434e448f
commit 039bb8d204

View file

@ -58,11 +58,9 @@ os.execute(table.concat(execute, ";"))
xrun("polkit-gnome-authentication-agent-1", xrun("polkit-gnome-authentication-agent-1",
"/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1") "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1")
xrun("pidgin", "pidgin -n") xrun("pidgin", "pidgin -n")
if config.hostname == "neo" then
xrun("keepassx", "keepassx -min -lock")
xrun("transmission", "transmission-gtk -m")
elseif config.hostname == "guybrush" then
xrun("keepassx", "keepassx -min -lock") xrun("keepassx", "keepassx -min -lock")
xrun("NetworkManager Applet", "nm-applet") xrun("NetworkManager Applet", "nm-applet")
if config.hostname == "neo" then
xrun("transmission", "transmission-gtk -m")
end end