summaryrefslogtreecommitdiffstats
path: root/klipper/klipper-trinity1.sh
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-21 02:25:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-21 02:25:54 +0000
commit9dbf5a28d2b2d270fc8a390e6964a9b9ac35b7b5 (patch)
tree531a3b55cc3301d3fe4beef0a9f59f781e81c4c7 /klipper/klipper-trinity1.sh
parent549c7e4d630743ae94883997fec3b8fc31e32a22 (diff)
downloadtdebase-9dbf5a28d2b2d270fc8a390e6964a9b9ac35b7b5.tar.gz
tdebase-9dbf5a28d2b2d270fc8a390e6964a9b9ac35b7b5.zip
Second part of previous commit
Move files with kde3 in their name to have trinity in their name instead git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1248413 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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