Update config.ini

Updated mpd module
This commit is contained in:
Mangeshrex 2021-06-02 12:42:29 +05:30 committed by GitHub
parent 312d9e5e5a
commit 0bd44ca17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = <icon-prev> <icon-stop> <toggle> <icon-next>
;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 = <label>
label = %output%
;label-padding = 1
tail = true
label-background = ${colors.color8}
[module/pacup]
type = custom/script
exec = ~/.config/polybar/scripts/pacup.sh
@ -89,15 +127,14 @@ reverse-scroll = false
format = <label-state>
ws-icon-0 =I;%{F#e06c75}󰣇
ws-icon-1 =II;%{F#98c379}󰊯
ws-icon-2 =III;%{F#e5c07b}
ws-icon-3 =IV;%{F#61afef}󰔁
ws-icon-4 =V;%{F#9a7ecc}󰎆
ws-icon-5 =VI;%{F#56b6c2}󰊠
ws-icon-0 =I;%{F#e06c75}󰄛
ws-icon-1 =II;%{F#56b6c2}󰆍
ws-icon-2 =III;%{F#e5c07b}󰲂
ws-icon-3 =IV;%{F#61afef}󰔁
ws-icon-4 =V;%{F#98c379}
label-separator = ""
label-spearator-background = ${colors.color8}
label-focused = %icon%
label-focused-foreground = ${colors.foreground}
label-focused-underline = #61afef
@ -129,19 +166,30 @@ type = custom/text
content = %{T2}%{T-}
content-foreground = ${colors.color8}
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = " "
label-volume-foreground = ${colors.color6}
format-muted-foreground = ${colors.colors.colo76}
label-muted = 󰚙
format-muted-padding = 1
format-muted-background = #2b2f37
[module/pulseaudio]
type = internal/pulseaudio
;format-volume = <ramp-volume> <bar-volume>
format-volume = <label-volume> <bar-volume>
;label-volume = VOL %percentage%%
label-volume = 󰎆
label-volume-foreground =${colors.color12}
;extra added
;format-volume-background = ${colors.yellow}
format-volume-background = ${colors.background}
format-volume-padding = 1
label-muted-padding = 1
;ramp-volume-0 = 󰕿
;ramp-volume-1 = 󰖀
;ramp-volume-2 = 󰕾
;ramp-volume-foreground = ${colors.background}
;will remove
label-muted = 󰎆 muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #61afef
bar-volume-foreground-0 =
bar-volume-foreground-1 = #61afef
bar-volume-foreground-2 = #61afef
bar-volume-foreground-3 = #61afef
@ -150,15 +198,13 @@ bar-volume-foreground-5 = #61afef
bar-volume-foreground-6 = #61afef
bar-volume-gradient = false
bar-volume-indicator =
bar-volume-indicator-foreground = #61afef
bar-volume-indicator-font = 2
bar-volume-fill =
bar-volume-fill-foreground = #61afef
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-indicator-font = 4
bar-volume-fill =
bar-volume-fill-font = 4
bar-volume-empty =
bar-volume-empty-font = 4
bar-volume-empty-foreground = ${colors.foreground}
format-volume-padding = 1
[module/time]
type = internal/date
@ -173,6 +219,14 @@ time-alt = %{F#56b6c2}󰃭 %{F-}%{F#abb2bf}%a, %b %d%{F-}
label = %date%%time%
[module/network]
type = custom/script
exec = $HOME/.config/polybar/scripts/checknetwork
#format-underline = #a3be8c
click-left = wpa-cute &
click-right = alacritty nmtui &
tail = true
[module/mem]
type = custom/script
exec = free -m | sed -n 's/^Mem:\s\+[0-9]\+\s\+\([0-9]\+\)\s.\+/\1/p'
@ -256,15 +310,6 @@ animation-charging-framerate = 750
format-charging-padding = 1
format-discharging-padding = 1
[module/xbacklight]
type = internal/xbacklight
format = <label>
format-prefix = " "
label = %percentage%%
format-prefix-foreground = #61afef
label-foreground = #D8DEE9
format-padding = 1
[module/cpu]
type = internal/cpu
interval = 2.5
@ -288,7 +333,4 @@ label-padding = 1
; Used instead of label when there is no window title
label-empty = "Desktop"
;label-empty-foreground = ${color.blue-light}
abel-empty-padding = 2
label-empty-padding = 2