mergeconflix is the new hottest Gaul on the block

This commit is contained in:
2023-03-26 21:44:30 +03:00
parent 77328585a4
commit 78beb7ceea

13
giteaDo
View File

@@ -1,11 +1,12 @@
#!/bin/sh
#!/usr/bin/env bash
GITEA_URL="http://git.konsthol.eu:3333"
GITEA_URL="https://git.konsthol.eu"
USERNAME="konsthol"
#MENU="rofi -theme-str 'window {width: 400px; height: 200px;}' -dmenu -i -p 'Repo to delete'"
MENU="rofi -dmenu -i -p repoToDelete"
#MENU='rofi -theme-str 'window {width: 400px; height: 200px;}' -dmenu -i -p repoToDelete'
# MENU="rofi -dmenu -i -p repoToDelete"
MENU='tofi --include /home/konsthol/.config/tofi/tofiColors --num-results 10 --prompt-text repoToDelete: '
[[ -n "$SSH_TTY" ]] && MENU="fzf -i --prompt=repoToDelete"
NAME="${0##*/}"
@@ -92,9 +93,9 @@ else
createRepo "$(basename $PWD)" "$description" | jq
git init
git add .
git commit -m "$(curl -s http://whatthecommit.com/index.txt)"
git commit -m "$(curl -sL --fail https://whatthecommit.com/index.txt)"
git remote add origin $GITEA_URL/$USERNAME/$(basename $PWD)
git push -u origin master
git push -u origin main
;;
-d|--delete)
NAME="$(giteaDo -l | $MENU)"