From 2be30164a0e1a5d46301f3c0b58f97e6808858b8 Mon Sep 17 00:00:00 2001 From: pascalyazid Date: Fri, 27 Nov 2026 18:55:33 +0100 Subject: [PATCH] fix(power-menu): sign out through uwsm Use uwsm stop for Sign Out so the session shuts down cleanly, and pass systemctl and uwsm commands as argument arrays. --- widget/PowerMenu.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/widget/PowerMenu.tsx b/widget/PowerMenu.tsx index 308be43..8efe9a9 100644 --- a/widget/PowerMenu.tsx +++ b/widget/PowerMenu.tsx @@ -5,7 +5,7 @@ import { execAsync } from "ags/process" interface SysButtonProps { icon: string label: string - command: string + command: string[] } function SysButton({ icon, label, command }: SysButtonProps) { @@ -66,22 +66,22 @@ export default function PowerMenu(gdkmonitor: Gdk.Monitor) {