I run without any panels, taskbars, or whatever, since I like my screen real estate.
I've got a small script that dumps the date/time and my battery status to an OSD via osd_cat when I hit a hotkey, eg:
I'd like to include another line that'll tell me what workspace I'm on, so that I'd have "Workspace [1-4]" in, say, the upper left corner.
Is there any way to get the active workspace number from xfdesktop / xfwm?
I'm running 184.108.40.206 on Dapper.
I seem to recall that in an earlier version (4.2 maybe?) the active session information was stored in a session file that got moved to the "last" session file when I logged out, but now I can't seem to find it.
Anybody got any ideas?
you can do this with wmctrl
wmctrl -d | grep '*' | cut -d " " -f14