Migrated to ansible
This commit is contained in:
13
roles/hypr/files/scripts/wait_for_tray.sh
Executable file
13
roles/hypr/files/scripts/wait_for_tray.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
program_name="ags"
|
||||
|
||||
check_program_running() {
|
||||
pgrep -x "$program_name" > /dev/null
|
||||
}
|
||||
|
||||
while ! check_program_running; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
sleep 1
|
||||
Reference in New Issue
Block a user