{ config, pkgs, ... }: { services.polybar = { enable = config.xsession.windowManager.i3.enable; config = { "bar/top" = { monitor = "\${env:MONITOR:}"; # monitor = "\${env:MONITOR:DVI-D-1}"; width = "100%"; height = "34"; background = "#00000000"; foreground = "#ccffffff"; # line-color = "\${bar/top.background}"; line-size = "16"; spacing = "2"; padding-right = "5"; module-margin = "4"; font-0 = "NotoSans-Regular:size=8;-1"; font-1 = "MaterialIcons:size=10;0"; font-2 = "Termsynu:size=8:antialias=false;-2"; font-3 = "FontAwesome:size=10;0"; # modules-left = "powermenu"; modules-left = "i3"; modules-right = "cpu memory volume wired-network date"; tray-position = "right"; tray-padding = "2"; }; "module/volume" = { type = "internal/pulseaudio"; speaker-mixer = "Speaker"; headphone-mixer = "Headphone"; headphone-id = "9"; format-volume = " "; label-muted = " muted"; label-muted-foreground = "#66"; ramp-volume-0 = ""; ramp-volume-1 = ""; ramp-volume-2 = ""; # ramp-volume-3 = "4"; }; "module/i3" = { type = "internal/i3"; format = " "; index-sort = true; pin-workspaces = true; }; "module/wired-network" = { type = "internal/network"; interface = "eno1"; interval = "3.0"; label-connected = "%{T3}%local_ip%%{T-}"; label-disconnected-foreground = "#66"; }; "module/date" = { type = "internal/date"; date = "%%{F#99}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}"; date-alt = "%%{F#fff}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-}"; }; "module/memory" = { type = "internal/memory"; format = "