aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/common/.local/share
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-21 20:16:34 -0400
committerCraig Jennings <c@cjennings.net>2026-05-21 20:16:34 -0400
commitf7079db3aa3e0073df6ce5409d4b6de0a431e26f (patch)
treee6ed90fdbd40c0122c4a2cd6c4ac25b34cb02be6 /dotfiles/common/.local/share
parentd6fa23bb592ce4184c3a8b62de5cb6826f874ee2 (diff)
downloadarchsetup-f7079db3aa3e0073df6ce5409d4b6de0a431e26f.tar.gz
archsetup-f7079db3aa3e0073df6ce5409d4b6de0a431e26f.zip
feat(notify): add --silent flag, volume knob, and level sound files
The touchpad toggle's notification was too loud, and the eight notify sounds varied by ~13 dB in RMS loudness — bug and fail came out two to three times louder than info or security. I added a --silent flag to notify (shows the popup, plays no sound) and a NOTIFY_VOLUME knob (paplay scale, default 65536) so the master level can drop without re-encoding. toggle-touchpad now passes --silent on both enable and disable. normalize-notify-sounds.sh measures each .ogg and shifts it to a uniform -31 dB mean. It writes through the file instead of mv-ing over it, so the stow symlinks survive when the script runs against the live sound dir. I re-encoded all eight sounds to the new level. Tests: a new tests/notify suite (12 tests) covers --silent, the volume knob, flag composition, and the error paths.
Diffstat (limited to 'dotfiles/common/.local/share')
-rw-r--r--dotfiles/common/.local/share/sounds/notify/alarm.oggbin45775 -> 49034 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/alert.oggbin41684 -> 37850 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/bug.oggbin10187 -> 8522 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/fail.oggbin74886 -> 64144 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/info.oggbin31466 -> 29007 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/question.oggbin49846 -> 46024 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/security.oggbin19910 -> 19963 bytes
-rw-r--r--dotfiles/common/.local/share/sounds/notify/success.oggbin39244 -> 34480 bytes
8 files changed, 0 insertions, 0 deletions
diff --git a/dotfiles/common/.local/share/sounds/notify/alarm.ogg b/dotfiles/common/.local/share/sounds/notify/alarm.ogg
index b4dff15..de9b0b7 100644
--- a/dotfiles/common/.local/share/sounds/notify/alarm.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/alarm.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/alert.ogg b/dotfiles/common/.local/share/sounds/notify/alert.ogg
index 217f33a..9001f2a 100644
--- a/dotfiles/common/.local/share/sounds/notify/alert.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/alert.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/bug.ogg b/dotfiles/common/.local/share/sounds/notify/bug.ogg
index 6842082..a1bfb03 100644
--- a/dotfiles/common/.local/share/sounds/notify/bug.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/bug.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/fail.ogg b/dotfiles/common/.local/share/sounds/notify/fail.ogg
index 916d88a..e4f067f 100644
--- a/dotfiles/common/.local/share/sounds/notify/fail.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/fail.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/info.ogg b/dotfiles/common/.local/share/sounds/notify/info.ogg
index 57900b4..0dc8e10 100644
--- a/dotfiles/common/.local/share/sounds/notify/info.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/info.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/question.ogg b/dotfiles/common/.local/share/sounds/notify/question.ogg
index 8e44c55..2a6017e 100644
--- a/dotfiles/common/.local/share/sounds/notify/question.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/question.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/security.ogg b/dotfiles/common/.local/share/sounds/notify/security.ogg
index 301287e..d2ecd20 100644
--- a/dotfiles/common/.local/share/sounds/notify/security.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/security.ogg
Binary files differ
diff --git a/dotfiles/common/.local/share/sounds/notify/success.ogg b/dotfiles/common/.local/share/sounds/notify/success.ogg
index c28da65..6bf93fe 100644
--- a/dotfiles/common/.local/share/sounds/notify/success.ogg
+++ b/dotfiles/common/.local/share/sounds/notify/success.ogg
Binary files differ