Atajos para abrir cosas de Lunar
This commit is contained in:
parent
8b3915eb77
commit
c2cdc30da0
6 changed files with 54 additions and 0 deletions
19
.local/bin/abrir
Executable file
19
.local/bin/abrir
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
vm() {
|
||||||
|
doas rc-service libvirtd start
|
||||||
|
sleep 2
|
||||||
|
doas virsh -c qemu:///system start --domain alpine-sutty || true
|
||||||
|
sshfs nulo@sutty.vm: sutty
|
||||||
|
}
|
||||||
|
|
||||||
|
if test "$(ls ~/sutty | wc -l)" = 0; then
|
||||||
|
vm
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$1" = editor; then
|
||||||
|
footclient --working-directory="$HOME/$2" vis
|
||||||
|
fi
|
||||||
|
if test "$1" = terminal; then
|
||||||
|
footclient env TERM=xterm-256color ssh -t nulo@sutty.vm "cd '$2'; $3; $SHELL -l"
|
||||||
|
fi
|
7
.local/share/applications/lunar-editor-backend.desktop
Normal file
7
.local/share/applications/lunar-editor-backend.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Lunar: Editor backend
|
||||||
|
Exec=abrir editor sutty/lunar-backend
|
||||||
|
Categories=System;Monitor;ConsoleOnly;
|
||||||
|
Keywords=system;process;task
|
7
.local/share/applications/lunar-editor-frontend.desktop
Normal file
7
.local/share/applications/lunar-editor-frontend.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Lunar: Editor frontend app
|
||||||
|
Exec=abrir editor sutty/lunar
|
||||||
|
Categories=System;Monitor;ConsoleOnly;
|
||||||
|
Keywords=system;process;task
|
7
.local/share/applications/lunar-ssh.desktop
Normal file
7
.local/share/applications/lunar-ssh.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Lunar: SSH producción panel
|
||||||
|
Exec=footclient ssh root@panel.lunarcomunidad.com
|
||||||
|
Categories=System;Monitor;ConsoleOnly;
|
||||||
|
Keywords=system;process;task
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Lunar: Terminal `make android-dev` frontend app
|
||||||
|
Exec=abrir terminal lunar 'make android-dev'
|
||||||
|
Categories=System;Monitor;ConsoleOnly;
|
||||||
|
Keywords=system;process;task
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Lunar: Terminal frontend app
|
||||||
|
Exec=abrir terminal lunar
|
||||||
|
Categories=System;Monitor;ConsoleOnly;
|
||||||
|
Keywords=system;process;task
|
Loading…
Reference in a new issue