Solved How to specify an icon for an activator in wapanel.toml using wapanel.

Alain De Vos

Son of Beastie

Reaction score: 762
Messages: 2,512

Following wapanel.toml does not show any good icon for the sakura application in sway/wayland
Code:
[[panel]]
    position = "bottom"
    height = 28
    [[panel.applet]]
        name = "app-finder"
    [[panel.applet]]
        name = "clock"
    [[panel.applet]]
        name = "activator"
        flat = false
        icon_height = -1
        [[panel.applet.activator]]
            icon_only=true
            type = "application"
            name = "sakura"
            description = "sakura"
            command = "sakura"
            working_directory = ""

How to specify a good icon ?
 

memreflect

Well-Known Member

Reaction score: 221
Messages: 257

icon = "terminal-tango" is needed:
Code:
$ pkg list sakura | egrep '\.(png|svg)$'
/usr/local/share/pixmaps/terminal-tango.svg
 
Top