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