1
0
mirror of https://github.com/AquaMorph/dotfiles.git synced 2025-06-01 05:51:41 +00:00

Compare commits

..

No commits in common. "2a4937053daa1b44a1fba14267b649f6d2c78179" and "3debbe1eb71b51279131080932c9ea5b3890333c" have entirely different histories.

2 changed files with 13 additions and 17 deletions
scripts/bin/audio
zsh

@ -26,8 +26,8 @@ function fixPulse() {
function launchi3() {
if [ -z "$skipi3" ]; then
echo Opening i3wm sound workspaces
sleep .1 && i3-msg 'workspace 5; exec brave-browser'
#sleep 5.1 && python ~/bin/start-firefox.py
sleep .1 && i3-msg 'workspace 5; exec librewolf'
sleep 5.1 && python ~/bin/start-firefox.py
fi
}
@ -59,13 +59,6 @@ function renameInterface() {
done
}
# Restart the Wireplumber service.
function restartWireplumber() {
systemctl --user stop wireplumber
sleep 5
systemctl --user restart wireplumber
}
# arg parser
for arg in "$@"
do
@ -77,12 +70,20 @@ done
# Wire sinks
setupSinks
connectSinks
status=$?
while [[ $status -eq 0 ]]; do
echo "Connecting Sinks"
connectSinks
status=$?
sleep 1
done
# Rename Audio Devices
#renameInterface
# Eurorack audio interface
sh ~/bin/audio/es9start.sh
launchi3
systemctl --user restart polybar
sleep 5
restartWireplumber

@ -43,8 +43,3 @@ export EDITOR=emacs
# Daisy build toolkit
GCC_PATH=~/dev/gcc-arm-none-eabi-10-2020-q4-major/bin
export PATH=$GCC_PATH:$PATH
# AM auto complete
autoload bashcompinit
bashcompinit
source "/home/aqua/.local/share/bash-completion/completions/am"