pika-welcome/data/bin/pika-welcome-autostart
Ward from fusion-voyager-3 7c07ba7bef Ready to go
2024-02-24 23:56:45 +03:00

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