Skip to content

Commit b916499

Browse files
committed
Update notify- alias sound paths to use freedesktop files.
1 parent b1b9a58 commit b916499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aliases

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ alias lupdate='git branch -D lkgr 1>/dev/null 2&>1; git lkgr | xargs git branch
7878
alias ma='my_activity.py --output-format="- [{title}]({url})" | sed -e "s/^Changes:$/Changes:\n/g" | sed -e "s/^Reviews:$/Reviews:\n/g" | sed -e "s/^Issues:$/Issues:\n/g"'
7979
alias mount-tmpfs-out='sudo mount -t tmpfs -o size=50% tmpfs out'
8080
alias n='notify'
81-
alias notify-fail='(notify-send -i $BASH_CONFIG_DIR/icons/red.png "FAIL"; paplay /usr/share/sounds/ubuntu/stereo/system-ready.ogg; exit 1)'
82-
alias notify-ok='(notify-send -i $BASH_CONFIG_DIR/icons/green.png "OK"; paplay /usr/share/sounds/ubuntu/stereo/message.ogg; exit 0)'
81+
alias notify-fail='(notify-send -i $BASH_CONFIG_DIR/icons/red.png "FAIL"; paplay /usr/share/sounds/freedesktop/stereo/complete.oga; exit 1)'
82+
alias notify-ok='(notify-send -i $BASH_CONFIG_DIR/icons/green.png "OK"; paplay /usr/share/sounds/freedesktop/stereo/message.oga; exit 0)'
8383
alias notify='test $? -eq 0 && notify-ok || notify-fail'
8484
alias p="pushd +1"
8585
alias r2='if [ -e out2/Release/chrome ]; then out2/Release/chrome `run-flags`; else out2/Release/Chromium.app/Contents/MacOS/Chromium; fi'

0 commit comments

Comments
 (0)