nixos-configs/eww/scripts/close.sh

9 lines
107 B
Bash
Raw Normal View History

2023-06-14 03:16:26 -04:00
#!/usr/bin/env bash
WINDOW="$1"
(
eww update $WINDOW-visible=false
sleep .55
eww close $WINDOW-reveal
) &