feat: add drawio

This commit is contained in:
Klesh Wong 2022-05-15 16:05:46 +08:00
parent e47a26c475
commit 3e7487927b
4 changed files with 26 additions and 0 deletions

View File

@ -54,6 +54,7 @@ case "$UNAMEA" in
exfat-utils \
gnome-keyring libsecret \
thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler \
flameshot \
alacritty
# ntp
sudo pacman -S --noconfirm --needed \

14
gui/drawio.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
log 'Setting up drawio'
echo download AppImage from github and save to ~/.local/bin
xdg-open "https://github.com/jgraph/drawio-desktop/releases"
echo download icon from github and save to ~/.local/share/icons/drawio.svg
xdg-open "https://github.com/jgraph/drawio-desktop/blob/dev/build/icon.svg"
lnsf "$DIR/drawio/drawio.desktop" ~/.local/share/applications/drawio.desktop

10
gui/drawio/drawio.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=drawio
Icon=drawio.svg
Exec=drawio %f
Comment=Diagram
Categories=Utility
Terminal=false
MimeType=image/svg

View File

@ -1,4 +1,5 @@
configuration{
combi-modi: "drun,run,window";
modi: "drun,run,window";
lines: 5;
font: "monospace 14";