1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00
This commit is contained in:
Luna 2020-09-22 00:55:50 +02:00
parent c22e9ad370
commit 64d6efabd9
No known key found for this signature in database
GPG key ID: 05246084ED6DAD21
2 changed files with 14 additions and 0 deletions

12
.local/bin/mon2camF Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
ctrl_c() {
exit;
}
for (( ; ; ))
do
trap ctrl_c INT
mon2cam -m 0&
pid=$!
sleep 3m
kill -9 $pid
done

View file

@ -25,4 +25,6 @@ fi
if [ -n "${GOPATH}" ]; then
sed -i "s%\#export GOPATH=\"\"%export GOPATH=\"$GOPATH\"%g" $HOME/.zsh/env.zsh
fi
cp -r ./.local/bin $HOME/.local
chmod -R +x $HOME/.local/bin
source $HOME/.zshrc