169 lines
3.7 KiB
Plaintext

;
; | '__/ _ \ / _` / __| Roger González
; | | | (_) | (_| \__ \ https://rogs.me
; |_| \___/ \__, |___/ https://git.rogs.me
; |___/
[colors]
accent = #fba922
[bar/top]
monitor = ${env:MONITOR:}
enable-ipc = true
width = 100%
height = 17
;background = #222
background = #33000000
foreground = #fff
overline-size = 1
overline-color = ${self.background}
underline-size = 1
underline-color = ${self.background}
padding-left = 1
padding-right = 1
module-margin-left = 1
module-margin-right = 1
font-0 = NotoSans-Regular:size=10;0
font-1 = MaterialIcons:size=10;2
font-2 = Termsynu:size=10;0
font-3 = Siji:pixelsize=10;1
font-4 = FontAwesome:size=10;0
font-5 = Noto Color Emoji:scale=12;0
modules-left = i3 music
modules-center = xwindow
modules-right = crypto pulseaudio xkeyboard cpu memory wireless-network mullvad-status battery clock
; tray-position = right
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
pin-workspaces = true
label-dimmed-underline = ${root.background}
label-focused = %name%
label-focused-foreground = #f3f3f3
label-focused-background = ${root.background}
label-focused-underline = #75d85a
label-focused-font = 4
label-focused-padding = 3
label-unfocused = %name%
label-unfocused-font = 4
label-unfocused-padding = 3
label-urgent = %name%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-underline = #9b0a20
label-urgent-font = 4
label-urgent-padding = 4
label-visible = %name%
label-visible-foreground = #55ffffff
label-visible-font = 4
label-visible-padding = 4
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "🎛 "
format-underline = #f90000
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " 📊 "
format-underline = #4bffdc
label = %percentage_used%%
[module/wireless-network]
type = internal/network
interface = wlp2s0
interval = 2.0
ping-interval = 10
label-connected = 📶 %essid%
label-disconnected = 🚫 not connected
label-disconnected-foreground = #66
[module/clock]
type = internal/date
interval = 5
format-padding = 5
date = 📅 %d-%m-%Y 🕜 %H:%M%
[module/battery]
type = internal/battery
full-at = 99
battery = BAT0
adapter = AC
format-charging = %{T4} 🔌 <label-charging> %{T-}
format-discharging = %{T4}🔋 <label-discharging> %{T-}
format-full = %{T4}🔌 <label-full> %{T-}
label-charging-font = 3
label-discharging-font = 3
label-full = 100%
[module/xwindow]
type = internal/xwindow
label-maxlen = 75
label-foreground = #FFF
[module/xkeyboard]
type = custom/script
exec = /home/roger/.config/polybar/keyboard_lang.sh
interval = 1
[module/pulseaudio]
type = internal/pulseaudio
label-volume = 🔊 %percentage%%
label-muted = 🔈
label-muted-foreground = #666
[module/spotify]
type = custom/script
interval = 1
exec = python /home/roger/.config/polybar/spotify_status.py -t 80 --playpause-font=5 -p '⏯,⏸️' -f ' {play_pause} {song} - {artist} - {album}'
[module/music]
type = custom/script
interval = 1
label = %output%
exec = ~/.config/polybar/music
[module/mullvad-status]
type = custom/script
exec = /home/roger/.config/polybar/mullvad_status.sh
interval = 1
[module/cpu-temperature]
type = internal/temperature
interval = 0.5
thermal-zone = 0
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input
base-temperature = 20
warn-temperature = 80
format-prefix = "🌡"
label-warn = 🔥 %temperature-c%
[module/gpu-temperature]
type = internal/temperature
interval = 0.5
thermal-zone = 0
hwmon-path = /sys/devices/virtual/hwmon/hwmon4/temp9_input
base-temperature = 20
warn-temperature = 80
[module/crypto]
type = custom/script
exec = python ~/.config/polybar/pcrypto.py --base USD --coins btc
interval = 60
font-0 = "coins:style=Regular;0"