about summary refs log tree commit diff
path: root/users/riking/dotfiles/fish/functions/reset-audio.fish
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-09-03T21·20-0700
committerkanepyork <rikingcoding@gmail.com>2020-09-03T22·03+0000
commitdd94d3036a4d176efcd4c00bbd767d679e8bcebb (patch)
treeaa2ee661bfd201cba92bf31d51435392a37da55b /users/riking/dotfiles/fish/functions/reset-audio.fish
parent2f7b688389058b454ee12adc4b6b47740298f53b (diff)
feat(u/riking/dotfiles): convert bashrc functions to fish r/1760
Change-Id: I8a7d1806a8920d31c0b572a4259eef908339e449
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1927
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Diffstat (limited to 'users/riking/dotfiles/fish/functions/reset-audio.fish')
-rw-r--r--users/riking/dotfiles/fish/functions/reset-audio.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/riking/dotfiles/fish/functions/reset-audio.fish b/users/riking/dotfiles/fish/functions/reset-audio.fish
new file mode 100644
index 000000000000..eb48578a52bc
--- /dev/null
+++ b/users/riking/dotfiles/fish/functions/reset-audio.fish
@@ -0,0 +1,4 @@
+function reset-audio --description "Resets pulse and alsa"
+    pulseaudio -k
+    sudo alsa force-reload
+end