chore(fixes):fixed update module in polybar that i introduced a bug in with formatting and remoce cruft comments cuz bloat

This commit is contained in:
Vlad Doster 2020-01-10 00:15:59 -05:00
parent c146da0652
commit d5812c8336
3 changed files with 7 additions and 8 deletions

View File

@ -8,8 +8,8 @@ exec_always --no-startup-id launch_polybar
# #---Basic Definitions---# #
for_window [class="^.*"] border pixel 2
gaps inner 5
gaps outer 0
gaps inner 2
gaps outer 2
set $term --no-startup-id $TERMINAL
set $mod Mod4

View File

@ -55,17 +55,18 @@ wm-restack = i3
modules-left = i3
modules-center = xwindow
modules-right = arch-updates cpu memory volume wifi ethernet battery date
modules-right = sys_updates cpu memory volume wifi ethernet battery date
tray-position = right
tray-padding = 0
[module/arch-updates]
[module/sys_updates]
type = custom/script
exec = ~/.local/bin/polybar_scripts/aur_updates
format = %{u#ff0000}%{+u}<<label>
format = <label>
label = %{A1:$TERMINAL -e yay >/dev/null 2>&1 &:}%output%%{A}
interval = 600
label-underline=#ff0000
interval = 100
[module/battery]
type = internal/battery

View File

@ -1,5 +1,3 @@
# Luke's config for the Zoomer Shell
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "