|
|
|
@ -13,6 +13,8 @@ width = 100%
|
|
|
|
|
radius = 5
|
|
|
|
|
; font
|
|
|
|
|
font-0 = Hack Nerd Font;2
|
|
|
|
|
; ipc
|
|
|
|
|
enable-ipc = true
|
|
|
|
|
; seperator
|
|
|
|
|
separator = |
|
|
|
|
|
separator-foreground = ${colors.disabled}
|
|
|
|
@ -33,7 +35,7 @@ foreground = ${colors.foreground}
|
|
|
|
|
inherit = section/base-bar
|
|
|
|
|
height = 16pt
|
|
|
|
|
; modules
|
|
|
|
|
modules-left = xworkspaces xwindow-thinkpad weather-thinkpad
|
|
|
|
|
modules-left = xworkspaces focus weather-thinkpad
|
|
|
|
|
modules-right = battery pulseaudio memory cpu wlan seafile date powermenu
|
|
|
|
|
|
|
|
|
|
[bar/desktop-bar]
|
|
|
|
@ -42,11 +44,9 @@ inherit = section/base-bar
|
|
|
|
|
; height
|
|
|
|
|
height = 24pt
|
|
|
|
|
; modules
|
|
|
|
|
modules-left = xworkspaces xwindow-desktop
|
|
|
|
|
modules-left = xworkspaces focus spotify spotify-len
|
|
|
|
|
modules-center = weather-desktop
|
|
|
|
|
modules-right = pulseaudio memory cpu eth seafile date powermenu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules-right = pulseaudio memory cpu temperature eth seafile date powermenu
|
|
|
|
|
|
|
|
|
|
[module/xworkspaces]
|
|
|
|
|
type = internal/xworkspaces
|
|
|
|
@ -66,16 +66,13 @@ label-urgent-padding = 1
|
|
|
|
|
label-empty = %name%
|
|
|
|
|
label-empty-foreground = ${colors.disabled}
|
|
|
|
|
label-empty-padding = 1
|
|
|
|
|
format = <label-state>
|
|
|
|
|
|
|
|
|
|
[module/xwindow-thinkpad]
|
|
|
|
|
; correct title size
|
|
|
|
|
type = internal/xwindow
|
|
|
|
|
label = %title:0:20:...%
|
|
|
|
|
|
|
|
|
|
[module/xwindow-desktop]
|
|
|
|
|
[module/focus]
|
|
|
|
|
; correct title size
|
|
|
|
|
type = internal/xwindow
|
|
|
|
|
label = %title:0:40:...%
|
|
|
|
|
type = custom/script
|
|
|
|
|
interval = 0
|
|
|
|
|
exec = ~/.dotfiles/bin/focus_class
|
|
|
|
|
|
|
|
|
|
[module/pulseaudio]
|
|
|
|
|
type = internal/pulseaudio
|
|
|
|
@ -148,6 +145,13 @@ format-prefix = "CPU "
|
|
|
|
|
format-prefix-foreground = ${colors.primary}
|
|
|
|
|
label = %percentage%%
|
|
|
|
|
|
|
|
|
|
[module/temperature]
|
|
|
|
|
type = internal/temperature
|
|
|
|
|
format-prefix = "TEMP "
|
|
|
|
|
format-prefix-foreground = ${colors.primary}
|
|
|
|
|
units = true
|
|
|
|
|
label = %temperature-c%
|
|
|
|
|
|
|
|
|
|
[network-base]
|
|
|
|
|
type = internal/network
|
|
|
|
|
interval = 5
|
|
|
|
@ -189,5 +193,26 @@ content = %{F#F30}
|
|
|
|
|
|
|
|
|
|
click-left = rofi-powermenu
|
|
|
|
|
|
|
|
|
|
[module/spotify]
|
|
|
|
|
; playerctl interaction for spotify
|
|
|
|
|
type = custom/script
|
|
|
|
|
tail = true
|
|
|
|
|
|
|
|
|
|
; spotify logo
|
|
|
|
|
format-prefix = " "
|
|
|
|
|
format-prefix-foreground = "#1ed760"
|
|
|
|
|
exec = poly_spotify --scroll 20
|
|
|
|
|
click-left = poly_spotify --toggle
|
|
|
|
|
click-right = rofi-music
|
|
|
|
|
|
|
|
|
|
[module/spotify-len]
|
|
|
|
|
; playerctl interaction for spotify
|
|
|
|
|
type = custom/script
|
|
|
|
|
tail = true
|
|
|
|
|
|
|
|
|
|
interval = 1
|
|
|
|
|
exec = playerctl metadata --format '{{duration(position)}}/{{duration(mpris:length)}}'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[settings]
|
|
|
|
|
screenchange-reload = true
|
|
|
|
|