-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.sh
54 lines (36 loc) · 1.28 KB
/
startup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
#for gnome use gnome-session-properties at terminal
if [ ! -f /tmp/.auto-n-lock ]
then
# curlftpfs V:[email protected]/V/Data/3/ /3
#sleep .1s&&wmctrl -t 4 -r "bash"
echo "Locking for firstrun"
touch /tmp/.auto-n-lock
sleep 5s
if wmctrl -m | grep -e "Name:"|grep -iq "awesome"
then
#echo "Starting telegram"
#wmctrl -s 4 # default for the telegram.
#nohup telegram-sergiusens.telegram > /dev/null 2>&1 &
sleep 5s
echo "Starting auto"
wmctrl -s 2 # default viewport
touch "$HOME"/.autonaumasplayerinput # dont put exec with this it is causing the script to exit
nohup /bin/bash autonomousPLAYER/autonomousPLAYER.sh >/dev/null 2>&1 &
#echo "Starting wallpaper downloader"
#exec bash $HOME/wallp/dl.sh >/dev/null 2>&1 &
#echo "Starting ARTHA"
#nohup artha >/dev/null 2>&1 &
#echo "Starting countdown"
#nohup /bin/bash $HOME/countdown.sh >/dev/null 2>&1 &
echo "Starting Id"
nohup /bin/bash "$HOME"/autonomousPLAYER/idmaster.sh >/dev/null 2>&1 &
#echo "Starting Youtube"
#nohup /bin/bash $HOME/Youtube/youtube.sh >/dev/null 2>&1 &
#echo "Starting Conky"
#nohup conky -c "$HOME"/autonomousPLAYER/.conkyconfig > /dev/null 2>&1 &
wmctrl -s 3
terminator -p Transparent --geometry i800x600+5+25 -x /bin/bash "$HOME"/autonomousPLAYER/automator.sh >/dev/null 2>&1 &
sleep 10
fi
fi