You are not logged in.

#1 2020-01-17 13:37:58

Vinesh
Member
Registered: 2017-08-01
Posts: 12
Website

[SOLVED] How do i detect workspace/desktop switches in openbox?

I want to perform some changes each time i switch a workspace. Is there anyway, so that my  script gets triggered on workspace switch?

As of now im thinking of using another action to execute my script like

Screenshot-from-2020-01-17-19-03-13.png

Is there any other option or suggestions please?

Last edited by Vinesh (2020-01-18 03:09:34)

Offline

#2 2020-01-17 15:08:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,731

Re: [SOLVED] How do i detect workspace/desktop switches in openbox?

You could have a script that "xprop -root spy…"'s _NET_CURRENT_DESKTOP

Offline

#3 2020-01-17 18:06:04

Vinesh
Member
Registered: 2017-08-01
Posts: 12
Website

Re: [SOLVED] How do i detect workspace/desktop switches in openbox?

seth wrote:

You could have a script that "xprop -root spy…"'s _NET_CURRENT_DESKTOP

Thanks you, its useful.

Offline

#4 2020-01-17 20:06:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,731

Re: [SOLVED] How do i detect workspace/desktop switches in openbox?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB