This commit is contained in:
2025-10-13 19:06:08 -07:00
parent 9b374a1f35
commit 9bd37f26ac
6 changed files with 22 additions and 17 deletions

View File

@@ -14,8 +14,8 @@ function PowerWindow() {
["Lock", "bash -c 'pgrep -x hyprlock || hyprlock &'" ],
["Suspend", "/home/spingus/.config/scripts/lock.sh" ],
["Logout", "hyprctl dispatch exit" ],
["Shutdown", "systemctl poweroff" ],
["Reboot", "systemctl reboot" ],
// ["Shutdown", "systemctl poweroff" ],
// ["Reboot", "systemctl reboot" ],
].map(action => <button onClicked={() => {
execAsync(action[1])
.then(out => print(out))