nixos-configs/eww/scripts/close.sh
2023-06-14 03:16:26 -04:00

8 lines
107 B
Bash
Executable file

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