dotfiles/files/polybar/.config/polybar/nord-down

121 lines
2.6 KiB
INI

; vim:ft=dosini
[module/cpu]
type = internal/cpu
interval = 1
format = <ramp-load> <label>
ramp-load-0 =
ramp-load-0-foreground = ${colors.success}
ramp-load-1 =
ramp-load-1-foreground = ${colors.warning}
ramp-load-2 =
ramp-load-2-foreground = ${colors.urgent}
[module/show-desktop]
type = custom/text
content =
click-left = i3-msg workspace 25:Desktop
[module/memory]
type = internal/memory
interval = 3
format = <ramp-used> <label>
label = %gb_used%/%gb_total%
ramp-used-0 =
ramp-used-0-foreground = ${colors.success}
ramp-used-1 =
ramp-used-1-foreground = ${colors.warning}
ramp-used-2 =
ramp-used-2-foreground = ${colors.urgent}
[module/github]
type= internal/github
token = ${config.github-token}
empty-notifications = false
interval = 10
label =  %notifications%
[module/daily-poem]
type = custom/ipc
# replace B25KQR2Z50dxWG2oLX+PfPG5OqP/BG4s with your token from https://v2.jinrishici.com/token.
hook-0 = ~/.config/polybar/scripts/daily-poem require B25KQR2Z50dxWG2oLX+PfPG5OqP/BG4s ~/.config/polybar/scripts/poem.txt
hook-1 = ~/.config/polybar/scripts/daily-poem get ~/.config/polybar/scripts/poem.txt plus
hook-2 = ~/.config/polybar/scripts/daily-poem get ~/.config/polybar/scripts/poem.txt minus
initial = 1
scroll-up = polybar-msg -p %pid% hook daily-poem 2
scroll-down = polybar-msg -p %pid% hook daily-poem 3
double-click-left = polybar-msg -p %pid% hook daily-poem 1
format-underline = ${colors.nord7}
[module/network-detail]
type = internal/network
interface = ${config.interface}
interval = 3
format-connected = <label-connected>
label-connected =  %downspeed:9%  %upspeed:9%
label-connected-foreground = ${colors.success}
[module/temperature]
type = internal/temperature
thermal-zone = ${config.thermal-zone}
base-temperature = ${config.base-temperature}
warn-temperature = ${config.warn-temperature}
; Format
format = <ramp> <label>
format-warn = <label-warn>
format-warn-background = ${colors.foreground}
label-warn =  %temperature-c%
label-warn-padding = 1
label-warn-foreground = ${colors.urgent}
label-warn-background = ${colors.foreground}
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-0-foreground = ${colors.nord8}
ramp-1-foreground = ${colors.nord8}
ramp-2-foreground = ${colors.success}
ramp-3-foreground = ${colors.success}
ramp-4-foreground = ${colors.warning}
[module/info-hackspeed]
type = custom/script
exec = ~/.config/polybar/scripts/info-hackspeed.sh
tail = true
[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/openweathermap-fullfeatured.sh
interval = 600
label-font = 4