update new script to use cams/launcher.sh

This commit is contained in:
Ray Elliott 2020-10-20 23:38:00 +01:00
parent 27cdbc317c
commit d3fd951e05
1 changed files with 1 additions and 1 deletions

2
new
View File

@ -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"