mirror of
https://github.com/aclist/dztui.git
synced 2025-04-05 03:53:01 +02:00
Do not hardcode freedesktop dir
This commit is contained in:
parent
2671e87bc9
commit
64e28e1372
1 changed files with 3 additions and 1 deletions
4
dzgui.sh
4
dzgui.sh
|
@ -155,7 +155,7 @@ cat <<-END
|
|||
Version=1.0
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Exec=/home/deck/Downloads/dzgui.sh
|
||||
Exec=$HOME/.local/share/dzgui/dzgui.sh
|
||||
Name=DZGUI
|
||||
Comment=dzgui
|
||||
Icon=$HOME/.local/share/dzgui/dzgui
|
||||
|
@ -166,6 +166,8 @@ freedesktop_dirs(){
|
|||
mkdir -p $HOME/.local/share/dzgui
|
||||
mkdir -p "$freedesktop_path"
|
||||
#TODO: update url
|
||||
curl -s "$version_url" > $HOME/.local/share/dzgui/dzgui.sh
|
||||
chmod +x "$HOME/.local/share/dzgui/dzgui.sh"
|
||||
img_url="https://raw.githubusercontent.com/aclist/dztui/testing/images"
|
||||
for i in dzgui grid.png hero.png logo.png; do
|
||||
curl -s "$img_url/$i" > "$HOME/.local/share/dzgui/$i"
|
||||
|
|
Loading…
Reference in a new issue