File waybar-config of Package branding-zeus

{
    "layer": "top", // Waybar at top layer
    "position": "top", // Waybar position (top|bottom|left|right)
    "height": 26, // Waybar height (to be removed for auto height)
    "modules-left": [ "custom/start", "wlr/taskbar" ],
    "modules-center": [ ],
    "modules-right": [ "tray", "network", "wireplumber", "clock" ],

    "wlr/taskbar": {
        "all-outputs": true,
        "format": "{icon} {title:.15}",
        "on-click": "minimize-raise",
        "tooltip": "{name}",
        "icon-size": 16
    },
    "image": {
        "path": "/usr/share/icons/hicolor/scalable/apps/labwc.svg",
        "on-click": "flock -n /tmp/1wofionly.lock -c '/usr/bin/wofi -S drun -W 250 -H 510 -l 1 -I'",
        "tooltip": false,
        "size": 24
    },
    "custom/start": {
        "format": "  ",
        "exec‐on‐event": false,
        "on-click": "flock -n /tmp/1wofionly.lock -c '/usr/bin/wofi -S drun -W 250 -H 510 -l 1 -I'",
        //"on-click-right": "wtype -M win -k space -m win",
        "interval": "once",
        "tooltip": false,
        "font-size": 18,
        "icon-size": 18
    },
    "tray": {
        "spacing": 5
    },
    "clock": {
        "format": "{:%H:%M  %e %b}",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
        "today-format": "<b>{}</b>",
    },
    "network": {
        // "interface": "wlan0", // (Optional) To force the use of this interface,
        "format-wifi": "  {essid}",
        "format-ethernet": "",
        "format-linked": "{ifname} (No IP) ",
        "format-disconnected": "",
        "format-alt": "{ifname}: {ipaddr}/{cidr}",
        "family": "ipv4",
        "tooltip-format-wifi": "  {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n {bandwidthUpBits} 
{bandwidthDownBits}",
        "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n {bandwidthUpBits}  {bandwidthDownBits}"
    },
    "wireplumber": {
        "format": "{icon} {volume}%",
        "format-muted": "",
        "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
        "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
        "format-icons": {
            "default": ["", "", ""]
        },
        },
}
openSUSE Build Service is sponsored by