First commit

This commit is contained in:
2018-03-13 08:04:28 +01:00
commit 196a7d2af6
32 changed files with 33836 additions and 0 deletions

15
bash_notifications.command Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
JOUR=$(date +"%Y-%m-%d %T")
# https://github.com/alloy/terminal-notifier
#terminal-notifier -title 'Mounted' -subtitle 'Info' -message 'Le volume film est déjà monté !' -sound default
# http://apple.stackexchange.com/questions/57412/how-can-i-trigger-a-notification-center-notification-from-an-applescript-or-shel
#osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title" subtitle "subtitle" sound name "Glass"'
#osascript -e 'display notification "'"$JOUR"'"' #ok
osascript -e 'display notification "'"$JOUR"' bla" with title "Title"'
#osascript -e 'tell app "System Events" to display dialog "Last connextion date : '$JOUR'" buttons {"Cancel", "Continue"} cancel button "Cancel" default button "Continue"'