alacritty

This commit is contained in:
2020-05-24 11:27:39 +02:00
parent 0f51200fbf
commit 48a9ac0069
14 changed files with 2669 additions and 198 deletions

View File

@ -8,3 +8,4 @@ configuration {
display-drun: "apps";
columns: 2;
}
@import "/usr/share/rofi/themes/Arc-Dark.rasi"

View File

@ -3,5 +3,5 @@
TRAEFIK="http://traefik.docker.localhost"
DOMAIN="docker.localhost"
SERVICES=$(curl ${TRAEFIK}/api/http/routers |jq ".[].rule" |grep "${DOMAIN}" |awk -F\` '{print $2}')
SELECTION=$(echo -e "$SERVICES" | uniq -u | rofi -dmenu -p "Select traefik service: " -theme ~/.config/rofi/themes/app-launcher)
[ ! -z "$SELECTION" ] && xdg-open "http://${SELECTION}"
SELECTION=$(echo -e "$SERVICES" | uniq -u | rofi -dmenu -p "Select traefik service: " -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi)
[ ! -z "$SELECTION" ] && xdg-open "http://${SELECTION}"