Add wayland stuff
This commit is contained in:
parent
77c58e5f98
commit
1b096b242a
7 changed files with 34 additions and 53 deletions
.local/bin
15
.local/bin/wait-for-service
Executable file
15
.local/bin/wait-for-service
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
user=""
|
||||
target="$1"
|
||||
|
||||
if [ "$1" = "--user" ]; then
|
||||
user="--user"
|
||||
target="$2"
|
||||
fi
|
||||
|
||||
|
||||
until systemctl $user is-active --quiet "$target"
|
||||
do
|
||||
sleep 0.5
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue