Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Detect gamex display even if it's two screens

  • Loading branch information...
commit 183434a167c09c6644e4d6068a27d78ecb4411a3 1 parent 61f6bea
Russell Pickett authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .config/awesome/functions.lua
View
2  .config/awesome/functions.lua
@@ -10,5 +10,5 @@ function is_host(testname)
end
function gamex()
- return (is_host("mergatroid") and os.getenv("DISPLAY") == ":1")
+ return (is_host("mergatroid") and os.getenv("DISPLAY"):find(":1"))
end
Please sign in to comment.
Something went wrong with that request. Please try again.