nixos-configs/config/eww/scripts/close.sh

9 lines
112 B
Bash
Raw Normal View History

#!/usr/bin/env bash
WINDOW="$1"
(
eww update "$WINDOW"-visible=false
#sleep .55
eww close "$WINDOW"-reveal
) &