Handy dot files with sensible bindings and settings
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
451 B

#!/bin/bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This script is used to play system sounds.
# Set the directory for system sounds.
sDIR="/usr/share/sounds/freedesktop/stereo"
# Set to true to mute the system sounds.
muted=false
if [[ "$muted" = true ]]; then
exit 0
fi
if [[ "$1" == "--shutter" ]]; then
pw-play "$sDIR/camera-shutter.oga"
elif [[ "$1" == "--volume" ]]; then
pw-play "$sDIR/audio-volume-change.oga"
fi