----- Changes: lfrc, polybar, rateUSD

+ Rework lfrc
+ Integrated rateUSD to Polybar
+ Added lang option
This commit is contained in:
ziro 2020-05-19 09:02:16 +07:00
parent 1b9fe5b22f
commit 8622acb8d9
3 changed files with 21 additions and 6 deletions

View file

@ -106,7 +106,7 @@ font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2"
; ----------------------------------------------------------------------------------------
modules-left = bspwm dividerS wirednetwork temp covPos covSem dividerS
modules-center = date
modules-right = dividerS disk player-mpris-tail player-mpris mpd volume battery dividerS prompt
modules-right = dividerS currency disk player-mpris-tail player-mpris mpd volume battery dividerS prompt
; ----------------------------------------------------------------------------------------
tray-detached = false
@ -648,3 +648,17 @@ format-prefix-font = "5"
format-foreground = ${colors.spotgreen}
format-background = ${colors.background}
format-padding = 1
[module/currency]
type = custom/script
exec = "rateUSD -"
interval = 16000
tail = true
label = "$1 = Rp.%output%"
label-font = 3
label-foreground = ${colors.foreground}
format-prefix = " "
format-prefix-font = "5"
format-foreground = ${colors.spotgreen}
format-background = ${colors.background}
format-padding = 1