You are not logged in.
Hey all.
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:
http://www.neussubjex.net/misc/shot1.png
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 4.3.90.2 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?
Offline
you can do this with wmctrl
wmctrl -d | grep '*' | cut -d " " -f14
Offline
High five!
Thanks.
Offline
[ Generated in 0.013 seconds, 9 queries executed - Memory usage: 521.33 KiB (Peak: 522.17 KiB) ]