Xfce Forum

Sub domains
 

You are not logged in.

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

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

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
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,372

Re: Howto run script or command on workspace switch?

Have a look here.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

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

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

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