ENH update runtime pkgs script to query xmobar
This commit is contained in:
parent
83d4873c10
commit
e834162255
|
@ -15,9 +15,7 @@ jq_type () {
|
||||||
echo "$1" | jq --raw-output "select(.type==\"$2\") | .name" | sort | uniq
|
echo "$1" | jq --raw-output "select(.type==\"$2\") | .name" | sort | uniq
|
||||||
}
|
}
|
||||||
|
|
||||||
raw=$(xmonad --deps | jq "$query")
|
raw=$(echo -e "$(xmonad --deps | jq "$query")\n$(xmobar --deps | jq "$query")")
|
||||||
|
|
||||||
jq_type "$raw" "$1"
|
|
||||||
|
|
||||||
# these are extra packages that pertain to processes outside xmonad but are
|
# these are extra packages that pertain to processes outside xmonad but are
|
||||||
# still required/desired to make it work correctly
|
# still required/desired to make it work correctly
|
||||||
|
|
Loading…
Reference in New Issue