diff --git a/README.md b/README.md index ad1be3b..c1cd4b5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # grim -> ⚠️ **Heads up!** This project has [moved to SourceHut](https://sr.ht/~emersion/grim/). - Grab images from a Wayland compositor. Works great with [slurp] and with [sway]. ## Example usage diff --git a/contrib/completions/bash/grim.bash b/contrib/completions/bash/grim.bash index 9de455d..7c2b1ce 100644 --- a/contrib/completions/bash/grim.bash +++ b/contrib/completions/bash/grim.bash @@ -1,7 +1,6 @@ _grim() { _init_completion || return - local CUR PREV CUR="${COMP_WORDS[COMP_CWORD]}" PREV="${COMP_WORDS[COMP_CWORD-1]}" @@ -9,7 +8,6 @@ _grim() { COMPREPLY=($(compgen -W "png ppm jpeg" -- "$CUR")) return elif [[ "$PREV" == "-o" ]]; then - local OUTPUTS OUTPUTS="$(swaymsg -t get_outputs 2>/dev/null | \ jq -r '.[] | select(.active) | "\(.name)\t\(.make) \(.model)"' 2>/dev/null)"