You are not logged in.

#1 2024-11-22 10:43:24

unt3rhofer
Member
Registered: 2024-11-21
Posts: 2

Remove workspace names in polybar with i3

I am aware that this topic is closely related to my issue but it didn't help me.

My issue is that the workspace icons are displayed as workspace_number<workspace_icon> instead of just <workspace_icon>.

It is not a bug but I just don't know how to achieve what I wish to.

I tried this

[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
enable-click = true
enable-scroll = true
reverse-scroll = false
spacing = 10

ws-icon-1 = "1;1"
ws-icon-2 = "2;2"
ws-icon-3 = "3;3"
ws-icon-4 = "4;<thingamajing1>"
ws-icon-5 = "5;<thingamajing2>"
ws-icon-6 = "6;<thingamajing3>"
ws-icon-7 = "7;<thingamajing4>"
ws-icon-8 = "8;<thingamajing5>"
ws-icon-9 = "9; <thingamajing6>"
ws-icon-10 = "10;<thingamajing7>"

label-active = %{F#8aadf4}%icon% %{F-}
label-occupied = %{F#91d7e3}%icon% %{F-}
label-urgent = %{F#ed8796}%icon% %{F-}
label-empty = %{F#6e738d}%icon% %{F-}

but I fell back to this config because the one where i tried using %icon% did not display anything, not the icon nor the number.

[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
enable-click = true
enable-scroll = true
reverse-scroll = false
spacing = 10

ws-icon-1 = "1;1"
ws-icon-2 = "2;2"
ws-icon-3 = "3;3"
ws-icon-4 = "4;<thingamajing1>"
ws-icon-5 = "5;<thingamajing2>"
ws-icon-6 = "6;<thingamajing3>"
ws-icon-7 = "7;<thingamajing4>"
ws-icon-8 = "8;<thingamajing5>"
ws-icon-9 = "9; <thingamajing6>"
ws-icon-10 = "10;<thingamajing7>"

label-active = %{F#8aadf4}%name% %{F-}
label-occupied = %{F#91d7e3}%name% %{F-}
label-urgent = %{F#ed8796}%name% %{F-}
label-empty = %{F#6e738d}%name% %{F-}

Thank you guys in advance smile

edit: in case it is not clear, thingamajings are placeholders for icons because I use FontAwesome4 and it probably would not display here properly.

Last edited by unt3rhofer (2024-11-22 10:45:16)

Offline

Board footer

Powered by FluxBB