kdeconnect: use import-env
This commit is contained in:
parent
0daba7236c
commit
b4d238ad35
1 changed files with 3 additions and 7 deletions
|
@ -1,9 +1,5 @@
|
|||
#!/bin/sh
|
||||
if ! pgrep -x awesome; then
|
||||
sleep 2
|
||||
exit 1
|
||||
fi
|
||||
export DISPLAY=:0
|
||||
|
||||
#!/bin/zsh
|
||||
source ${0:a:h:h}/import-env.zsh
|
||||
import-env awesome || exit 1
|
||||
exec 2>&1
|
||||
exec kdeconnect-indicator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue