mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-01-27 10:27:15 +08:00
feat: adds pomodoro module
This commit is contained in:
parent
e20f6fdff2
commit
dd39fb6fac
1 changed files with 10 additions and 2 deletions
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
|
|
@ -50,6 +48,7 @@
|
|||
// "wireplumber",
|
||||
"group/audio",
|
||||
"group/battery",
|
||||
"custom/pomodoro",
|
||||
"group/clock"
|
||||
],
|
||||
|
||||
|
|
@ -367,6 +366,15 @@
|
|||
"interval": 60,
|
||||
"format": "CEST: <span color='#aaaaaa'>{}</span> ",
|
||||
"exec": "~/.local/bin/waybar-minutes"
|
||||
},
|
||||
|
||||
"custom/pomodoro": {
|
||||
"interval": 1,
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"exec": "waybar-module-pomodoro --no-work-icons",
|
||||
"on-click": "waybar-module-pomodoro toggle",
|
||||
"on-click-right": "waybar-module-pomodoro reset"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue