From d5b2f0874c03f5a895d283b127dccdb1c74404b3 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sat, 14 Mar 2020 15:44:30 +0100 Subject: [PATCH] fix virtualbox list --- bin/mabox-obstart | 2 +- bin/mcc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mabox-obstart b/bin/mabox-obstart index 98cc292..cfef4de 100755 --- a/bin/mabox-obstart +++ b/bin/mabox-obstart @@ -21,7 +21,7 @@ if [[ -x "$(command -v VBoxManage)" ]]; then }> $HOME/.config/mabox/vboxes.csv VBoxManage list -s vms | cut -f 2 -d "\"" | sort -f | while read vm do - printf "%s\n" "$vm,vboxmanage startvm ${vm}" >>$HOME/.config/mabox/vboxes.csv + printf "%s\n" "$vm,vboxmanage startvm \"${vm}\"" >>$HOME/.config/mabox/vboxes.csv done printf "%s\n%s\n" "^sep()" "$REFRESH,/usr/bin/mabox-obstart virtualboxes" >>$HOME/.config/mabox/vboxes.csv fi diff --git a/bin/mcc b/bin/mcc index e277330..f2176b4 100755 --- a/bin/mcc +++ b/bin/mcc @@ -205,9 +205,9 @@ yad --plug=$KEY --tabnum=7 \ --columns=2 --form \ --field="$M_EDIT_MAIN:FBTN" "geany $HOME/.config/jgmenu/prepend.csv" \ --field="$M_LEFT:LBL" "" \ ---field="$M_CUSTOMIZE left-prepend.csv:FBTN" "geany $HOME/.config/mabox/places-prepend.csv" \ +--field="$M_CUSTOMIZE places-prepend.csv:FBTN" "geany $HOME/.config/mabox/places-prepend.csv" \ --field="$M_LEFT_DESC:LBL" "" \ ---field="$M_CUSTOMIZE left-append.csv:FBTN" "geany $HOME/.config/mabox/places-append.csv" \ +--field="$M_CUSTOMIZE places-append.csv:FBTN" "geany $HOME/.config/mabox/places-append.csv" \ --field="$M_RESTORE_MAIN:FBTN" "cp /etc/skel/.config/jgmenu/prepend.csv $HOME/.config/jgmenu/prepend.csv" \ --field="$M_RIGHT:LBL" "" \ --field="$M_CUSTOMIZE right-prepend.csv:FBTN" "geany $HOME/.config/mabox/right-prepend.csv" \