Update config.ini

This commit is contained in:
Mangeshrex 2021-06-23 12:44:46 +05:30 committed by GitHub
parent 4dbd8efee6
commit dd00edcdfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
[colors]
background = ${xrdb:background}
foreground = ${xrdb:foreground}
@ -22,15 +24,15 @@ dark-light = #272A2B
active-light = #313435
[bar/example]
;tray-position = right
monitor = LVDS-1
tray-position = right
monitor = LVDS1
width = 100%
height = 22
height = 25
padding-left = 1
padding-right = 1
padding-right = 1
background = ${colors.background}
foreground = ${colors.foreground}
bottom = true
bottom = false
border-top-size = 5
border-bottom-size = 5
border-top-color = ${colors.background}
@ -41,7 +43,7 @@ wm-restack = bspwm
modules-left = round-left bspwm round-right mpd
modules-center =
modules-right = round-left polywins round-right alsa cpu temperature spaces round-left mem round-right pacup wlan round-left time round-right sysmenu
modules-right = round-left polywins round-right alsa cpu round-left updates round-right temperature spaces round-left mem round-right round-left wlan time round-right sysmenu
font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=11;3
font-1 = JetBrainsMono Nerd Font:size=17;4
@ -49,11 +51,25 @@ font-2 = Material Design Icons:style=Bold:size=13;3
font-3 = unifont:fontformat=truetype:size=13:antialias=true;
[module/mpd]
type = internal/mpd
interval = 2
format-online = <icon-prev> <toggle> <icon-next>
icon-play-foreground = ${colors.color1}
icon-play = 󰐊
icon-pause-foreground = ${colors.color1}
icon-pause = 󰏥
icon-stop-foreground = ${colors.color1}
icon-stop = 󰓛
icon-prev-foreground = ${colors.color4}
icon-prev = 󰒮
icon-next-foreground = ${colors.color4}
icon-next = 󰒭
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = ""
label-volume-foreground = ${colors.foreground}
format-volume = <label-volume> <bar-volume>
label-volume =
label-volume-foreground = ${colors.colors8}
format-muted-foreground = ${colors.foreground}
label-muted = 󰚙
@ -73,112 +89,14 @@ bar-volume-gradient = false
bar-volume-indicator =
bar-volume-indicator-foreground = #61afef
bar-volume-indicator-font = 1.5
bar-volume-fill =
bar-volume-fill =
bar-volume-fill-foreground = #61afef
bar-volume-fill-font = 1.5
bar-volume-empty =
bar-volume-empty =
bar-volume-empty-font = 1.5
bar-volume-empty-foreground = ${colors.foreground}
format-volume-padding = 1
[module/mpd]
type = internal/mpd
; Host where mpd is running (either ip or domain name)
; Can also be the full path to a unix socket where mpd is running.
;;host = 127.0.0.1
;;port = 6600
;;password = mysecretpassword
; Seconds to sleep between progressbar/song timer sync
; Default: 1
interval = 2
; Available tags:
; <label-song> (default)
; <label-time>
; <bar-progress>
; <toggle> - gets replaced with <icon-(pause|play)>
; <toggle-stop> - gets replaced with <icon-(stop|play)>
; <icon-random>
; <icon-repeat>
; <icon-repeatone> (deprecated)
; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
; <icon-consume>
; <icon-prev>
; <icon-stop>
; <icon-play>
; <icon-pause>
; <icon-next>
; <icon-seekb>
; <icon-seekf>
format-online = <label-song> <icon-prev> <toggle> <icon-next>
format-online-prefix = " "
format-online-prefix-foreground = ${color.GREEN}
;format-playing = ${self.format-online}
;format-paused = ${self.format-online}
;format-stopped = ${self.format-online}
; Available tags:
; <label-offline>
;format-offline = <label-offline>
; Available tokens:
; %artist%
; %album-artist%
; %album%
; %date%
; %title%
; Default: %artist% - %title%
label-song = "%title%"
label-song-maxlen = 25
label-song-ellipsis = true
; Available tokens:
; %elapsed%
; %total%
; Default: %elapsed% / %total%
;;abel-time = %elapsed% / %total%
; Available tokens:
; None
label-offline = "MPD is offline"
; Only applies if <icon-X> is used
icon-play-foreground = ${color.CYAN}
icon-play =
icon-pause-foreground = ${color.CYAN}
icon-pause =
icon-stop-foreground = ${color.CYAN}
icon-stop =
icon-prev-foreground = ${color.CYAN}
icon-prev =
icon-next-foreground = ${color.CYAN}
icon-next =
icon-seekb =
icon-seekf =
icon-random = 🔀
icon-repeat = 🔁
icon-repeatone = 🔂
icon-single = 🔂
icon-consume =
; Used to display the state of random/repeat/repeatone/single
; Only applies if <icon-[random|repeat|repeatone|single]> is used
;;toggle-on-foreground = #ff
;;toggle-off-foreground = #55
; Only applies if <bar-progress> is used
;;bar-progress-width = 45
;;bar-progress-indicator = |
;;bar-progress-fill = ─
;;bar-progress-empty = ─
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/temperature]
type = internal/temperature
thermal-zone = 0
@ -214,15 +132,6 @@ label = %output%
tail = true
label-background = ${colors.color8}
[module/pacup]
type = custom/script
exec = ~/.config/polybar/scripts/pacup.sh
label = %{F#e06c75}󰏖 %{F#e06c75}%output% updates
interval = 1000
;label-foreground =
format-padding = 1
format-margin = 0
[module/spaces]
type = custom/text
content = %{T3} %{T-}
@ -238,9 +147,9 @@ reverse-scroll = false
format = <label-state>
ws-icon-0 =I;%{F#61afef}󰣇
ws-icon-1 =II;%{F#98c379}
ws-icon-2 =III;%{F#e5c07b}󰲂
ws-icon-0 =I;%{F#61afef}󰈹
ws-icon-1 =II;%{F#98c379}󱓷
ws-icon-2 =III;%{F#e5c07b}󰉋
ws-icon-3 =IV;%{F#e06c75}󰔁
ws-icon-4 =V;%{F#9a7ecc}
@ -319,13 +228,20 @@ interval = 60
format = <label>
format-background = ${colors.color8}
format-padding = 0
date = %{F#56b6c2}󰥔 %{F-}%{F#abb2bf}%H:%M%{F-}
time-alt = %{F#56b6c2}󰃭 %{F-}%{F#abb2bf}%a, %b %d%{F-}
label = %date%%time%
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/xbps-updates
format = <label>
label = 󰬬 %output%
label-padding =1
label-background = ${colors.color8}
label-foreground = ${colors.color1}
[module/mem]
type = custom/script
exec = free -m | sed -n 's/^Mem:\s\+[0-9]\+\s\+\([0-9]\+\)\s.\+/\1/p'
@ -372,6 +288,8 @@ label-connected = "󰤨 "
label-connected-foreground = ${colors.color4}
label-disconnected = "󰤭 "
label-disconnedted-foreground = ${colors.color4}
label-connected-background = ${colors.color8}
label-disconnected-bacoground = ${colors.color8}
[module/battery]
type = internal/battery