Lyr-7D1h / swayest_workstyle

Map workspace names to icons for Sway
MIT License
119 stars 18 forks source link

Rename ws to ws' icon next to swayest part? #45

Open tmpm697 opened 7 months ago

tmpm697 commented 7 months ago

I have this case:

vi waybar/config
  "sway/workspaces": {
    "format": "{icon}",
    "format-icons": {
      "11": "",
      "12": ""
    }
  },

so if it's workspace 11 then show the icon specified in format-icons if i start open an application in ws 11, then swayest start to rename that workspace completely

what i want here is that swayest rename it to like <icon of ws 11>: <swayest here>

so basically: before start any app we have workspace: <ws 11 icon from format-icons>

and then after open apps we have workspace renamed to: <icon of ws 11>: <swayest here>

how to achived this? @Lyr-7D1h