You are not logged in.
Pages: 1
Hi, I'm trying to implement some kind of visual feedback for workspace switching, I'm trying to have a separate panel with just the workspace switcher and nothing more and set to auto-hide, however I would like this panel to show for a moment every time I switch workspaces... Any ideas/suggestions on how I could achieve this?
Little screenshot of the xfce4-panel I mentioned for illustrative purposes: https://ibb.co/wBMFymR
Offline
There is no built-in functionality to accommodate this. However, you can script something to achieve a similar result.
Have a look at this script that fires up a notification on workspace change. For your use case, instead of the notify-send command on line 27, enter the following command:
xfconf-query -c xfce4-panel -p /panels/panel-3/autohide-behavior -s 1 && xfconf-query -c xfce4-panel -p /panels/panel-3/autohide-behavior -s 2
...note that you should change "panel-3" to be the actual number of the panel that you want to momentarily display.
With this script running, the panel should momentarily display when you change workspaces.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
This works perfectly just like I wanted, thank you ToZ!! :-)
Last edited by merazi (2024-08-13 03:03:02)
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 523.34 KiB (Peak: 524.21 KiB) ]