7 lines
278 B
Bash
7 lines
278 B
Bash
#! /bin/bash
|
|
AUTOSTART=$(gsettings get com.github.pikaos-linux.pikawelcome startup-show)
|
|
DISPLAY_CHECK=$(echo $DISPLAY)
|
|
WHO=$(whoami)
|
|
if [[ "$AUTOSTART" == "true" ]] && [[ $DISPLAY_CHECK ]] && [[ $WHO != "pikaos" ]] && [[ $WHO != "gnome-initial-setup" ]] ; then
|
|
pika-welcome
|
|
fi |