feat(config): fish configs

This commit is contained in:
2025-02-14 00:04:09 +02:00
parent 4e4a2eaab1
commit b436472bbb
160 changed files with 6324 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# @halostatue/fish-macos/functions/remind.fish:v7.0.0
function remind --description 'Add a reminder to Reminders.app'
is_mac 'mountain lion'
or return 1
has_app Reminders
or return 1
if set --query argv
set --function text $argv
else
set --function text (cat - | sed -e 's/$/<br>/')
end
test -z $text
and return 0
echo $text : text
echo 'tell application "Reminders"
tell the default list
make new reminder with properties {name: "'$text'"}
end tell
end tell' | osascript >/dev/null
end