Compare commits
3 commits
8b3915eb77
...
c91aecec86
Author | SHA1 | Date | |
---|---|---|---|
c91aecec86 | |||
724a87ceb3 | |||
c2cdc30da0 |
7 changed files with 57 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
|
3
.zshrc
3
.zshrc
|
@ -40,6 +40,7 @@ alias r="trash -r"
|
||||||
|
|
||||||
alias a='nohup nemo "$(pwd)" >/dev/null &'
|
alias a='nohup nemo "$(pwd)" >/dev/null &'
|
||||||
|
|
||||||
|
alias g='git'
|
||||||
alias gcp='git commit -p'
|
alias gcp='git commit -p'
|
||||||
alias gc='git commit'
|
alias gc='git commit'
|
||||||
alias gs='git status'
|
alias gs='git status'
|
||||||
|
@ -49,7 +50,9 @@ alias gp='git push'
|
||||||
alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2
|
alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2
|
||||||
|
|
||||||
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
|
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
|
||||||
|
alias gd='gitdf'
|
||||||
alias gdcp='gitdf commit -p'
|
alias gdcp='gitdf commit -p'
|
||||||
|
alias gda='gitdf add'
|
||||||
alias gds='gitdf status'
|
alias gds='gitdf status'
|
||||||
alias gdp='gitdf push'
|
alias gdp='gitdf push'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue