emacs-from-scratch
emacs-from-scratch copied to clipboard
exwm show icon of program open in polybar for each workspace
I want to modify following function such that polybar shows icon of program opened (active) in each workspace for all workspaces. https://github.com/daviwil/emacs-from-scratch/blob/master/show-notes/Emacs-Desktop-05.org#adding-a-workspace-indicator-to-the-panel
for eg suppose I have following programs active in 4 workspace, 0 : firefox 1: emacs 2: discord 3: terminal and "0" is active workspace.
So polybar show "0 firfox icon 1 emacsicon 2 discordicon 3 terminalicon"
If icon is not possible, may be plain text based on class of the program should be possible.
For above, I require elisp variable which contains information of currently active program name for each workspace. Can someone help with that.