Adds memes

This commit is contained in:
Thomas Forgione 2024-03-28 16:21:40 +01:00
parent 553857b749
commit e1a89c87f0
1 changed files with 10 additions and 0 deletions

View File

@ -147,3 +147,13 @@ def --env y [] {
def cheat [] { def cheat [] {
pueue add -e evince ($env.HOME + '/git/gitea.tforgione.fr/tforgione/cheat/build/main.pdf') pueue add -e evince ($env.HOME + '/git/gitea.tforgione.fr/tforgione/cheat/build/main.pdf')
} }
# meme completion
def _meme [] {
_ls ($env.HOME + '/Videos/Memes') | get name | each { rm-ext } | each { path basename }
}
# Play a funny meme
def m [arg: string@_meme] {
mpv (glob ($env.HOME + '/Videos/Memes/' + $arg + '.*') | get 0)
}