Add wayland stuff

This commit is contained in:
Tobias Reisinger 2022-03-26 15:08:10 +01:00
parent 77c58e5f98
commit 1b096b242a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 34 additions and 53 deletions

15
.local/bin/wait-for-service Executable file
View 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