From 611f2c766fbd916c758727e9899957df2339af8b Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 19 Jan 2025 19:00:07 +1100
Subject: session screen

Switch from wlogout
---
 src/modules/bar.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'src/modules/bar.tsx')

diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx
index fbcfb10..47702e8 100644
--- a/src/modules/bar.tsx
+++ b/src/modules/bar.tsx
@@ -452,11 +452,7 @@ const DateTime = () => (
 );
 
 const Power = () => (
-    <button
-        className="module power"
-        label="power_settings_new"
-        onClicked={() => execAsync("fish -c 'pkill wlogout || wlogout -p layer-shell'").catch(console.error)}
-    />
+    <button className="module power" label="power_settings_new" onClicked={() => App.toggle_window("session")} />
 );
 
 export default ({ monitor }: { monitor: Monitor }) => (
-- 
cgit v1.2.3-freya

