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

8 lines
111 B
Bash
Executable file

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