final smol
This commit is contained in:
parent
9e88ce9486
commit
91f6bfde2d
3 changed files with 34 additions and 156 deletions
|
@ -26,14 +26,10 @@ alert = #A54242
|
|||
disabled = #707880
|
||||
|
||||
[bar/top]
|
||||
#bottom = false
|
||||
#dock = false
|
||||
width = 100%
|
||||
height = 15pt
|
||||
radius = 0
|
||||
|
||||
# dpi = 135
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
|
@ -47,7 +43,7 @@ padding-right = 1
|
|||
|
||||
module-margin = 1
|
||||
|
||||
separator = |
|
||||
separator =
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = Fira Mono:style=Medium:pixelsize=8;1
|
||||
|
@ -64,22 +60,12 @@ cursor-scroll = ns-resize
|
|||
|
||||
enable-ipc = true
|
||||
|
||||
# tray-position = right
|
||||
|
||||
# wm-restack = generic
|
||||
# wm-restack = bspwm
|
||||
# wm-restack = i3
|
||||
|
||||
# override-redirect = true
|
||||
|
||||
[bar/bottom]
|
||||
bottom = true
|
||||
width = 100%
|
||||
height = 15pt
|
||||
radius = 0
|
||||
|
||||
# dpi = 135
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
|
@ -93,12 +79,11 @@ padding-right = 1
|
|||
|
||||
module-margin = 1
|
||||
|
||||
separator = |
|
||||
separator =
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = Fira Mono:style=Medium:pixelsize=8;1
|
||||
font-1 = PowerlineSymbols:size=10;1
|
||||
# font-2 = SymbolsNerdFont:size=10;1
|
||||
font-2 = Symbols Nerd Font:style=Regular:size=10;1
|
||||
|
||||
|
||||
|
@ -112,24 +97,34 @@ enable-ipc = true
|
|||
|
||||
tray-position = right
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
##########
|
||||
# CUSTOM #
|
||||
##########
|
||||
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
[module/weather]
|
||||
type = custom/script
|
||||
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr -d ':,-'
|
||||
tail = false
|
||||
interval = 1800
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/updates.sh
|
||||
interval = 3600
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
[module/uptime]
|
||||
type = custom/script
|
||||
exec = echo $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
|
||||
interval = 600
|
||||
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
[module/mpdvol]
|
||||
type = custom/script
|
||||
exec = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||
interval = 5
|
||||
|
||||
############
|
||||
# INTERNAL #
|
||||
############
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
|
@ -156,7 +151,6 @@ label-urgent-background = #9a847c
|
|||
label-urgent-underline = #9a847c
|
||||
label-urgent-padding = 1
|
||||
|
||||
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
|
||||
|
@ -188,7 +182,7 @@ interval = 1
|
|||
; <icon-seekb>
|
||||
; <icon-seekf>
|
||||
# format-online = <icon-prev> <icon-stop> <toggle> <icon-next> | <label-time> | Now playing: <label-song>
|
||||
format-online = Now playing: <label-song> | <label-time> | <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||
format-online = Now playing: <label-song> <label-time> <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||
format-playing = ${self.format-online}
|
||||
format-paused = ${self.format-online}
|
||||
format-stopped = Press! -> <toggle> <-
|
||||
|
@ -222,27 +216,6 @@ icon-next =
|
|||
# tail = false
|
||||
# interval = 960
|
||||
|
||||
[module/weather]
|
||||
type = custom/script
|
||||
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' '
|
||||
tail = false
|
||||
interval = 960
|
||||
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/updates.sh
|
||||
interval = 3600
|
||||
|
||||
[module/uptime]
|
||||
type = custom/script
|
||||
exec = echo $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
|
||||
interval = 600
|
||||
|
||||
|
||||
[module/mpdvol]
|
||||
type = custom/script
|
||||
exec = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||
interval = 5
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
|
@ -338,9 +311,8 @@ label-indicator-background = ${colors.secondary}
|
|||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
# format-prefix = " "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %gb_used% | %swap_used%
|
||||
label = %gb_used% %swap_used%
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
|
@ -349,15 +321,6 @@ format-prefix = " "
|
|||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage:2%%
|
||||
|
||||
# [module/freq]
|
||||
# type = custom/script
|
||||
# format = <label> MHz
|
||||
# exec = cat /proc/cpuinfo | grep MHz | sed 's/cpu MHz//' | sed 's/://' | awk '{print int($1+0.5)}'
|
||||
# # tail = true
|
||||
# click-left = kill -USR1 %pid%
|
||||
# format-prefix = " "
|
||||
# interval = 3
|
||||
|
||||
[module/fan]
|
||||
type = custom/script
|
||||
format = <label>
|
||||
|
@ -367,8 +330,6 @@ exec = sensors asus-isa-0000 | grep cpu_fan | sed 's/cpu_fan: //'
|
|||
format-prefix = " "
|
||||
interval = 5
|
||||
|
||||
|
||||
|
||||
[module/temperature]
|
||||
type = internal/temperature
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue