This is a custom waybar timer module.
- bash
- zenity
- dateutils
#custom-timer.active {
background-color: #red;
}
"custom/timer": {
"tooltip": true,
"return-type": "json",
"exec": "$HOME/.config/waybar/modules/waybar-timer check",
"on-click": "$HOME/.config/waybar/modules/waybar-timer minute_dialog",
"on-click-right": "$HOME/.config/waybar/modules/waybar-timer datetime_dialog",
"on-click-middle": "$HOME/.config/waybar/modules/waybar-timer stop",
"interval": 1
}