fix powerbutton - 2

This commit is contained in:
2025-05-03 11:06:52 +02:00
parent 1e66437e04
commit 228215db5e
7 changed files with 16 additions and 14 deletions

View File

@@ -0,0 +1,6 @@
WINDOW_NAME="power"
if eww windows | grep -q "$WINDOW_NAME"; then
eww close "$WINDOW_NAME"
else
eww open "$WINDOW_NAME"
fi