setups my desktop environment from a debian netinst
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
747 B

#!/usr/bin/fish
set SEED (od -vAn -N2 -tu2 < /dev/urandom)
if test -z "$argv[1]"
nice -n -20 /home/$USER/system/tools/orca/build/orca --strict-timing --undo-limit 20 --seed $SEED
#chrt --rr 79 /home/$USER/apps/orca-c/build/release/orca --strict-timing --undo-limit 20 --seed $SEED --margins 1 --osc-port 4444
else
set dotsplit (string split "." "$argv[1]")
set BPM "$dotsplit[2]"
if test "$BPM" = "orca"
set BPM "120"
end
#chrt --rr 79 /home/$USER/apps/orca-c/build/release/orca --strict-timing --bpm "$BPM" --undo-limit 20 --seed $SEED --margins 1 --osc-port 4444 $1
nice -n -20 /home/$USER/system/tools/orca/build/orca --strict-timing --bpm "$BPM" --undo-limit 20 --seed $SEED $argv[1]
end
exit