diff --git a/bin/omarchy-system-reboot b/bin/omarchy-system-reboot index 60744886..c2dfd130 100755 --- a/bin/omarchy-system-reboot +++ b/bin/omarchy-system-reboot @@ -8,6 +8,8 @@ # scope cannot terminate it before it runs. systemd-run --user --collect --quiet --on-active="2s" --timer-property=AccuracySec=100ms systemctl reboot --no-wall || exit 1 +omarchy-osd -i reboot -m "Rebooting…" -d 5000 + omarchy-state clear re*-required # Now close all windows diff --git a/bin/omarchy-system-shutdown b/bin/omarchy-system-shutdown index 9a8eb8e5..d1fa77ca 100755 --- a/bin/omarchy-system-shutdown +++ b/bin/omarchy-system-shutdown @@ -8,6 +8,8 @@ # scope cannot terminate it before it runs. systemd-run --user --collect --quiet --on-active="2s" --timer-property=AccuracySec=100ms systemctl poweroff --no-wall || exit 1 +omarchy-osd -i shutdown -m "Shutting down…" -d 5000 + omarchy-state clear re*-required # Now close all windows diff --git a/shell/plugins/osd/OsdModel.js b/shell/plugins/osd/OsdModel.js index daf12464..8154c13a 100644 --- a/shell/plugins/osd/OsdModel.js +++ b/shell/plugins/osd/OsdModel.js @@ -13,7 +13,9 @@ function iconFor(name, percent) { if (n === "keyboard") return "󰌌" if (n === "brightness" || n === "display") return "󰍹" if (n === "touchpad") return "󰟸" - if (n === "touch" || n === "touchscreen") return "󰜉" + if (n === "touch" || n === "touchscreen") return "󰝁" + if (n === "reboot" || n === "restart") return "󰜉" + if (n === "shutdown" || n === "power" || n === "poweroff") return "󰐥" if (n === "media" || n === "player") return "󰝚" if (n === "media-source" || n === "player-source") return "󰝚" if (n === "media-play" || n === "player-play") return "󰐊"