mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 14:47:17 +08:00
ksuperkey added, voted in from ccr
This commit is contained in:
parent
f34a8b1731
commit
02a7288581
27
ksuperkey/PKGBUILD
Normal file
27
ksuperkey/PKGBUILD
Normal 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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
18
ksuperkey/ksuperkey.install
Normal file
18
ksuperkey/ksuperkey.install
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user