Skip to content

Commit

Permalink
update for apple silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaorio committed Jun 26, 2023
1 parent cc04269 commit c866504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nero/yabai.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const initialState = 'Loading Yabai...'

export const command = (dispatch) => {
run('defaults read -g AppleInterfaceStyle 2>/dev/null').then((themeData) => {
run('/usr/local/bin/yabai -m query --spaces').then((spacesData) => {
run('/usr/local/bin/yabai -m query --windows').then((windowData) => {
run('/opt/homebrew/bin/yabai -m query --spaces').then((spacesData) => {
run('/opt/homebrew/bin/yabai -m query --windows').then((windowData) => {
const spaces = JSON.parse(spacesData)
const windows = JSON.parse(windowData || {})
const theme = themeData ? 'dark' : 'light'
Expand Down

0 comments on commit c866504

Please sign in to comment.