Skip to content

Instantly share code, notes, and snippets.

@seanbreckenridge
Last active March 2, 2022 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanbreckenridge/02bf00bc50b3ad6a35088fb75e41e9e6 to your computer and use it in GitHub Desktop.
Save seanbreckenridge/02bf00bc50b3ad6a35088fb75e41e9e6 to your computer and use it in GitHub Desktop.
/home/sean/.config/i3blocks/blocks/b-todo:14:chomp <"${TODO_DIR}/todo.txt" | wc -l
/home/sean/.config/yadm/android_bootstrap:82:havecmd chomp || go install github.com/seanbreckenridge/chomp@latest
/home/sean/.config/yadm/package_lists/go_packages.txt:13:chomp github.com/seanbreckenridge/chomp
/home/sean/.local/scripts/linux/colorize_number:7:NUM="${1:-$(chomp | tr -d "\n")}"
/home/sean/.local/share/shortcuts/group-and-termgraph:4:chomp | sort | uniq -c | awk '{print $2 " " $1}' | termgraph | chomp | awk '{print $NF,$0}' | sort -n | cut -f2- -d' '
/home/sean/.local/share/shortcuts/moviesearch:3:SEARCH_STR=$(input-dialog "Search for a movie > " | chomp | tr " " "+")
/home/sean/.local/share/shortcuts/moviesearch-letterboxd:3:[ -z "$SEARCH_STR" ] && SEARCH_STR=$(input-dialog "Search for a movie > " | chomp | tr " " "+")
/home/sean/.local/share/shortcuts/moviesearch-trakt:3:[ -z "$SEARCH_STR" ] && SEARCH_STR=$(input-dialog "Search for a movie > " | chomp | tr " " "+")
/home/sean/.local/share/shortcuts/synonym:3:moby "${word}" | grep ',' | sed 's/,/\n/g' | chomp
/home/sean/.local/share/shortcuts/tvsearch:3:SEARCH_STR=$(input-dialog "Search for a TV show > " | chomp | tr " " "+")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment