nixos-configs/sway/scripts/esc.sh

6 lines
85 B
Bash
Raw Normal View History

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