Last active
          October 15, 2025 05:34 
        
      - 
            
      
        
      
    Star
      
          
          (290)
      
  
You must be signed in to star a gist  - 
              
      
        
      
    Fork
      
          
          (37)
      
  
You must be signed in to fork a gist  
- 
      
 - 
        
Save bashbunni/f6b04fc4703903a71ce9f70c58345106 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
bashbunni revised this gist
Sep 17, 2025 . 1 changed file with 31 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ # Use a pomodoro timer with the fish shell. # This requires https://github.com/caarlos0/timer to be installed and https://github.com/charmbracelet/gum on PATH function pom set split $POMO_SPLIT if ! test -n "$split" set split $(gum choose "25/5" "50/10" "all done" --header "Choose a pomodoro split.") end switch $split case '25/5' set work "25m" set break "5m" case '50/10' set work "50m" set break "10m" case 'all done' return end timer $work && terminal-notifier -message 'Pomodoro'\ -title 'Work Timer is up! Take a Break π'\ -sound Crystal gum confirm "Ready for a break?" && \ timer $break && terminal-notifier -message 'Pomodoro'\ -title 'Break is over! Get back to work π¬'\ -sound Crystal \ || pom end  - 
        
bashbunni created this gist
Oct 27, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # I'll be doing another one for Linux, but this one will give you # a pop up notification and sound alert (using the built-in sounds for macOS) # Requires https://github.com/caarlos0/timer to be installed # Mac setup for pomo alias work="timer 60m && terminal-notifier -message 'Pomodoro'\ -title 'Work Timer is up! Take a Break π'\ -appIcon '~/Pictures/pumpkin.png'\ -sound Crystal" alias rest="timer 10m && terminal-notifier -message 'Pomodoro'\ -title 'Break is over! Get back to work π¬'\ -appIcon '~/Pictures/pumpkin.png'\ -sound Crystal"