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

@@ -6,19 +6,19 @@
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"action" : "~/.config/hypr/scripts/close_apps.sh && systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"action" : "~/.config/hypr/scripts/close_apps.sh && systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "logout",
"action" : "hyprctl dispatch exit 0",
"action" : "~/.config/hypr/scripts/close_apps.sh && hyprctl dispatch exit ",
"text" : "Logout",
"keybind" : "e"
}