mirror of
https://github.com/tomru/switchmon.git
synced 2026-03-03 06:27:23 +01:00
remove obsolete loggin statement
This commit is contained in:
3
index.js
3
index.js
@@ -50,9 +50,6 @@ function generateXrandrOptions(monitorList, devices) {
|
|||||||
xrandrOptions += monitorOptions.join(' ');
|
xrandrOptions += monitorOptions.join(' ');
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(xrandrOptions);
|
|
||||||
|
|
||||||
|
|
||||||
// sanity check if at least one monitor is on
|
// sanity check if at least one monitor is on
|
||||||
if (xrandrOptions.indexOf('--auto') === -1) {
|
if (xrandrOptions.indexOf('--auto') === -1) {
|
||||||
throw 'Non of the given monitors are connected, aborting...';
|
throw 'Non of the given monitors are connected, aborting...';
|
||||||
|
|||||||
Reference in New Issue
Block a user