aboutsummaryrefslogtreecommitdiff
path: root/uninstall.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-21 16:25:34 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-21 16:26:43 +0200
commitd79ba55d8513536960fb050dc8a3f2e966dbbe74 (patch)
treeb2b4273ff2adad812d52ad0b61e2db1bf231a6ef /uninstall.sh
parent0993c5811f23c4601e8f5768ee48e8832cfdbec9 (diff)
Support wlroots capture, without root (wayland)
Diffstat (limited to 'uninstall.sh')
-rwxr-xr-xuninstall.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/uninstall.sh b/uninstall.sh
new file mode 100755
index 0000000..2cf9c8a
--- /dev/null
+++ b/uninstall.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ $(id -u) -ne 0 ] && echo "You need root privileges to run the uninstall script" && exit 1
+
+rm -f "/usr/bin/gpu-screen-recorder-gtk"
+rm -f "/usr/share/applications/com.dec05eba.gpu_screen_recorder.desktop"
+rm -f "/usr/share/metainfo/com.dec05eba.gpu_screen_recorder.appdata.xml"
+rm -f "/usr/share/icons/hicolor/64x64/apps/com.dec05eba.gpu_screen_recorder.png"
+rm -f "/usr/share/icons/hicolor/128x128/apps/com.dec05eba.gpu_screen_recorder.png"
+
+echo "Successfully uninstalled gpu-screen-recorder-gtk" \ No newline at end of file