waybar: minor cleanup

This commit is contained in:
lelgenio 2021-05-21 01:27:57 -03:00
parent 9625169175
commit 0539446036
2 changed files with 3 additions and 9 deletions

View File

@ -115,18 +115,16 @@
"custom/mail": {
"tooltip":false,
"format":"{} <b></b>",
"exec-if":"sleep 30s",
"exec": "checkmail",
"on-click": "terminal neomutt; pkill -SIGRTMIN+4 waybar",
"signal": 4,
"interval": 10
"interval": 60
},
"custom/updates": {
"tooltip":false,
"format": "{} ",
"interval": 60,
"exec-if":"sleep 60s",
"exec": "pacman -Qqu | wc -l | sed 's/^0$//'",
"interval": 3600,
"exec": "checkupdates | wc -l | sed 's/^0$//'",
"on-click": "terminal sh -c 'ping -qc1 archlinux.org >/dev/null && pacman -Syu || pacman -Su; pkill -SIGRTMIN+8 waybar; read'",
"signal": 8
},

View File

@ -7,10 +7,6 @@
transition-duration:0;
}
window#waybar.empty * {
color: {{@@ color.txt @@}};
}
window#waybar {
/* background-color: rgba(30,30,30,.9); */
transition-duration: .5s;