dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

commit 3fa2d5411acc39b4e0149bfa67ddbfabe2bb951a
parent 2f4a304a7570d02ca25a048b7e2af13cf7c08d6b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun,  8 Dec 2019 15:01:47 -0500

polybar cleanup

Diffstat:
M.config/polybar/config | 49++++++++++++++++++++++++++++++++-----------------
1 file changed, 32 insertions(+), 17 deletions(-)

diff --git a/.config/polybar/config b/.config/polybar/config @@ -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} @@ -172,12 +184,17 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding} [module/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-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}