Files
Dotfiles/.config/hypr/scripts/close_apps.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

6 lines
162 B
Bash
Executable File

#!/bin/bash
HYPRCMDS=$(hyprctl -j clients | jq -j '.[] | "dispatch closewindow address:\(.address); "')
hyprctl --batch "$HYPRCMDS" >> /tmp/hypr/cexit.log 2>&1