mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ethan Nijmeh <ethannij@gmail.com>
14 lines
334 B
Bash
14 lines
334 B
Bash
#! /usr/bin/env bash
|
|
cd /usr/share/OpenTabletDriver
|
|
if [ $# -eq 0 ]
|
|
then
|
|
if [[ ! -v DISPLAY ]] && [[ ! -v WAYLAND_DISPLAY ]]
|
|
then
|
|
echo "DISPLAY and/or WAYLAND_DISPLAY is not set"
|
|
exit 64
|
|
fi
|
|
dotnet ./OpenTabletDriver.Daemon.dll -c ./Configurations
|
|
else
|
|
dotnet ./OpenTabletDriver.Console.dll "$@"
|
|
fi
|