Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-06-03 08:17:07

saski
Member
Registered: 2018-05-31
Posts: 19

Howto run script or command on workspace switch?

Hi there,

is it possible to execute a bash script or command everytime I switch workspaces? I dont use compositing and would like to use fake transparency with conky using the "feh" trick. triggering feh using sleep every second or so works well but it causes my laptop to consume more power and frankly loading background images every second is stupid wink. So triggering the feh command on desktop switch seems like a good idea.

Is this possible?

Thx and Regards

Offline

#2 2018-06-03 09:47:33

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,950

Re: Howto run script or command on workspace switch?

Have a look here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-06-03 10:24:24

saski
Member
Registered: 2018-05-31
Posts: 19

Re: Howto run script or command on workspace switch?

ToZ wrote:

Have a look here.

Exactly what I was looking for. Thx a lot! smile

Offline

Board footer

Powered by FluxBB