diff options
Diffstat (limited to 'autostart')
-rw-r--r-- | autostart | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/autostart b/autostart new file mode 100644 index 000000000000..fe3ecb61c1e5 --- /dev/null +++ b/autostart @@ -0,0 +1,15 @@ +#Black void background +[[ -n "$(command -v hsetroot)" ]] && hsetroot -solid "#000000" & + +#Pantheon Lite components +if [[ echo "${XDG_CURRENT_DESKTOP}" == "Pantheon" ]]; then + + #Start a compositor; kill to reduce resource usage. + [[ -n "$(command -v picom)" ]] && picom --dbus & + + #Initiate wingpanel if cerbere failed + [[ -z "$(pidof wingpanel)" ]] && wingpanel & + + #Initiate plank if cerbere failed + [[ -z "$(pidof plank)" ]] && plank & +fi |