diff options
| author | dvs1 | 2024-10-21 19:45:55 +1000 |
|---|---|---|
| committer | dvs1 | 2024-10-21 19:45:55 +1000 |
| commit | fec2fcbab1e966403bbfdd5e205fface71592ace (patch) | |
| tree | 99b04f135ebfbc874d606f0c6d4b311f6868b698 | |
| parent | Restructure the APT.exe stuff. (diff) | |
| download | JackOnAllDevices-fec2fcbab1e966403bbfdd5e205fface71592ace.zip JackOnAllDevices-fec2fcbab1e966403bbfdd5e205fface71592ace.tar.gz JackOnAllDevices-fec2fcbab1e966403bbfdd5e205fface71592ace.tar.bz2 JackOnAllDevices-fec2fcbab1e966403bbfdd5e205fface71592ace.tar.xz | |
A few clean ups.
| -rwxr-xr-x | test_.lua | 10 |
1 files changed, 2 insertions, 8 deletions
| @@ -73,20 +73,14 @@ end | |||
| 73 | 73 | ||
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | |||
| 77 | -- CHANGE these to suit. | ||
| 78 | local asoundrcPath = '/var/lib/aataaj' | ||
| 79 | local asoundrc = 'asoundrc' | ||
| 80 | local GUI = 'qjackctl' | 76 | local GUI = 'qjackctl' |
| 81 | if _.exists'catia' then GUI = 'catia' end | 77 | if _.exists'catia' then GUI = 'catia' end |
| 82 | local alias = { | ||
| 83 | {name='Screen', dev='HDMI9'}, | ||
| 84 | } | ||
| 85 | 78 | ||
| 86 | local speaker = 'espeak' | 79 | local speaker = 'espeak' |
| 87 | if _.exists'espeak-ng' then speaker = 'espeak-ng' end | 80 | if _.exists'espeak-ng' then speaker = 'espeak-ng' end |
| 88 | 81 | ||
| 89 | 82 | ||
| 83 | |||
| 90 | for i,l in ipairs(__'df -h':log():Do().lines) do | 84 | for i,l in ipairs(__'df -h':log():Do().lines) do |
| 91 | print(l) | 85 | print(l) |
| 92 | end | 86 | end |
| @@ -111,7 +105,7 @@ for i,l in ipairs(__{'df -h', 'free -h'}:log():Do().lines) do | |||
| 111 | end | 105 | end |
| 112 | print('') | 106 | print('') |
| 113 | 107 | ||
| 114 | print('' .. GUI) | 108 | print('' .. GUI .. ' ' .. speaker) |
| 115 | print('') | 109 | print('') |
| 116 | 110 | ||
| 117 | print(__'true':log():show():Do().status) | 111 | print(__'true':log():show():Do().status) |
