Libraryless. Click here for Pure Java version (3582L/25K).
1 | scope xrandr_status. |
2 | |
3 | sbool #cacheOn; |
4 | sS #cacheValue; |
5 | |
6 | sS xrandr_status() {
|
7 | if (cacheOn && cacheValue != null) |
8 | ret cacheValue; |
9 | S s = backtick("xrandr");
|
10 | if (cacheOn) |
11 | cacheValue = s; |
12 | ret s; |
13 | } |
14 | |
15 | 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: | 433 / 588 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |