From e83416225588b7800f5d1e950713ab92cfc00280 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 1 Aug 2022 16:26:00 -0400 Subject: [PATCH] ENH update runtime pkgs script to query xmobar --- scripts/runtime_pkgs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/runtime_pkgs b/scripts/runtime_pkgs index ae61a79..6875306 100755 --- a/scripts/runtime_pkgs +++ b/scripts/runtime_pkgs @@ -15,9 +15,7 @@ jq_type () { echo "$1" | jq --raw-output "select(.type==\"$2\") | .name" | sort | uniq } -raw=$(xmonad --deps | jq "$query") - -jq_type "$raw" "$1" +raw=$(echo -e "$(xmonad --deps | jq "$query")\n$(xmobar --deps | jq "$query")") # these are extra packages that pertain to processes outside xmonad but are # still required/desired to make it work correctly