Skip to content

Instantly share code, notes, and snippets.

@pjvds
Created February 16, 2014 12:33
Show Gist options
  • Save pjvds/9033553 to your computer and use it in GitHub Desktop.
Save pjvds/9033553 to your computer and use it in GitHub Desktop.
Gnome quit awesome fix
-- Override awesome.quit when we're using GNOME
_awesome_quit = awesome.quit
awesome.quit = function()
if os.getenv("DESKTOP_SESSION") == "awesome-gnome" then
os.execute("/usr/bin/gnome-session-quit")
else
_awesome_quit()
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment