diff --git a/onedark/polybar/config.ini b/onedark/polybar/config.ini index d4a316c..b28e5c5 100644 --- a/onedark/polybar/config.ini +++ b/onedark/polybar/config.ini @@ -21,18 +21,17 @@ color15 = ${xrdb:color15} dark-light = #272A2B active-light = #313435 -[bar/example] -tray-position = left +[bar/example] monitor = LVDS-1 width = 100% height = 22 padding-left = 1 -padding-right = 0 +padding-right = 1 background = ${colors.background} foreground = ${colors.foreground} bottom = false -border-top-size = 4 -border-bottom-size = 4 +border-top-size = 5 +border-bottom-size = 5 border-top-color = ${colors.background} border-bottom-color = ${colors.background} @@ -41,13 +40,43 @@ wm-restack = bspwm modules-left =round-left bspwm round-right modules-center = -modules-right = pacup temperature alsa cpu round-left mem round-right spaces wlan round-left time round-right powermenu +modules-right = round-left polywins round-right mpd pacup temperature pulseaudio cpu round-left mem round-right spaces wlan round-left time round-right font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=11;2 font-1 = JetBrainsMono Nerd Font:size=17;4 font-2 = Material Design Icons:style=Bold:size=13;3 font-3 = unifont:fontformat=truetype:size=13:antialias=true; + +[module/mpd] +type = internal/mpd +format-online = +;remove +format-online-background = ${colors.background} +format-online-padding = 1 +format-online-foreground = ${colors.background} +;remove +;icon-prev =  +;icon-stop =  +;icon-play =  +;icon-pause =  +;icon-next =  +;icon-music = 󰝚 +icon-prev = 󰒮 +icon-stop = 󰓛 +icon-play = 󰐊 +icon-pause = 󰏤 +icon-next = 󰒭 + +icon-prev-foreground = #98c379 +icon-play-foreground = #abb2bf +icon-pause-foreground = #abb2bf +icon-next-foreground =#98c379 +label-song-maxlen = 25 +label-song-ellipsis = true +;label-song-background = ${colors.background-alt} +;label-song-background = ${colors.background} +; [module/temperature] type = internal/temperature thermal-zone = 0 @@ -65,6 +94,15 @@ format-padding = 1 ramp-0 = 󰸁 ramp-foreground = ${colors.color11} +[module/polywins] +type = custom/script +exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null +format =