diff options
Diffstat (limited to '')
| -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) |
