Skip to content

Commit

Permalink
bump to 1.7.0 + rename to isPaused
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Nov 30, 2024
1 parent 3011866 commit e24274c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/client-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@tauri-apps/api": "2.0.2",
"@tauri-apps/plugin-dialog": "2.0.0",
"@tauri-apps/plugin-shell": "2.0.0",
"glazewm": "1.6.0",
"glazewm": "1.7.0",
"luxon": "3.4.4",
"zod": "3.22.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function createGlazeWmProvider(
break;
}
case WmEventType.PAUSE_CHANGED: {
state = { ...state, paused: e.paused };
state = { ...state, isPaused: e.isPaused };
break;
}
}
Expand All @@ -124,14 +124,14 @@ export function createGlazeWmProvider(
const { focused: focusedContainer } = await client.queryFocused();
const { bindingModes } = await client.queryBindingModes();
const { tilingDirection } = await client.queryTilingDirection();
const { paused } = await client.queryPaused();
const { paused: isPaused } = await client.queryPaused();

return {
...(await getMonitorState()),
focusedContainer,
tilingDirection,
bindingModes,
paused,
isPaused,
runCommand,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
type Monitor,
type RunCommandResponse,
type Workspace,
type Window,
} from 'glazewm';

import type { Provider } from '../create-base-provider';
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e24274c

Please sign in to comment.