Skip to content

Commit

Permalink
revert 52b2e57
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylur committed Feb 26, 2024
1 parent 60e69ac commit 2e80d4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

- Widget.attribute assign falsy values

## Breaking Changes

- revert: hyprland service: workspace and monitor signal emit number

# 1.7.7

## Features
Expand Down
16 changes: 8 additions & 8 deletions src/service/hyprland.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ export class Hyprland extends Service {
'urgent-window': ['string'],
'submap': ['string'],
'keyboard-layout': ['string', 'string'],
'monitor-added': ['int'],
'monitor-removed': ['int'],
'workspace-added': ['int'],
'workspace-removed': ['int'],
'monitor-added': ['string'],
'monitor-removed': ['string'],
'workspace-added': ['string'],
'workspace-removed': ['string'],
'client-added': ['string'],
'client-removed': ['string'],
'fullscreen': ['boolean'],
Expand Down Expand Up @@ -274,22 +274,22 @@ export class Hyprland extends Service {

case 'monitorremoved':
await this._syncMonitors();
this.emit('monitor-removed', Number(argv[0]));
this.emit('monitor-removed', argv[0]);
break;

case 'monitoradded':
await this._syncMonitors();
this.emit('monitor-added', Number(argv[0]));
this.emit('monitor-added', argv[0]);
break;

case 'createworkspace':
await this._syncWorkspaces();
this.emit('workspace-added', Number(argv[0]));
this.emit('workspace-added', argv[0]);
break;

case 'destroyworkspace':
await this._syncWorkspaces();
this.emit('workspace-removed', Number(argv[0]));
this.emit('workspace-removed', argv[0]);
break;

case 'openwindow':
Expand Down

0 comments on commit 2e80d4e

Please sign in to comment.