Skip to content

Instantly share code, notes, and snippets.

@chase
Created July 15, 2014 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chase/5a212f414b44efc1f560 to your computer and use it in GitHub Desktop.
Save chase/5a212f414b44efc1f560 to your computer and use it in GitHub Desktop.
LINE Sticker Window Rule for Awesome WM
{ rule = { instance = "Line.exe", name = "emoji" },
properties = { floating = true, raise = true, focus = true },
callback = function (c)
local g = c:geometry()
mouse.coords({x=g.x + (g.width/2), y=g.y + (g.height/2)})
return awful.client.setslave(c)
end
}
@chase
Copy link
Author

chase commented Jul 15, 2014

Just add this rule to your rules in rc.lua. This expects that you are running LINE under Wine.

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