Created
February 16, 2014 12:33
-
-
Save pjvds/9033553 to your computer and use it in GitHub Desktop.
Gnome quit awesome fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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