Skip to content

Separator \ue0b2 vertical alignement and size again #1865

Open
@tkapias

Description

@tkapias

There where many issues with the separator character \ue0b2 (), like #246. They are all unsolved.

I just wanted to let people know that I found one easy solution. Not i3 patching and perfect alignement.

First let me tell you that I tried, Nerd fonts, Powerline fonts, Awesome fonts, different pango parameters and sizes. Nothing worked.

Found the solutoion here : https://grapefruit.neocities.org/hacks/i3blocks_powerline

My i3wm config for bar:

bar {
    id bar-1
    status_command i3status-rs ~/.config/i3status-rust/config.toml
    i3bar_command i3bar --transparency
    font pango:IBM Plex Mono, Material Icons 12
    position bottom
    tray_output primary
    mode hide
    hidden_state hide
    modifier $mod
    workspace_min_width 40
    colors {
        separator #282a36
        background #282a3670
        statusline #f8f8f2
        focused_workspace #50fa7b70 #50fa7b #282a36
        active_workspace #8be9fd70 #8be9fd #282a36
        inactive_workspace #282a3670 #282a3670 #f8f8f2
        urgent_workspace #2f343a70 #ff555570 #282a36
    }
    padding 0
}

My i3stats-rust theme config:

[theme]
theme = "dracula"
[theme.overrides]
idle_bg = "#22222270"
separator = "<span font-family='Terminus' size='16000'></span>"

[icons]
icons = "material"

Using Terminus font in the i3wm bar config as a fallback did not work. Only using it in the span did the trick for me.

Please test on other hardware and add to doc if it's good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions