Browse Source

misc fixes

master
Alison Watson 2 years ago
parent
commit
4524fdb550
  1. 4
      applications/kxkbrc
  2. 7
      fish/megadl
  3. 8
      fish/vm-qemu
  4. 4
      fish/void-quick

4
applications/kxkbrc

@ -1,3 +1,6 @@
[$Version]
update_info=kxkb_variants.upd:split-variants
[Layout]
DisplayNames=pro
LayoutList=progm
@ -10,3 +13,4 @@ ShowLayoutIndicator=false
ShowSingle=true
SwitchMode=Global
Use=true
VariantList=

7
fish/megadl

@ -1,7 +1,10 @@
#!/usr/bin/env fish
function megadl-all -d 'Downloads all files in ~/dl'
for f in (cat ~/dl)
function megadl-all -d 'Downloads all files in ~/dl' -a dl_file
if not test $dl_file
set dl_file ~/dl
end
for f in (cat $dl_file)
set folder_name ""
if string match "*/folder/*" -- $f > /dev/null
set folder_name (string sub -s24 -- $f | tr -c "[a-zA-Z0-9]" "_")

8
fish/vm-qemu

@ -30,6 +30,13 @@ function vm-qemu -d "Frontend to QEMU"
set -a _args --device $dev
end
switch $soundhw
case "hda"
set -a _args --device intel-hda --device hda-duplex
case "ac97"
set -a _args --device AC97
end
# Machine
test "$_cpu"
and set cpu $_cpu
@ -74,7 +81,6 @@ function vm-qemu -d "Frontend to QEMU"
--display sdl,gl=on \
--drive file="$image",format=qcow2,media=disk \
--monitor stdio \
--soundhw "$soundhw" \
--vga "$vga" \
-m "$_mem" \
$_args

4
fish/void-quick

@ -23,7 +23,7 @@ end
function xqrebuild -d "Rebuild some of our srcpkgs"
xqdir
xbulk $argv 2>&1 | tee /tmp/xqrebuild.log | less +F
xbulk -1 $argv 2>&1 | tee /tmp/xqrebuild.log | less +F
end
function xqupdate -d "Updates the srcpkg repository for use"
@ -35,6 +35,6 @@ function xqupdate -d "Updates the srcpkg repository for use"
end
xqdir
git pull
rm -rf $XBPS_MASTERDIR
rm -rf $XBPS_MASTERDIR $XBPS_HOSTDIR/{repocache-*,sources}
./xbps-src binary-bootstrap
end

Loading…
Cancel
Save