vpn eww and eww crash

This commit is contained in:
2026-09-10 21:02:27 +02:00
parent 7bb27f9373
commit a53f120b63
14 changed files with 246 additions and 51 deletions
@@ -1,11 +1,12 @@
#!/usr/bin/env bash
# Toggle the full-screen power menu on the focused monitor.
ew() { timeout 5 eww "$@"; }
ew close popup 2>/dev/null
ew update active-panel=
# Toggle the full-screen power menu on the focused monitor. The open's exit
# status is ignored: it exceeds the client's 100 ms reply deadline.
eww close popup 2>/dev/null
eww update active-panel= 2>/dev/null
screen=$(eww-bar focused)
if [[ -n $screen ]]; then
ew open powermenu --toggle --screen "$screen"
eww open powermenu --toggle --screen "$screen" >/dev/null 2>&1
else
ew open powermenu --toggle
eww open powermenu --toggle >/dev/null 2>&1
fi
exit 0