10 lines
230 B
Plaintext
10 lines
230 B
Plaintext
|
#!/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"
|
||
|
|