Update Hypr and Waybar
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
13
.config/waybar/scripts/pomo-menu.sh
Normal file
13
.config/waybar/scripts/pomo-menu.sh
Normal 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
|
||||
|
||||
BIN
.config/waybar/scripts/waybar_timer
Executable file
BIN
.config/waybar/scripts/waybar_timer
Executable file
Binary file not shown.
Reference in New Issue
Block a user