From f2ab61b389c03f891901a1d4ddf09c4098799583 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 11 Sep 2024 02:19:23 -0400 Subject: [PATCH] Added optional support for x11bell: https://github.com/jovanlanik/x11bell --- README.md | 1 + i38.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 60a1465..e5a0047 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ An uppercase I looks like a 1, 3 from i3, and 8 because the song [We Are 138](ht - sox: for sounds. - transfersh: [optional] for file sharing GUI - udiskie: [optional] for automatically mounting removable storage +- x11bell: [optional] Bell support if you do not have a PC speaker. Available from https://github.com/jovanlanik/x11bell - xclip: Clipboard support - xbacklight: [optional] for screen brightness adjustment - xorg-setxkbmap: [optional] for multiple keyboard layouts diff --git a/i38.sh b/i38.sh index 8ae06ba..0522ef4 100755 --- a/i38.sh +++ b/i38.sh @@ -667,6 +667,9 @@ if [[ $dex -eq 0 ]]; then echo 'exec --no-startup-id dex --autostart --environment i3' else echo '# Startup applications' + if command -v x11bell &> /dev/null ; then + echo 'exec --no-startup-id x11bell play -nqV0 synth .1 sq norm -12' + fi echo 'exec --no-startup-id clipster -d' echo 'exec orca' echo "exec_always --no-startup-id ${i3Path}/scripts/desktop.sh"