fixup! os/+arch (pacman): add polybar hook + update lemonbar hook
This commit is contained in:
parent
94fa3c8179
commit
586e798cca
|
@ -52,6 +52,8 @@ modules-left = bspwm
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = pkg mail volume redshift
|
modules-right = pkg mail volume redshift
|
||||||
|
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
;tray-position = center
|
;tray-position = center
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
;tray-transparent = true
|
;tray-transparent = true
|
||||||
|
@ -383,13 +385,10 @@ menu-2-1-exec = menu-open-0
|
||||||
;=====================================================
|
;=====================================================
|
||||||
|
|
||||||
[module/pkg]
|
[module/pkg]
|
||||||
type = custom/script
|
type = custom/ipc
|
||||||
interval = 1200
|
format = <output>
|
||||||
format = <label>
|
hook-0 = ~/.config/polybar/modules/updates
|
||||||
; format-underline = #dc322f
|
initial = 1
|
||||||
label = "%output:0:30%"
|
|
||||||
exec = ~/.config/polybar/modules/updates
|
|
||||||
exec-if = "ping -q -w 2 -c 1 176.34.135.167 >/dev/null"
|
|
||||||
|
|
||||||
[module/mail]
|
[module/mail]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
pac=$(checkupdates | wc -l)
|
pac=$(checkupdates | wc -l)
|
||||||
aur=$(cower -u | wc -l)
|
aur=$(cower -u | wc -l)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue