feat: pomodoro;

feat: added freq display to cpu widget
This commit is contained in:
2025-10-05 15:34:22 +03:00
parent a7919d8f18
commit 986512f648
3 changed files with 63 additions and 20 deletions

View File

@@ -9,7 +9,8 @@
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"custom/goal"
"custom/pomodoro"
// "custom/goal"
],
"modules-center": [
"mpd"
@@ -95,7 +96,7 @@
"mpd": {
"password": "kapuchinamusica",
"artist-len": 30,
"title-len": 45,
"title-len": 65,
"unknown-tag": "n/a",
"format": "{stateIcon} {titleSmart}",
"interval": 1,
@@ -143,7 +144,7 @@
}
},
"cpu": {
"format": "󰓅 {usage}%",
"format": "{max_frequency:1.2f}GHz 󰓅 {usage}%",
"tooltip": false,
"interval": 3,
"format-icons": [
@@ -245,6 +246,13 @@
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/pomodoro": {
"format": "{}",
"return-type": "json",
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 --autob",
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
},
"custom/goal": {
"exec": "cat $HOME/.config/waybar/goal.txt",
"format": "󱓧 {}",