material-shell / material-awesome

Material and Mouse driven config for AwesomeWM 4.3
MIT License
686 stars 243 forks source link

module/auto-start.lua: bad argument #1 to ipairs (table expected, got strings) #29

Closed Alechan closed 5 years ago

Alechan commented 5 years ago

The error is raised at startup.

the function "run_once" expects a table but in lines 17 and 19 it's given a string.

When replacing run_once('compton --config ' .. filesystem.get_configuration_dir() .. '/conf/compton.conf') -- To allow gnome tools to ask authentication like pamac run_once( '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)' )

With run_once({'compton --config ' .. filesystem.get_configuration_dir() .. '/conf/compton.conf'}) -- To allow gnome tools to ask authentication like pamac run_once({ '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)'} )

The error disappears.

PapyElGringo commented 5 years ago

Indeed thanks for the report I made a mistake with rollbacking a change :( will be fixed in rearange_project branch

Alechan commented 5 years ago

No problem. I saw your reddit post and wanted to try it out.

I've still to make it work but it looks promising.

Let me know if you need any more info on the other issues. I'd like to contribute as much as possible.