polybar cleanup

This commit is contained in:
Luke Smith 2019-12-08 15:01:47 -05:00
parent 2f4a304a75
commit 3fa2d5411a
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -29,7 +29,9 @@ background = ${xrdb:color256:#1d2021}
foreground = ${xrdb:color257:#ebdbb2} foreground = ${xrdb:color257:#ebdbb2}
[bar/default] [bar/default]
monitor = ${env:MONITOR:HDMI-1} ;monitor = ${env:MONITOR:LVDS-1}
;monitor = ${env:MONITOR:HDMI-1}
enable-ipc = true
width = 100% width = 100%
height = 24 height = 24
;offset-x = 1% ;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-2 = Noto Color Emoji:scale=10:style=Regular;2
font-3 = Symbola:pixelsize=9;1 font-3 = Symbola:pixelsize=9;1
; Other modules: xkeyboard filesystem xbacklight backlight-acpi cpu memory temperature powermenu weather
modules-left = bspwm xwindow modules-left = bspwm xwindow
;modules-center = ;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-position = right
tray-padding = 0 tray-padding = 0
@ -71,6 +75,24 @@ wm-restack = bspwm
scroll-up = bspwm-desknext scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev 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] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:45:...% label = %title:0:45:...%
@ -97,20 +119,10 @@ type = internal/fs
interval = 25 interval = 25
mount-0 = / mount-0 = /
mount-1 = /home
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
label-mounted-underline = ${colors.cyan} label-mounted-underline = ${colors.cyan}
label-mounted = ~: %percentage_used%% label-mounted = /: %percentage_used%%
label-unmounted = %mountpoint% not mounted label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.gray} label-unmounted-foreground = ${colors.gray}
@ -174,10 +186,15 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding}
type = internal/mpd type = internal/mpd
format-online = <label-song> <label-time> format-online = <label-song> <label-time>
click-left = st -e ncmpcpp
click-right = mpc toggle
label-song = %artist% - %title% label-song = %artist% - %title%
label-song-maxlen = 70 label-song-maxlen = 70
label-song-ellipsis = true label-song-ellipsis = true
format-paused-foreground = ${colors.gray}
[module/xbacklight] [module/xbacklight]
type = internal/xbacklight type = internal/xbacklight
@ -223,7 +240,6 @@ interval = 3.0
format-connected = 直 <label-connected> format-connected = 直 <label-connected>
format-connected-underline = ${colors.darkmagenta} format-connected-underline = ${colors.darkmagenta}
;format-connected-underline = #9f78e1
label-connected = %essid% label-connected = %essid%
;format-disconnected = ;format-disconnected =
@ -344,7 +360,6 @@ warn-temperature = 60
format = <ramp> <label> format = <ramp> <label>
format-underline = ${colors.red} format-underline = ${colors.red}
;format-underline = #f50a4d
format-warn = <ramp> <label-warn> format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline} format-warn-underline = ${self.format-underline}