No volume

This commit is contained in:
Thomas Forgione 2024-03-30 21:56:58 +01:00
parent ed35c80a54
commit 52255410e3
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ def _meme [] {
# Play a funny meme
def m [arg: string@_meme] {
let previous_volume = (pactl get-sink-volume 0 | split row ' ' | filter { $in != "" } | get 4)
pactl set-sink-volume 0 100%
# pactl set-sink-volume 0 100%
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
pactl set-sink-volume 0 $previous_volume
# pactl set-sink-volume 0 $previous_volume
}