Skip to content

Instantly share code, notes, and snippets.

@tomgco
Created October 23, 2017 11:24
Show Gist options
  • Save tomgco/0f1682c44b2680a900487e07671fddfc to your computer and use it in GitHub Desktop.
Save tomgco/0f1682c44b2680a900487e07671fddfc to your computer and use it in GitHub Desktop.
local audit = [[arch-audit -u]]
awful.spawn.easy_async(audit, function(stdout, stderr, reason, exit_code)
if stdout then naughty.notify { preset = naughty.config.presets.critical, text = stdout } end
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment