Libraryless. Click here for Pure Java version (3903L/27K).
svoid linux_autoMonitorSwitch() { temp temp_xrandr_cacheOn(); if (print("linux_autoMonitorSwitch has external monitor", linux_hasExternalMonitor())) linux_switchToExternalMonitor_1(); else linux_switchToInternalMonitor_1(); }
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: | #1026206 |
Snippet name: | linux_autoMonitorSwitch |
Eternal ID of this version: | #1026206/3 |
Text MD5: | d59df4938b04f7ae15c1caa287ee7e88 |
Transpilation MD5: | 286b74d206d7c9565430f96770f53ce5 |
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:06:25 |
Source code size: | 245 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 211 / 306 |
Version history: | 2 change(s) |
Referenced in: | [show references] |