diff options
| author | tsxv478 <atvx717@infraredcombat.xyz> | 2022-11-13 04:17:20 +0300 |
|---|---|---|
| committer | tsxv478 <atvx717@infraredcombat.xyz> | 2022-11-13 04:17:20 +0300 |
| commit | 4a42c6030946971124fc4b7d7d5337ad70979a95 (patch) | |
| tree | 1129eedfa9ed13974257c95ea6e66aa85a472da7 /vid | |
| parent | 3e0ee3784ae3066c969fc4340fe330adecb45c34 (diff) | |
minor fixes
Diffstat (limited to 'vid')
| -rwxr-xr-x | vid | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -path="$HOME/vid" -video=$(find $path -type f | cut -d '/' -f '5-' | dmenu -i -c -l 15 -p "Play video:") +dir="$HOME/vid" +video=$(find $dir -type f | cut -d '/' -f '5-' | dmenu -i -c -l 15 -p "Play video:") -[ -f "$path/$video" ] && mpv --really-quiet "$path/$video" +[ -f "$dir/$video" ] && mpv --really-quiet "$dir/$video" |
