about summary refs log tree commit diff
path: root/users/riking/dotfiles/fish/functions/reset-audio.fish
diff options
context:
space:
mode:
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