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:
13
.config/hypr/scripts/wait_for_tray.sh
Executable file
13
.config/hypr/scripts/wait_for_tray.sh
Executable 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
|
||||
Reference in New Issue
Block a user