awesome: &awesome Font Awesome 6 Free:style=solid:pixelsize=24

bar:
  height: 48
  location: bottom
  background: 00000099
  foreground: ffffffcc
  margin: 8
  spacing: 14
  font: "Go Mono:style=solid:size=32"

  right:
    - network:
        name: wlp1s0
        poll-interval: 30
        content:
          map:
            default: {string: {text: , font: *awesome, foreground: ffffff66}}
            conditions:
              state == down: {string: {text: , font: *awesome, foreground: ff0000ff}}
              state == up:
                    - string: {text: " ", font: *awesome}
                    - string: {text: "{ssid}"}
    - battery:
       name: BAT0
       poll-interval: 30
       content:
         map:
           default: {string: {text: "🔋{capacity}% ({estimate})"}}
           conditions:
             capacity < 15: {string: {text: "🔋{capacity}% ({estimate})", foreground: ffa500ff}}
             state == charging: {string: {text: "🔋{capacity}% ({estimate})", foreground: 9acd32ff}}

    - pipewire:
         content:
           map:
             conditions:
               type == "sink":
                 map:
                   default: {string: {text: "🔊 {cubic_volume}%"}}
                   conditions:
                     muted: {string: {text: "🔇 {cubic_volume}%"}}

    - backlight:
        name: amdgpu_bl0
        content:
          - string: {text: "💡{percent}%"}

    - clock:
        content:
          - string: {text: "🕒 {time}"}

  left:
    - foreign-toplevel:
        content:
          map:
            conditions:
              activated:
                - string: {text: "{title}"}
                - string: {text: " - {app-id}", foreground: ffffff99}

