summaryrefslogtreecommitdiff
path: root/kde-misc/ksuperkey
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-06-23 16:20:22 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-06-23 16:20:22 +0100
commit09e704c74a8d52699786d34488621fa6dbae95e0 (patch)
tree44780be32c9c9f13b21ffcb295f77bf17e592592 /kde-misc/ksuperkey
parent01471fe66d7fcc5d4165e05f068e06bf8b3b0187 (diff)
add ksuperkey, utility to bind KDE krunner to superkey (winkey)
Diffstat (limited to 'kde-misc/ksuperkey')
-rw-r--r--kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch9
-rw-r--r--kde-misc/ksuperkey/ksuperkey-99999.ebuild37
2 files changed, 46 insertions, 0 deletions
diff --git a/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch b/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch
new file mode 100644
index 00000000..8237c681
--- /dev/null
+++ b/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch
@@ -0,0 +1,9 @@
+--- ksuperkey.desktop.orig 2014-09-20 02:47:18.006202520 +0300
++++ ksuperkey.desktop 2014-09-20 02:49:39.237793168 +0300
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Exec=ksuperkey
++Exec=ksuperkey -e 'Super_L=Alt_L|F2'
+ X-DBUS-StartupType=none
+ Name=ksuperkey
+ Type=Service
diff --git a/kde-misc/ksuperkey/ksuperkey-99999.ebuild b/kde-misc/ksuperkey/ksuperkey-99999.ebuild
new file mode 100644
index 00000000..f7e7ad42
--- /dev/null
+++ b/kde-misc/ksuperkey/ksuperkey-99999.ebuild
@@ -0,0 +1,37 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils git-2
+
+DESCRIPTION="Open the KDE Plasma application launcher using the Super key (patched to bind Krunner to Super key)"
+HOMEPAGE="https://github.com/hanschen/ksuperkey"
+
+EGIT_BRANCH=master
+EGIT_REPO_URI="https://github.com/hanschen/ksuperkey.git"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+DEPEND="x11-libs/libXtst
+ x11-libs/libX11"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+
+src_prepare() {
+ epatch -p0 ${FILESDIR}/bind_krunner_to_super_key.patch
+}
+
+src_compile() {
+ cd "${S}"
+ make || die "Make failed"
+}
+
+src_install() {
+ default
+}