nixos-configs/sway/scripts/esc.sh

5 lines
85 B
Bash
Executable file

#!/bin/bash
if [[ $(eww state) ]]; then
eww close-all
fi
input-emulator kbd key esc