From aab92329bcbfff9040ea5a9a11ee94ce2fb214be Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 14 Jan 2025 20:39:52 -0700 Subject: [PATCH] +license --- LICENSE | 15 +++++++++++++++ install.sh | 22 ---------------------- uninstall.sh | 15 --------------- 3 files changed, 15 insertions(+), 37 deletions(-) create mode 100644 LICENSE delete mode 100755 install.sh delete mode 100755 uninstall.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..33af373 --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2025 Aaron Bieber + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ diff --git a/install.sh b/install.sh deleted file mode 100755 index 6794362..0000000 --- a/install.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Exit if something fails -set -ex - - -if [[ -z "$XDG_DATA_HOME" ]]; then - prefix=~/.local/share -else - prefix="$XDG_DATA_HOME" -fi - -mkdir -p $prefix/krunner/dbusplugins/ -mkdir -p $prefix/dbus-1/services/ - -PY=$(which python3) -cp plasma-runner-krha.desktop $prefix/krunner/dbusplugins/ -sed "s|/home/qbit/projects/krha/krha.py|${PWD}/krha.py|" "org.kde.krha.service" > $prefix/dbus-1/services/org.kde.krha.service -sed "s|/usr/bin/python3|${PY}|" "org.kde.krha.service" > $prefix/dbus-1/services/org.kde.krha.service - -kquitapp6 krunner - diff --git a/uninstall.sh b/uninstall.sh deleted file mode 100755 index 2acb430..0000000 --- a/uninstall.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# Exit if something fails -set -ex - -if [[ -z "$XDG_DATA_HOME" ]]; then - prefix=~/.local/share -else - prefix="$XDG_DATA_HOME" -fi - -rm $prefix/krunner/dbusplugins/plasma-runner-krha.desktop -rm $prefix/dbus-1/services/org.kde.krha.service -kquitapp6 krunner -