From 07d294425a98ee5d1e22d03e2b24ae2c76e487c0 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 23 Aug 2025 12:42:37 +0900 Subject: updates --- mac/.config/sketchybar/plugins/nextevent.applescript | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 mac/.config/sketchybar/plugins/nextevent.applescript (limited to 'mac/.config/sketchybar/plugins/nextevent.applescript') diff --git a/mac/.config/sketchybar/plugins/nextevent.applescript b/mac/.config/sketchybar/plugins/nextevent.applescript deleted file mode 100644 index 6ffc56a..0000000 --- a/mac/.config/sketchybar/plugins/nextevent.applescript +++ /dev/null @@ -1,19 +0,0 @@ -set input to paragraphs of (do shell script "/opt/homebrew/bin/icalBuddy -ec 'Found in Natural Language,CCSF' -npn -nc -iep 'datetime,title' -po 'datetime,title' -eed -ea -n -li 4 -ps '|: |' -b '' eventsToday") - -set currentTime to date (do shell script "date '+%I:%M %p'") - -set theEvent to "" - -if input is not "" then - repeat with anEvent in input - set text item delimiters to "^" - set eventTime to date (text item 1 of anEvent) - set text item delimiters to "" - if eventTime > currentTime then - set theEvent to anEvent as string - exit repeat - end if - end repeat -end if - -return theEvent \ No newline at end of file -- cgit v1.2.3