polybar cleanup
This commit is contained in:
parent
2f4a304a75
commit
3fa2d5411a
1 changed files with 32 additions and 17 deletions
|
@ -29,7 +29,9 @@ background = ${xrdb:color256:#1d2021}
|
|||
foreground = ${xrdb:color257:#ebdbb2}
|
||||
|
||||
[bar/default]
|
||||
monitor = ${env:MONITOR:HDMI-1}
|
||||
;monitor = ${env:MONITOR:LVDS-1}
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
enable-ipc = true
|
||||
width = 100%
|
||||
height = 24
|
||||
;offset-x = 1%
|
||||
|
@ -57,9 +59,11 @@ font-1 = Inconsolata Nerd Font:size=8;1
|
|||
font-2 = Noto Color Emoji:scale=10:style=Regular;2
|
||||
font-3 = Symbola:pixelsize=9;1
|
||||
|
||||
|
||||
; Other modules: xkeyboard filesystem xbacklight backlight-acpi cpu memory temperature powermenu weather
|
||||
modules-left = bspwm xwindow
|
||||
;modules-center =
|
||||
modules-right = mpd volume wlan eth battery temperature date
|
||||
modules-right = mpd volume mutt-wizard wlan eth battery date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 0
|
||||
|
@ -71,6 +75,24 @@ wm-restack = bspwm
|
|||
scroll-up = bspwm-desknext
|
||||
scroll-down = bspwm-deskprev
|
||||
|
||||
[module/mutt-wizard]
|
||||
|
||||
type = custom/script
|
||||
exec = mailbox
|
||||
interval = 5
|
||||
format-prefix = " "
|
||||
format-underline = ${colors.red}
|
||||
|
||||
click-left = st -e neomutt
|
||||
|
||||
|
||||
[module/weather]
|
||||
|
||||
type = custom/script
|
||||
exec = weather
|
||||
interval = 5000
|
||||
;format-underline =
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:45:...%
|
||||
|
@ -97,20 +119,10 @@ type = internal/fs
|
|||
interval = 25
|
||||
|
||||
mount-0 = /
|
||||
|
||||
label-mounted-underline = ${colors.white}
|
||||
label-mounted = /: %percentage_used%%
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.gray}
|
||||
|
||||
[module/home]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
|
||||
mount-0 = /home
|
||||
mount-1 = /home
|
||||
|
||||
label-mounted-underline = ${colors.cyan}
|
||||
label-mounted = ~: %percentage_used%%
|
||||
label-mounted = /: %percentage_used%%
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.gray}
|
||||
|
||||
|
@ -174,10 +186,15 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding}
|
|||
type = internal/mpd
|
||||
format-online = <label-song> <label-time>
|
||||
|
||||
click-left = st -e ncmpcpp
|
||||
click-right = mpc toggle
|
||||
|
||||
label-song = %artist% - %title%
|
||||
label-song-maxlen = 70
|
||||
label-song-ellipsis = true
|
||||
|
||||
format-paused-foreground = ${colors.gray}
|
||||
|
||||
[module/xbacklight]
|
||||
type = internal/xbacklight
|
||||
|
||||
|
@ -223,7 +240,6 @@ interval = 3.0
|
|||
|
||||
format-connected = 直 <label-connected>
|
||||
format-connected-underline = ${colors.darkmagenta}
|
||||
;format-connected-underline = #9f78e1
|
||||
label-connected = %essid%
|
||||
|
||||
;format-disconnected =
|
||||
|
@ -344,7 +360,6 @@ warn-temperature = 60
|
|||
|
||||
format = <ramp> <label>
|
||||
format-underline = ${colors.red}
|
||||
;format-underline = #f50a4d
|
||||
format-warn = <ramp> <label-warn>
|
||||
format-warn-underline = ${self.format-underline}
|
||||
|
||||
|
|
Loading…
Reference in a new issue