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

3
LINES

< > BotCompany Repo | #1024450 // linux_activeWindowID - costs one invocation of xprop

JavaX fragment (include)

sS linux_activeWindowID() {
  ret extractRegexpIC("0x[0-9a-f]+", backtick("xprop -root _NET_ACTIVE_WINDOW"));
}

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: #1024450
Snippet name: linux_activeWindowID - costs one invocation of xprop
Eternal ID of this version: #1024450/1
Text MD5: 87a63466d1a00e17c1848e7881fb1750
Author: stefan
Category: javax / linux
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-13 09:39:58
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 192
Referenced in: [show references]