mirror of
https://github.com/byReqz/blackmate.git
synced 2024-11-23 11:44:56 +00:00
Update generator.sh
This commit is contained in:
parent
038e519397
commit
8ac6423222
@ -86,10 +86,10 @@ for i in $a; do
|
|||||||
|
|
||||||
#Parse the default launcher and set his name
|
#Parse the default launcher and set his name
|
||||||
cat dfdesk | sed 's/^Name=.*/Name='$i'/' |
|
cat dfdesk | sed 's/^Name=.*/Name='$i'/' |
|
||||||
#Set the bash command to execute
|
#Set the bash command to execute
|
||||||
sed 's/^Exec=.*/Exec=mate-terminal -e "bash -ic \\"\/usr\/bin\/'$i'; exec bash"\\"/' |
|
sed 's/^Exec=.*/Exec=mate-terminal -e "bash -ic \\"\/usr\/bin\/'$i'; exec bash"\\"/' |
|
||||||
#Set the categorie to the launcher && Set the name file to ba-`toolsname`.desktop
|
#Set the categorie to the launcher && Set the name file to ba-`toolsname`.desktop
|
||||||
sed 's/Categories=.*/Categories='$namecat';/' > ba-$i.desktop
|
sed 's/Categories=.*/Categories='$namecat';/' > ba-$i.desktop
|
||||||
|
|
||||||
#End of the current tool
|
#End of the current tool
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user