Skip to content

Instantly share code, notes, and snippets.

@JNRowe
Created August 30, 2013 11:28
Show Gist options
  • Save JNRowe/6388942 to your computer and use it in GitHub Desktop.
Save JNRowe/6388942 to your computer and use it in GitHub Desktop.
awesomewm config snippet for Matt.
notify =
debug: (text, title, timeout=10 using nil) ->
if settings.debug and text
mytitle = "Debug"
if title
mytitle = "#{mytitle}: #{title}"
_notify_partial(title: mytitle, :text, :timeout),
start: (text) ->
_notify_partial(:text, icon: "actions/system-run"),
stop: (text) ->
_notify_partial(:text, icon: "actions/exit")
@JNRowe
Copy link
Author

JNRowe commented Aug 30, 2013

I use something kind of like that. Grab my awesome-config repo for the full content, but be aware that it is quite big and doesn't shy away from using weird features to get the job done.

@actionless
Copy link

i can't find repo u hv mentioned above, are u gonna to publish it again?

or mb u hv some links to read about setting up awesome wm with moonscipt? (i tried to google that but with no success)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment