mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
function desktop_entry
This commit is contained in:
parent
82a5c17ad3
commit
6ee973100e
1 changed files with 21 additions and 0 deletions
21
dh
21
dh
|
@ -98,6 +98,27 @@ function set_variables() {
|
|||
trap "exit" EXIT
|
||||
}
|
||||
|
||||
function create_desktop_entry() {
|
||||
cat <<EOF > ${DESKTOP_FILE}
|
||||
[Desktop Entry]
|
||||
Version=$version
|
||||
Type=$type
|
||||
Name=$name
|
||||
GenericName=$gname
|
||||
Comment=$comment
|
||||
Exec=$execmd
|
||||
Icon=$icon
|
||||
Terminal=$terminal
|
||||
X-MultipleArgs=$args
|
||||
Type=$type
|
||||
Categories=$categories
|
||||
StartupNotify=$notify
|
||||
MimeType=$mime
|
||||
Keywords=$keyword
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
function create_structure() {
|
||||
source distrohopper.conf
|
||||
echo $"creating config dir..."
|
||||
|
|
Loading…
Reference in a new issue