improve eww

This commit is contained in:
2026-09-10 19:54:50 +02:00
parent e551d36e1c
commit 7bb27f9373
46 changed files with 1296 additions and 1092 deletions
@@ -1,4 +1,11 @@
#!/usr/bin/env bash
eww close popup 2>/dev/null
eww update active-panel=""
eww-open-on-current-screen powermenu --toggle
# Toggle the full-screen power menu on the focused monitor.
ew() { timeout 5 eww "$@"; }
ew close popup 2>/dev/null
ew update active-panel=
screen=$(eww-bar focused)
if [[ -n $screen ]]; then
ew open powermenu --toggle --screen "$screen"
else
ew open powermenu --toggle
fi