Update config

Done some minimal changes in the config files
This commit is contained in:
mangeshrex 2021-07-04 21:19:50 +05:30 committed by GitHub
parent 03f6c86e9c
commit 171f80c3d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,14 +239,24 @@ time-alt = %{F#56b6c2}󰃭 %{F-}%{F#abb2bf}%a, %b %d%{F-}
label = %date%%time%
# For Void Linux users (kinda am also a void user xD)
[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}
label-background = ${colors.color8}
# For Arch Linux users
[module/pacup]
type = custom/script
exec = ~/.config/polybar/scripts/pacup
format = <label>
label = 󰬬 %output%
label-padding =1
label-background = ${colors.color8}
[module/mem]
type = custom/script
exec = free -m | sed -n 's/^Mem:\s\+[0-9]\+\s\+\([0-9]\+\)\s.\+/\1/p'