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)
This commit is contained in:
2023-11-06 19:04:56 +01:00
parent c30a2370ae
commit 464a9b7d86
10 changed files with 43 additions and 18 deletions

View File

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