Skip to content

Commit

Permalink
fix get resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman249 committed Oct 30, 2023
1 parent c5f92b4 commit a8b12ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/src/modules/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class Monitor {
this.monitors = [];

let regexp = /^(.*) connected( | primary )([0-9]{3,4}x[0-9]{3,4}).*\n*/mg;
let info = this.command.exec('xrandr --verbose');
let info = this.command.exec('xrandr -d :0 --verbose');

Array.from(info.matchAll(regexp)).forEach((match) => {
let full = match[0].trim();
Expand Down
2 changes: 1 addition & 1 deletion src/src/modules/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const fs = require('fs');

export default class Update {

version = '1.5.22';
version = '1.5.23';

/**
* @type {string}
Expand Down

0 comments on commit a8b12ac

Please sign in to comment.