waybar: change the custom/update and font related issue

This commit is contained in:
kuoi 2022-08-26 17:23:46 +01:00
parent fe1a673a02
commit 7901889976
2 changed files with 8 additions and 7 deletions

View file

@ -33,7 +33,8 @@
"tpsdig2.exe": "tpsDig",
"tpsutil.exe": "tpsUtil",
"winclada.exe": "winclada",
"wpsoffice": "wps-office2019-wpsmain"
"wpsoffice": "wps-office2019-wpsmain",
"fr.greyc.gmic_qt": "Gimp-2.10"
}
},
"tray": {
@ -108,10 +109,11 @@
},
"custom/update":{
"format": "{} ",
"interval": 600,
"interval": 60,
"exec": "checkupdates | wc -l",
"exec-if": "exit 0",
"on-click": "tilix -e '/home/guoyi/.config/waybar/update.sh'"
"exec-if": "checkupdates; exit 0",
"on-click": "tilix -e '/home/guoyi/.config/waybar/update.sh'; pkill -SIGRTMIN+8 waybar",
"signal": 8
},
"custom/power":{
"format": "⏻",

View file

@ -42,9 +42,8 @@ window#waybar {
color: white;
}
#custom-power,
#pulseaudio{
font-size: 20px;
#custom-power{
font-size: 18px;
}
#custom-update,