+license
This commit is contained in:
parent
1407d173b0
commit
aab92329bc
15
LICENSE
Normal file
15
LICENSE
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Aaron Bieber <aaron@bolddaemon.com>
|
||||
*
|
||||
* 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.
|
||||
*/
|
22
install.sh
22
install.sh
@ -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
|
||||
|
15
uninstall.sh
15
uninstall.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user