https://github.com/qjtdsqqm94akkyysgjdqo3hx1jn6l17/needlessly-pomo
A simple bash script wrapper for zenity, or at least it supposed to be.
https://github.com/qjtdsqqm94akkyysgjdqo3hx1jn6l17/needlessly-pomo
bash-script over-engineered pomodoro pomodoro-technique pomodoro-timer productivity time-management timer zenity zenity-gui zenity-wrapper
Last synced: about 2 months ago
JSON representation
A simple bash script wrapper for zenity, or at least it supposed to be.
- Host: GitHub
- URL: https://github.com/qjtdsqqm94akkyysgjdqo3hx1jn6l17/needlessly-pomo
- Owner: qjtdsqqm94akkyysgjdqo3hx1jn6l17
- License: mit
- Created: 2025-03-10T07:49:52.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-03-10T09:08:50.000Z (3 months ago)
- Last Synced: 2025-03-31T15:03:15.105Z (about 2 months ago)
- Topics: bash-script, over-engineered, pomodoro, pomodoro-technique, pomodoro-timer, productivity, time-management, timer, zenity, zenity-gui, zenity-wrapper
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Needlessly Complex Pomodoro
A bash script warper for `zenity` that has no right being this convoluted.## What is this?
This:
```bash
#!/bin/bashINTERVAL_1=25
INTERVAL_2=5zenity \
--question \
--title="Pomodoro" \
--text="Let's start!" \
--ok-label="Ok ($INTERVAL_1 mins)" || exitwhile true; do
sleep "${INTERVAL_1}m"
zenity \
--question \
--title="Pomodoro" \
--text="Break time!" \
--ok-label="Ok ($INTERVAL_2 mins)" || break
sleep "${INTERVAL_2}m"
zenity \
--question \
--title="Pomodoro" \
--text="Work time!" \
--ok-label="Ok ($INTERVAL_1 mins)" || break
done
```
...But the dev just kept on throwing bells and whistles on top of it until the line count exceeded 250!## "Features"
* **Configurable values**
* **Like all of them.** Don't like the value of a variable? Override it at your terminal session or in the `.env`.* **Literally infinite intervals.** No arbitrary limits here! 3? 5? 152? 1? Just define more `POMO_INTERVAL_*` variables!
* **Desktop integration:** Want your pomodoro accessible in your application menu? Your local binary folder? Just run the [installation wizard](./install.bash).
* **Code by human** ~~...which explains all the abominations in there to be honest...~~**:**
* All elbow grease from an overachiever. No AI tampering with code here.
* The **[`./resources`](./resources)** folder, on the other hand... (see [licensing](#licensing))* **Randomized Button Labels**
* 450+ randomized labels for the buttons, titles, and text, generated by Claude 3.7 Sonnet, ranging from Rawr xD random l337sp34k to modern Skibidi ohio references
* User extendable too (if you are willing to put up with *the horrors*)
* **(Next to) 0 dependencies:** see next section.## Requirements:
### Are you running modern Ubuntu?
Then yes, it'll run.
### For everyone else:
* A modern version of **`zenity`** (No support for `kdialog`, yet).
* A modern version of **`bash`**.
* (Optional) `gio` for the uninstallation to move the files to the trash instead of falling back to the scary `rm -r`.## Running:
* Open this folder in terminal, type `bash [script name here].bash`.
* Or give the script executable permission (there's so much guide online), right click → (some variant of "Run this as a program...")## Licensing:
* With exceptions to the contents in [`./resources`](./resources), all code are written by a human and is available under the [MIT License](./LICENSE).
* Contents of the files in [`./resources`](./resources) was AI generated by the LLM Claude 3.7 Sonnet with very little human input relative to the output and should be inapplicable for copyright (See [LICENSE-DATA](./LICENSE-DATA)).## [ TODO ]
- [ ] Add .gifs
- [ ] Fix Sonnet's semi broken svg icon