Skip to content

Commit

Permalink
feat(alias): add reflux alias to bounce f.lux, ventura issue
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Sep 10, 2023
1 parent ce6b5a0 commit dadc420
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aliases/zsh.aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,7 @@ if type terminal-notifier > /dev/null 2>&1; then
fi

alias jwt_from_clip="pbpaste | jwt decode -j - | jq -r '.payload'"
alias jqkeys="jq -r 'select(objects)|=[.] | map( paths(scalars) ) | map( map(select(numbers)=\"[]\") | join(\".\")) | unique | .[]' | sed 's/.\[\]/[]/g' | xargs printf -- '.%s\n'"
alias jqkeys="jq -r 'select(objects)|=[.] | map( paths(scalars) ) | map( map(select(numbers)=\"[]\") | join(\".\")) | unique | .[]' | sed 's/.\[\]/[]/g' | xargs printf -- '.%s\n'"

# Bounce Flux
alias reflux='osascript -e "tell application \"Flux\" to quit" && open -a Flux'

0 comments on commit dadc420

Please sign in to comment.