improve eww
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Lock the session. hyprlock runs as its own transient unit so that an eww
|
||||
# restart can never take the lock screen down with it.
|
||||
unit=eww-lock
|
||||
eww close popup 2>/dev/null
|
||||
eww close powermenu 2>/dev/null
|
||||
# swaylock #swaylock-effects
|
||||
hyprlock
|
||||
# gtklock
|
||||
eww update active-panel= 2>/dev/null
|
||||
systemctl --user is-active --quiet "$unit" && exit 0
|
||||
detach -u "$unit" hyprlock
|
||||
|
||||
Reference in New Issue
Block a user