Add script for counting pacman updates in polybar
This commit is contained in:
@@ -18,7 +18,7 @@ font-2 = FontAwesome5FreeSolid:size=11
|
||||
|
||||
modules-left = workspaces active-window
|
||||
modules-center = date
|
||||
modules-right = keyboard-layout volume-control network power-menu
|
||||
modules-right = pacman-updates keyboard-layout volume-control network power-menu
|
||||
|
||||
module-margin = 1
|
||||
|
||||
@@ -70,6 +70,17 @@ label = %time% %date%
|
||||
; RIGHT MODULES
|
||||
;
|
||||
|
||||
[module/pacman-updates]
|
||||
type = custom/script
|
||||
|
||||
exec = count-pacman-updates
|
||||
interval = 300
|
||||
|
||||
format = <label>
|
||||
format-prefix = " "
|
||||
|
||||
label = %output% updates
|
||||
|
||||
[module/keyboard-layout]
|
||||
type = internal/xkeyboard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user