Created
January 9, 2019 20:14
-
-
Save alex-pat/75280a1b38b73f94dc7740e2baace231 to your computer and use it in GitHub Desktop.
awesome wm useful timer
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
gears.timer.start_new(60, function() | |
if os.date("*t").hour >= 23 then | |
naughty.notify({ | |
text = "It's too late!", | |
title = "Go sleep!", | |
position = "top_right", | |
timeout = 60, | |
bg = "#f06060", | |
fg = "#EEE9EF", | |
widht = 200, | |
}) | |
end | |
return true | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment