FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
6.67k stars 97 forks source link

scroll_texts property value not included when querying item #520

Closed bustinbung closed 1 week ago

bustinbung commented 8 months ago

When running sketchybar --query [item] the scroll_texts property defined under the Geometry properties is not displayed in the JSON list.

Example output ```json { "name": "app", "type": "item", "geometry": { "drawing": "on", "position": "left", "associated_space_mask": 0, "associated_display_mask": 0, "ignore_association": "off", "y_offset": 0, "width": 0, "padding_left": 5, "padding_right": -1, "background": { "drawing": "on", "color": "0xffffffff", "border_color": "0xffffff", "border_width": 2, "height": 28, "corner_radius": 5, "padding_left": 0, "padding_right": 5, "y_offset": 0, "clip": 0.000000, "image": { "value": "(null)", "drawing": "off", "scale": 1.000000 }, "shadow": { "drawing": "off", "color": "0xff000000", "angle": 30, "distance": 5 } } }, "icon": { "value": ":alacritty:", "drawing": "on", "highlight": "off", "color": "0xff39465e", "highlight_color": "0xff39465e", "padding_left": 8, "padding_right": 0, "y_offset": 0, "font": "sketchybar-app-font:Regular:12.00", "width": 0, "align": "left", "background": { "drawing": "off", "color": "0x0", "border_color": "0x0", "border_width": 0, "height": 0, "corner_radius": 0, "padding_left": 0, "padding_right": 0, "y_offset": 0, "clip": 0.000000, "image": { "value": "(null)", "drawing": "off", "scale": 1.000000 }, "shadow": { "drawing": "off", "color": "0xff000000", "angle": 30, "distance": 5 } }, "shadow": { "drawing": "off", "color": "0xff000000", "angle": 30, "distance": 5 } }, "label": { "value": "Alacritty / Zellij (hopeful-triceratops) - Pane #3", "drawing": "on", "highlight": "off", "color": "0xff39465e", "highlight_color": "0xff39465e", "padding_left": 8, "padding_right": 8, "y_offset": 0, "font": "JetBrains Mono:Regular:12.00", "width": 0, "align": "left", "background": { "drawing": "off", "color": "0x0", "border_color": "0x0", "border_width": 0, "height": 0, "corner_radius": 0, "padding_left": 0, "padding_right": 0, "y_offset": 0, "clip": 0.000000, "image": { "value": "(null)", "drawing": "off", "scale": 1.000000 }, "shadow": { "drawing": "off", "color": "0xff000000", "angle": 30, "distance": 5 } }, "shadow": { "drawing": "off", "color": "0xff000000", "angle": 30, "distance": 5 } }, "scripting": { "script": "/Users/justin/.config/sketchybar/plugins/apps_plugin.sh", "click_script": "(null)", "update_freq": 0, "update_mask": 49, "updates": "on" }, "bounding_rects": { "display-1": { "origin": [ 359.000000, 948.000000 ], "size": [ 197.000000, 34.000000 ] } } } ```