mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
ksuperkey: fixed .install file
This commit is contained in:
parent
8843c18afc
commit
be1a5bcc08
@ -1,6 +1,6 @@
|
|||||||
pkgname=ksuperkey
|
pkgname=ksuperkey
|
||||||
pkgver=0.4
|
pkgver=0.4
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="Allows you to open the application launcher in KDE Plasma Desktop using the Super key"
|
pkgdesc="Allows you to open the application launcher in KDE Plasma Desktop using the Super key"
|
||||||
url="https://github.com/hanschen/ksuperkey"
|
url="https://github.com/hanschen/ksuperkey"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
|
@ -16,7 +16,8 @@ post_install() {
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
# see which is the user name
|
# see which is the user name
|
||||||
NAME=$(logname)
|
NAME=$(who -m)
|
||||||
|
NAME=${NAME%% *}
|
||||||
|
|
||||||
# create a .desktop entry for autostart
|
# create a .desktop entry for autostart
|
||||||
runuser $NAME -c 'echo "[Desktop Entry]
|
runuser $NAME -c 'echo "[Desktop Entry]
|
||||||
|
Loading…
Reference in New Issue
Block a user