#!/usr/bin/env bash

app_command='timeshift-gtk'

if [ "$(id -u)" -eq 0 ]; then
	# user is admin
	${app_command}
else
	# user is not admin
	pkexec "${app_command}"
fi
