Commit 7e16a33

xxwhirlpool  ·  2026-03-29 14:15:14 -0400 EDT
parent 5cddb9b
misc
3 files changed,  +12, -2
+4, -0
......@@ -236,3 +236,7 @@ eval "$(starship init bash)"
236236 eval "$(fzf --bash)"
237237 eval "$(batman --export-env)"
238238 . "/home/kat/.deno/env"
239+
240+. "$HOME/.local/share/../bin/env"
241+eval "$(/home/kat/.cargo/bin/rv shell init bash)"
242+eval "$(/home/kat/.cargo/bin/rv shell completions bash)"
+6, -0
......@@ -6,6 +6,12 @@ palette = "catppuccin_frappe"
66
77 format = '$all$character$username$hostname$character$directory '
88
9+# `rv` currently sets a permanent $RUBY_VERSION variable
10+# so my shell always shows the ruby ver no matter the pwd
11+# this just gets rid of the whole thing. whatever man
12+[ruby]
13+format = ""
14+
915 [character]
1016 success_symbol = '[❥](bold pink)'
1117
+2, -2
......@@ -6,12 +6,12 @@
66 device_name=$(pactl list cards | grep -B 20 "device.form_factor = \"headset\"" | grep "Name" | awk '{print $2}')
77
88 goodaudio() {
9- pactl set-card-profile "$device_name" a2dp-sink-sbc_xq
9+ pactl set-card-profile "$device_name" a2dp-sink-sbc_xq || echo "failed to switch to SBC-XQ" && exit 1
1010 echo "switched to SBC-XQ"
1111 }
1212
1313 micaudio() {
14- pactl set-card-profile "$device_name" headset-head-unit-msbc
14+ pactl set-card-profile "$device_name" headset-head-unit-msbc || echo "failed to switch to mSBC" && exit 1
1515 echo "switched to mSBC"
1616 }
1717