This commit is contained in:
2023-06-22 17:17:26 +02:00
parent 2d81e0a579
commit b024b8c828
17 changed files with 521 additions and 146 deletions

View File

@ -26,7 +26,9 @@ function getprop() {
SELECT_ID=$(echo ".. | (.nodes? // empty)[] | select(.id == $window_id) | $CLEAR_OBJ ")
selected="$(swaymsg -t get_tree | jq -r "$ALL_NODES" | jq -c ". | select(.id==$window_id)" | jq)"
echo "$selected"
echo "$selected" > /tmp/sway_debug_window.json
notify-send "Debug:" "$(echo $selected | jq -c "$CLEAR_OBJ" | jq)";
wezterm start -- nvim /tmp/sway_debug_window.json;
fi
}