summaryrefslogtreecommitdiffstats
path: root/klipper/klipper-trinity1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'klipper/klipper-trinity1.sh')
-rw-r--r--klipper/klipper-trinity1.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/klipper/klipper-trinity1.sh b/klipper/klipper-trinity1.sh
new file mode 100644
index 000000000..755915fdc
--- /dev/null
+++ b/klipper/klipper-trinity1.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+filename=`kde-config --localprefix`share/autostart/klipper.desktop
+if grep 'Hidden=true' "$filename" > /dev/null 2> /dev/null; then
+ echo AutoStart=false
+else
+ echo AutoStart=true
+fi
+rm -f "$filename" \ No newline at end of file