Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kwin_check.js 217B

123456
  1. var win = workspace.activeWindow;
  2. var name = win.caption;
  3. var pid = win.pid;
  4. var state = (win.bufferGeometry == win.output.geometry);
  5. var obj = { name: name, pid: pid, fullscreen: state };
  6. print(JSON.stringify(obj));