ksuperkey added, voted in from ccr

This commit is contained in:
Anke 2013-03-06 04:05:35 +00:00
parent f34a8b1731
commit 02a7288581
2 changed files with 45 additions and 0 deletions

27
ksuperkey/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# maintainer abveritas@chakra-project.org
# contributor Franzmari <framarinucci@gmail.com>
pkgname=ksuperkey
pkgver=0.3
pkgrel=1
pkgdesc="Allows you to open the application launcher in KDE Plasma Desktop using the Super key"
url="http://kde-apps.org/content/show.php/ksuperkey?content=154569"
license=('GPL3')
arch=('x86_64')
depends=('libx11' 'libxtst')
makedepends=('gcc' 'make')
source=("http://kde-apps.org/CONTENT/content-files/154569-${pkgname}-${pkgver}.tar.gz")
install=ksuperkey.install
md5sums=('4aeffbcd6928cfeea6a19dc4a1508ed0')
build() {
cd "${srcdir}"/$pkgname-$pkgver
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}

View File

@ -0,0 +1,18 @@
post_install() {
cat >&2 <<EOF
==> ksuperkey installation notes:
----------------------------------------
Make sure that the keyboard shortcut for the application launcher is set to Alt+F1.
If you do not like the default mapping (Super_L to Alt+F1), you can tell ksuperkey to use another mapping.
The syntax is as follows:
ksuperkey -e 'ModKey=Key[|OtherKey][;NextExpression]'
for example:
ksuperkey -e 'Super_L=Alt_L|F2'
You could optionally set ksuperkey autostart in System Settings.
EOF
}