Files
Dotfiles/.config/hypr/scripts/wait_for_tray.sh
Keule0010 464a9b7d86 Added wait for system tray on start
- Close applications before shutdown/logout/reboot
- Fixed battery check script
- Always display hidden files in ranger
TODO: - Wait for logout/shutdown/reboot until all applications are closed (timeout)
2023-11-06 19:04:56 +01:00

14 lines
163 B
Bash
Executable File

#!/bin/bash
program_name="eww"
check_program_running() {
pgrep -x "$program_name" > /dev/null
}
while ! check_program_running; do
sleep 1
done
sleep 1