anchor.diff:    [global/wm]
     margin-top = 5
     margin-bottom = 5
  +
  +  [module/external-ip]
  +  type = custom/script
  +  exec = ${pkgs.curl}/bin/curl --connect-timeout 2 -fs myip.matejc.com
  +  click-left = ${pkgs.curl}/bin/curl --connect-timeout 2 -fs myip.matejc.com
  +  click-right = ${pkgs.curl}/bin/curl --connect-timeout 2 -fs myip.matejc.com | ${pkgs.xclip}/bin/xclip -i -selection clipboard
  +  interval = 30
  +  format-underline = ''${colors.underline}
  +  format-prefix = " "
  +
  +
  +  [module/microphone]
  +  type = custom/script
  +  exec = ${variables.homeDir}/bin/polybar-micstatus
  +  click-left = ${pkgs.alsaUtils}/bin/amixer sset Capture toggle
  +  tail = true
     '';
   } {
     target = "${variables.homeDir}/bin/polybar-batstatus";
  
positive.code: 
    use-ui-max = false
  
    format-volume = <label-volume> <bar-volume>
    label-volume = 
    label-volume-foreground = ''${root.foreground}
  
    format-muted-foreground = ''${colors.foreground-alt}
    label-muted = 
  
    bar-volume-width = 10
    bar-volume-foreground-0 = #55aa55
  
negative.code: 
    modules-left = i3
    modules-center = xwindow
    modules-right = xkeyboard filesystem memory cpu ${pkgs.lib.concatImapStringsSep " " (i: v: ''wlan${toString i}'') variables.wirelessInterfaces} ${pkgs.lib.concatImapStringsSep " " (i: v: ''eth${toString i}'') variables.ethernetInterfaces} external-ip batstatus ${pkgs.lib.concatImapStringsSep " " (i: v: ''temperature${toString i}'') variables.temperatureFiles}  backlight-acpi microphone volume date
    ; ${pkgs.lib.concatImapStringsSep " " (i: v: ''battery${toString i}'') variables.batteries}
  
    tray-position = right
  