feat: add drawio
This commit is contained in:
parent
e47a26c475
commit
3e7487927b
|
@ -54,6 +54,7 @@ case "$UNAMEA" in
|
||||||
exfat-utils \
|
exfat-utils \
|
||||||
gnome-keyring libsecret \
|
gnome-keyring libsecret \
|
||||||
thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler \
|
thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler \
|
||||||
|
flameshot \
|
||||||
alacritty
|
alacritty
|
||||||
# ntp
|
# ntp
|
||||||
sudo pacman -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
|
|
14
gui/drawio.sh
Executable file
14
gui/drawio.sh
Executable 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
10
gui/drawio/drawio.desktop
Normal 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
|
|
@ -1,4 +1,5 @@
|
||||||
configuration{
|
configuration{
|
||||||
|
combi-modi: "drun,run,window";
|
||||||
modi: "drun,run,window";
|
modi: "drun,run,window";
|
||||||
lines: 5;
|
lines: 5;
|
||||||
font: "monospace 14";
|
font: "monospace 14";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user