Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.69k stars 709 forks source link

formats not working #2180

Open tiudvek opened 1 year ago

tiudvek commented 1 year ago

i was configuring waybar, until i reloaded one time and formats just stopped working it went from being really pretty and stuff to being just the basic thing without formats or anything

this is my config:

  {
    "position":"bottom",
    "modules-left":[
        "sway/workspaces",
    ],
    "modules-right":[
        "network",
        "pulseaudio",
        "battery",
        "custom/date",
        "clock"
    ],
    "sway/workspaces":{
        "disable-scroll":true,
        "all-outputs":true,
        "format":"{icon}",
        "persistent_workspaces":{
            "1":[
            ],
            "2":[
            ],
            "3":[
            ],
            "4":[
            ],
            "5":[
            ],
            "6":[
            ],
            "7":[
            ],
            "8":[
            ],
            "9":[
            ]
        },
        "format-icons":{
            "1":"1",
            "2":"2",
            "3":"3",
            "4":"4",
            "5":"5",
            "6":"6",
            "7":"7",
            "8":"8",
            "9":"9"
        },
        "clock":{
        "format":"{:%B %d | %H:%M}",
            "tooltip-format":"<big>{:%B %d, %Y}</big>\n<tt><small>{calendar}</small></tt>"
        },
        "battery":{
            "format":"| {icon} {capacity}% |",
            "format-icons":[
                "",
                "",
                "",
                "",
                ""
            ]
        },

        "network":{
            "format-wifi":"  {essid} |",
            "format-ethernet":"  Ethernet |",
            "format-linked":"{ifname} (No IP) |",
            "format-disconnected":"󰤭 Disconnected |",
            "tooltip-format-wifi":" Signal Strength: {signalStrength}% "
        },
        "pulseaudio":{
            "format":" {volume}% |",
            "format-muted":" Muted |"
        }
    }
}
tiudvek commented 1 year ago

(im probabbly doing something really stupid)

BoomerangNebula commented 1 year ago

When you say "without formats" do you mean styling, as in missing colors, fonts, etc.? I get a functioning bar when I use your config, so I don't see a problem with what you posted.

Can you post your style.css and a screenshot of your bar?

tiudvek commented 1 year ago

The formatting i had put was just not appearing and it was just the basic thing

BoomerangNebula commented 1 year ago

Can you elaborate a little more? I'm not getting a clear picture of the problem from what you've written.

Again, if you see any bar at all a screenshot could be helpful. Try launching waybar from the terminal and see if it outputs any errors.