mpv-cam-view/new

10 lines
230 B
Plaintext
Raw Normal View History

2020-10-20 22:30:54 +00:00
#!/bin/sh
_cam_directory='cams'
mkdir -p "$_cam_directory"
echo '#!/bin/sh' >> "$_cam_directory/$1"
echo "bspc rule --add mpv --one-shot state=tiled && mpv \"$2\" & disown" >> "$_cam_directory/$1"
chmod +x "$_cam_directory/$1"