Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1026207 // xrandr_status

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3582L/25K).

scope xrandr_status.

sbool #cacheOn;
sS #cacheValue;

sS xrandr_status() {
  if (cacheOn && cacheValue != null)
    ret cacheValue;
  S s = backtick("xrandr");
  if (cacheOn)
    cacheValue = s;
  ret s;
}

end scope

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026207
Snippet name: xrandr_status
Eternal ID of this version: #1026207/2
Text MD5: 173765d9bc2601b3d1d716f102bdea0c
Transpilation MD5: e89dded5eb6a5085fa6ed3c473891791
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-30 15:03:15
Source code size: 231 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 246 / 358
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026208 - temp_xrandr_cacheOn