No volume
This commit is contained in:
parent
ed35c80a54
commit
52255410e3
|
@ -156,7 +156,7 @@ def _meme [] {
|
||||||
# Play a funny meme
|
# Play a funny meme
|
||||||
def m [arg: string@_meme] {
|
def m [arg: string@_meme] {
|
||||||
let previous_volume = (pactl get-sink-volume 0 | split row ' ' | filter { $in != "" } | get 4)
|
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)
|
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
|
||||||
pactl set-sink-volume 0 $previous_volume
|
# pactl set-sink-volume 0 $previous_volume
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue