Use bin/sing instead of playing sounds directly
This commit is contained in:
parent
476111f759
commit
431428d2ba
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env zsh
|
||||
# A script run by devmon/udevil when a device is mounted or unmounted, notifying me.
|
||||
|
||||
DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send -a "devmon" "Device change" "$2"
|
||||
aplay -N -q /usr/share/sounds/ding.wav &
|
||||
ding
|
||||
|
|
|
@ -14,7 +14,7 @@ if [[ "$check" != "0" ]]; then
|
|||
echo "%{F#b5bd68}${icon}$pac+$aur%{F-}"
|
||||
if [[ $last != "$pac$aur" ]]; then
|
||||
notify-send "$((pac+aur)) updates available"
|
||||
paplay $DOTFILES_ASSETS/sounds/updates.ogg &
|
||||
ding updates
|
||||
echo "$pac$aur" >/tmp/polybar-updates
|
||||
fi
|
||||
else
|
||||
|
|
|
@ -15,7 +15,7 @@ ARCH=$DOTS/base/arch
|
|||
[[ -e ~/wallpaper ]] && feh --no-fehbg --image-bg black --bg-center ~/wallpaper
|
||||
|
||||
# Let me know
|
||||
paplay $DOTFILES_ASSETS/sounds/startup.ogg &
|
||||
$DOTS/bin/ding startup
|
||||
|
||||
# autostart programs
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue