update new script to use cams/launcher.sh
This commit is contained in:
parent
27cdbc317c
commit
d3fd951e05
2
new
2
new
|
@ -4,6 +4,6 @@ _cam_directory='cams'
|
||||||
mkdir -p "$_cam_directory"
|
mkdir -p "$_cam_directory"
|
||||||
|
|
||||||
echo '#!/bin/sh' >> "$_cam_directory/$1"
|
echo '#!/bin/sh' >> "$_cam_directory/$1"
|
||||||
echo "bspc rule --add mpv --one-shot state=tiled && mpv \"$2\" & disown" >> "$_cam_directory/$1"
|
echo "./launcher \"$2\" "'"$1"' >> "$_cam_directory/$1"
|
||||||
chmod +x "$_cam_directory/$1"
|
chmod +x "$_cam_directory/$1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue