Closed nendix closed 8 months ago
What are your OS, yabai and Übersicht versions please?
You can try to follow theses steps.
First make sure that you have started yabai with:
yabai --start-service
You should put in the settings module the output of this command:
which yabai
If yabai services are started and you put the right path in simple-bar' settings module, can you try to run this command and see if the json output is broken in anyway?
# go to simple-bar folder
cd $HOME/Library/Application\ Support/Übersicht/widgets/simple-bar
# manually run the init.sh script (which is run on every simple-bar refresh) with all arguments to false except yabai path
bash ./lib/scripts/init.sh $(which yabai) "false" "false" "false"
# 1st argument = yabai_path
# 2nd argument = display_skhd_mode
# 3rd argument = disable_signals
# 4th argument = enable_window_title_changed_signal
Better, if you have jq
installed, you can check directly if the output is valid by piping the result of the command through it:
bash ./lib/scripts/init.sh $(which yabai) "false" "false" "false" | jq
Please let me know these information are useful :)
macOS: 14.2.1 yabai: v6.0.6 Übersicht: 1.6
output of bash ./lib/scripts/init.sh $(which yabai) "false" "false" "false" | jq
{
"spaces": [
{
"id": 3,
"uuid": "C19C655F-5F95-45D3-918F-C2436F0DECA3",
"index": 1,
"label": "",
"type": "bsp",
"display": 1,
"windows": [
24375
],
"first-window": 24375,
"last-window": 24375,
"has-focus": true,
"is-visible": true,
"is-native-fullscreen": false
}
],
"windows": [
{
"id": 24375,
"pid": 81220,
"app": "kitty",
"title": "bash ./lib/scripts/init.sh $(which yabai) false false false | jq",
"frame": {
"x": 2.0000,
"y": 36.0000,
"w": 1916.0000,
"h": 1042.0000
},
"role": "AXWindow",
"subrole": "AXStandardWindow",
"root-window": true,
"display": 1,
"space": 1,
"level": 0,
"layer": "normal",
"opacity": 1.0000,
"split-type": "none",
"split-child": "second_child",
"stack-index": 0,
"can-move": true,
"can-resize": true,
"has-focus": true,
"has-shadow": true,
"has-parent-zoom": false,
"has-fullscreen-zoom": false,
"is-native-fullscreen": false,
"is-visible": true,
"is-minimized": false,
"is-hidden": false,
"is-floating": false,
"is-sticky": false,
"is-grabbed": false
}
],
"displays": [
{
"id": 3,
"uuid": "A9852BA3-C717-4727-9B28-0396D3A54232",
"index": 1,
"frame": {
"x": 0.0000,
"y": 0.0000,
"w": 1920.0000,
"h": 1080.0000
},
"spaces": [
1
]
}
],
"SIP": "System Integrity Protection status: enabled.",
"shadow": "on",
"skhdMode": {}
}
do I need to disable SIP?
thank you for the infos, I fixed it
I get this error when I try to load simple bar, I've already changed the yabaiPath in the settings module, how can I fix that?