1. nomeata
  2. arbtt
  3. Issues
Issue #1 resolved

Track active workspace name.

nomeata
repo owner created an issue

Currently, I get

$ wmctrl -d
0  - DG: N/A  VP: N/A  WA: N/A  1
1  - DG: N/A  VP: N/A  WA: N/A  2
2  * DG: N/A  VP: N/A  WA: N/A  3
3  - DG: N/A  VP: N/A  WA: N/A  4
4  - DG: N/A  VP: N/A  WA: N/A  5
5  - DG: N/A  VP: N/A  WA: N/A  6

In that case, the variable $workspace should evaluate to 3 (other users have more informative names there).

Implementation: Add a field to CaptureData, change the serializaion in a backward-compatible manner and expose it as $workspace.

Comments (4)

  1. Owlen

    This would be great!

    On KDE with Plasma, I get

    $ wmctrl -d
    0  * DG: 2960x1050  VP: 0,0  WA: 0,0 2960x1000  Main
    1  - DG: 2960x1050  VP: 0,0  WA: 0,0 2960x1000  Android
    2  - DG: 2960x1050  VP: 0,0  WA: 0,0 2960x1000  Kids
    3  - DG: 2960x1050  VP: 0,0  WA: 0,0 2960x1000  Project A
    4  - DG: 2960x1050  VP: 0,0  WA: 0,0 2960x1000  Project B
    
  2. Log in to comment