Update Hypr and Waybar

This commit is contained in:
2025-11-27 19:45:59 +00:00
parent e68d94e46b
commit acb84b3cac
5 changed files with 30 additions and 17 deletions

View File

@@ -6,14 +6,14 @@
"modules-left": [
"hyprland/workspaces",
"custom/uptime",
"cpu"
"cpu",
"tray"
],
"modules-center": ["clock"],
"modules-right": [
"custom/music",
"custom/pomodoro",
"bluetooth",
"network",
"pulseaudio",
@@ -204,13 +204,5 @@
"format" : ""
},
"custom/pomodoro": {
"format": "{}",
"return-type": "json",
"exec": "waybar-module-pomodoro --no-work-icons",
"on-click": "waybar-module-pomodoro toggle",
"on-click-right": "waybar-module-pomodoro reset",
},
}

View File

@@ -0,0 +1,13 @@
#!/bin/bash
choice=$(printf "25 min work\n50 min work\nShort break (5)\nLong break (15)\nStop timer" |
wofi --dmenu --prompt "Pomodoro")
case "$choice" in
"25 min work") waybar-module-pomodoro work -w 25 ;;
"50 min work") waybar-module-pomodoro work -w 50 ;;
"Short break (5)") waybar-module-pomodoro break -s 5 ;;
"Long break (15)") waybar-module-pomodoro break -l 15 ;;
"Stop timer") waybar-module-pomodoro reset ;;
esac

Binary file not shown.