mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
qr: header
This commit is contained in:
parent
5a8d70b7af
commit
ac94004c58
1 changed files with 2 additions and 2 deletions
4
qrun
4
qrun
|
@ -84,7 +84,7 @@ show_headers() {
|
||||||
tip_distro=$(gum style "try $distro")
|
tip_distro=$(gum style "try $distro")
|
||||||
tip_temp=$(gum join "$tip_header" "$tip_distro")
|
tip_temp=$(gum join "$tip_header" "$tip_distro")
|
||||||
homepage=$("$QUICKGET" -s "${distro}")
|
homepage=$("$QUICKGET" -s "${distro}")
|
||||||
tip_homepage=$(gum style --align left "$homepage")
|
tip_homepage=$(gum style "$homepage")
|
||||||
tip=$(gum join --vertical --align top "$tip_temp" "$tip_homepage")
|
tip=$(gum join --vertical --align top "$tip_temp" "$tip_homepage")
|
||||||
tip_border=$(gum style --padding "0 1" --border=rounded --border-foreground $color "$tip")
|
tip_border=$(gum style --padding "0 1" --border=rounded --border-foreground $color "$tip")
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ show_headers() {
|
||||||
vms=(*.conf)
|
vms=(*.conf)
|
||||||
vms_running=()
|
vms_running=()
|
||||||
vms_not=()
|
vms_not=()
|
||||||
vms_vm=$(gum style --bold "virtual machines:")
|
vms_vm=$(gum style --bold "ready:")
|
||||||
vms_run=""
|
vms_run=""
|
||||||
if [ -n "$(find . -name '*.pid')" ]; then
|
if [ -n "$(find . -name '*.pid')" ]; then
|
||||||
for pid_file in "${pid_files[@]}"; do
|
for pid_file in "${pid_files[@]}"; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue