Update polybar config
This commit is contained in:
@@ -73,8 +73,8 @@ label = %time% %date%
|
||||
[module/pacman-updates]
|
||||
type = custom/script
|
||||
|
||||
exec = count-pacman-updates
|
||||
interval = 300
|
||||
exec = pacman -Qu | wc -l
|
||||
interval = 60
|
||||
|
||||
format = <label>
|
||||
format-prefix = " "
|
||||
@@ -84,7 +84,6 @@ label = %output% updates
|
||||
[module/keyboard-layout]
|
||||
type = internal/xkeyboard
|
||||
|
||||
|
||||
format = <label-layout>
|
||||
label-layout = %layout%
|
||||
|
||||
@@ -101,7 +100,6 @@ ramp-volume-2 =
|
||||
|
||||
[module/network]
|
||||
type = internal/network
|
||||
|
||||
interface = enp2s0
|
||||
|
||||
format-connected = <label-connected>
|
||||
@@ -113,15 +111,21 @@ label-disconnected = No Network
|
||||
[module/power-menu]
|
||||
type = custom/menu
|
||||
|
||||
expand-right = false
|
||||
|
||||
label-open =
|
||||
label-close =
|
||||
|
||||
label-separator = " "
|
||||
|
||||
menu-0-0 = Reboot
|
||||
menu-0-0-exec = systemctl reboot
|
||||
menu-0-1 = Power Off
|
||||
menu-0-1-exec = systemctl poweroff
|
||||
menu-0-0 = Log Out
|
||||
menu-0-0-exec = i3-msg exit
|
||||
menu-0-0-foreground = ${colors.primary}
|
||||
menu-0-1 = Reboot
|
||||
menu-0-1-exec = systemctl reboot
|
||||
menu-0-2 = Power Off
|
||||
menu-0-2-exec = systemctl poweroff
|
||||
menu-0-2-foreground = ${colors.primary}
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
updates=$(pacman -Qu | wc -l)
|
||||
|
||||
echo $updates
|
||||
Reference in New Issue
Block a user