Fix up pulse restart alias.

This commit is contained in:
Captain ALM 2024-12-10 15:23:32 +00:00
parent 7f8e112913
commit 50c0724c45
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -14,7 +14,7 @@ alias screen-off="sleep 0.1 && xset dpms force off"
alias boot-sign-verify="sudo sign-boot && sudo verify-boot" alias boot-sign-verify="sudo sign-boot && sudo verify-boot"
alias rdp-session-desktop-cvd="xfreerdp3 ~/Downloads/SessionDesktop.rdpw /gateway:type:arm /sec:aad +clipboard /w:1920 /h:1000 +auto-reconnect" alias rdp-session-desktop-cvd="xfreerdp3 ~/Downloads/SessionDesktop.rdpw /gateway:type:arm /sec:aad +clipboard /w:1920 /h:1000 +auto-reconnect"
alias pulse-restart="systemctl --user stop pulseaudio.socket pulseaudio.service && sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service" alias pulse-restart="systemctl --user stop pulseaudio.socket pulseaudio.service && sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service"
alias pulse-restart-force="systemctl --user stop pulseaudio.socket && killall -9 pulseaudio && sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service" alias pulse-restart-force="systemctl --user stop pulseaudio.socket; killall -9 pulseaudio; sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service"
function disk-commission() { function disk-commission() {
sudo badblocks -w -p 0 -t 0x00 -v -s "$1"; sudo badblocks -w -p 0 -t 0x00 -v -s "$1";
} }