This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-07 23:12:28 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-12-28 12:50:51 +00:00
|
|
|
MAINDIR="$HOME/doc/paginas/tilde"
|
|
|
|
|
2020-12-29 15:08:04 +00:00
|
|
|
subir() {
|
|
|
|
if [ "$PWD" = "$MAINDIR/texto-plano/muert.o" ] || [ "$PWD" = "$MAINDIR/town/textarrrgh" ]; then
|
|
|
|
hugo
|
|
|
|
fi
|
2020-12-28 12:50:51 +00:00
|
|
|
git add . && git commit -m "nuevo post"
|
|
|
|
}
|
|
|
|
|
|
|
|
listar() { rofi -dmenu "$@"; }
|
|
|
|
|
|
|
|
MENU="$(printf "Fuckup\\nMuerto\\nDotfiles\\nTextArt" | listar -p " ")"
|
|
|
|
case $MENU in
|
2020-12-29 15:08:04 +00:00
|
|
|
'Fuckup') cd "$MAINDIR/fuckup/blog" && subir || exit ;;
|
|
|
|
'Muerto') cd "$MAINDIR/texto-plano/muert.o" && subir || exit ;;
|
|
|
|
'Dotfiles') cd "$MAINDIR/club/the-dot-files" && subir || exit ;;
|
|
|
|
'TextArt') cd "$MAINDIR/town/textarrrgh" && subir || exit ;;
|
2020-12-28 12:50:51 +00:00
|
|
|
esac
|