misc fixes
parent
de91a754cc
commit
4524fdb550
|
@ -1,3 +1,6 @@
|
||||||
|
[$Version]
|
||||||
|
update_info=kxkb_variants.upd:split-variants
|
||||||
|
|
||||||
[Layout]
|
[Layout]
|
||||||
DisplayNames=pro
|
DisplayNames=pro
|
||||||
LayoutList=progm
|
LayoutList=progm
|
||||||
|
@ -10,3 +13,4 @@ ShowLayoutIndicator=false
|
||||||
ShowSingle=true
|
ShowSingle=true
|
||||||
SwitchMode=Global
|
SwitchMode=Global
|
||||||
Use=true
|
Use=true
|
||||||
|
VariantList=
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function megadl-all -d 'Downloads all files in ~/dl'
|
function megadl-all -d 'Downloads all files in ~/dl' -a dl_file
|
||||||
for f in (cat ~/dl)
|
if not test $dl_file
|
||||||
|
set dl_file ~/dl
|
||||||
|
end
|
||||||
|
for f in (cat $dl_file)
|
||||||
set folder_name ""
|
set folder_name ""
|
||||||
if string match "*/folder/*" -- $f > /dev/null
|
if string match "*/folder/*" -- $f > /dev/null
|
||||||
set folder_name (string sub -s24 -- $f | tr -c "[a-zA-Z0-9]" "_")
|
set folder_name (string sub -s24 -- $f | tr -c "[a-zA-Z0-9]" "_")
|
||||||
|
|
|
@ -30,6 +30,13 @@ function vm-qemu -d "Frontend to QEMU"
|
||||||
set -a _args --device $dev
|
set -a _args --device $dev
|
||||||
end
|
end
|
||||||
|
|
||||||
|
switch $soundhw
|
||||||
|
case "hda"
|
||||||
|
set -a _args --device intel-hda --device hda-duplex
|
||||||
|
case "ac97"
|
||||||
|
set -a _args --device AC97
|
||||||
|
end
|
||||||
|
|
||||||
# Machine
|
# Machine
|
||||||
test "$_cpu"
|
test "$_cpu"
|
||||||
and set cpu $_cpu
|
and set cpu $_cpu
|
||||||
|
@ -74,7 +81,6 @@ function vm-qemu -d "Frontend to QEMU"
|
||||||
--display sdl,gl=on \
|
--display sdl,gl=on \
|
||||||
--drive file="$image",format=qcow2,media=disk \
|
--drive file="$image",format=qcow2,media=disk \
|
||||||
--monitor stdio \
|
--monitor stdio \
|
||||||
--soundhw "$soundhw" \
|
|
||||||
--vga "$vga" \
|
--vga "$vga" \
|
||||||
-m "$_mem" \
|
-m "$_mem" \
|
||||||
$_args
|
$_args
|
||||||
|
|
|
@ -23,7 +23,7 @@ end
|
||||||
|
|
||||||
function xqrebuild -d "Rebuild some of our srcpkgs"
|
function xqrebuild -d "Rebuild some of our srcpkgs"
|
||||||
xqdir
|
xqdir
|
||||||
xbulk $argv 2>&1 | tee /tmp/xqrebuild.log | less +F
|
xbulk -1 $argv 2>&1 | tee /tmp/xqrebuild.log | less +F
|
||||||
end
|
end
|
||||||
|
|
||||||
function xqupdate -d "Updates the srcpkg repository for use"
|
function xqupdate -d "Updates the srcpkg repository for use"
|
||||||
|
@ -35,6 +35,6 @@ function xqupdate -d "Updates the srcpkg repository for use"
|
||||||
end
|
end
|
||||||
xqdir
|
xqdir
|
||||||
git pull
|
git pull
|
||||||
rm -rf $XBPS_MASTERDIR
|
rm -rf $XBPS_MASTERDIR $XBPS_HOSTDIR/{repocache-*,sources}
|
||||||
./xbps-src binary-bootstrap
|
./xbps-src binary-bootstrap
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue