os/+arch: update crontab; tweak polybar config

This commit is contained in:
Henrik Lissner 2017-04-26 20:39:06 -04:00
parent a745c7ddb4
commit 1b24fa4503
2 changed files with 23 additions and 12 deletions

View file

@ -11,7 +11,7 @@
background = #8801040b background = #8801040b
background-alt = #22252c background-alt = #22252c
foreground = #e5e8e6 foreground = #e5e8e6
foreground-alt = #55 foreground-alt = ${xrdb:color8}
primary = #ffb52a primary = #ffb52a
secondary = #e60053 secondary = #e60053
alert = ${xrdb:color5} alert = ${xrdb:color5}
@ -21,7 +21,7 @@ margin-top = 4
margin-bottom = 5 margin-bottom = 5
[bar/main] [bar/main]
monitor = "DVI-I-1" monitor = ${env:MONITOR:DVI-I-1}
width = 100% width = 100%
height = 29 height = 29
offset-x = 0 offset-x = 0
@ -52,7 +52,7 @@ font-2 = FontAwesome:fontformat=truetype:size=10.5;1
modules-left = bspwm modules-left = bspwm
modules-center = xwindow modules-center = xwindow
; modules-right = volume date redshift ; modules-right = volume date redshift
modules-right = pkg mail volume date redshift powermenu modules-right = pkg mail volume date redshift
;tray-position = center ;tray-position = center
tray-padding = 2 tray-padding = 2
@ -269,13 +269,15 @@ label = %date% %time%
[module/volume] [module/volume]
type = internal/volume type = internal/volume
format-volume = <label-volume> <bar-volume> ; format-volume = <label-volume> <bar-volume>
label-volume = " " format-volume = <bar-volume>
; label-volume = " "
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
format-muted-prefix = " " ; format-muted = <ramp-volume>
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt} format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted ; label-muted = sound muted
bar-volume-width = 10 bar-volume-width = 10
bar-volume-foreground-0 = #55aa55 bar-volume-foreground-0 = #55aa55
@ -286,15 +288,20 @@ bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555 bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false bar-volume-gradient = false
bar-volume-indicator = bar-volume-indicator = |
bar-volume-indicator-font = 2 bar-volume-indicator-font = 2
bar-volume-indicator-foreground = #ff bar-volume-indicator-foreground = #ff
bar-volume-fill = bar-volume-fill = -
bar-volume-fill-font = 2 bar-volume-fill-font = 2
bar-volume-empty = bar-volume-empty = -
bar-volume-empty-font = 2 bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt} bar-volume-empty-foreground = ${colors.foreground-alt}
; Only applies if <ramp-volume> is used
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
[module/battery] [module/battery]
type = internal/battery type = internal/battery
battery = BAT0 battery = BAT0
@ -372,7 +379,11 @@ menu-2-0-exec = sudo poweroff
menu-2-1 =  menu-2-1 = 
menu-2-1-exec = menu-open-0 menu-2-1-exec = menu-open-0
;=====================================================
; Custom scripts ; Custom scripts
;=====================================================
[module/pkg] [module/pkg]
type = custom/script type = custom/script
interval = 1200 interval = 1200

View file

@ -10,5 +10,5 @@
# 0 * * * * ... # 0 * * * * ...
# Lemonbar # Lemonbar
0,30 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ~/.config/panel/panel-notify :updates # 0,30 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ~/.config/panel/panel-notify :updates
*/2 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ~/.config/panel/panel-notify :mail # */2 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ~/.config/panel/panel-notify :mail