]> git.rmz.io Git - dotfiles.git/commitdiff
compelety hide conky when it's not toggled
authorSamir Benmendil <samir.benmendil@gmail.com>
Sat, 15 Jun 2013 19:27:05 +0000 (21:27 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Sat, 15 Jun 2013 19:29:22 +0000 (21:29 +0200)
awesome/conky.lua

index fa1c3f59b6d4a9378591a854948f0be1c9c297d6..0f9eca9e5fd74e61ef9aa0c2d78bfbd3622f499d 100644 (file)
@@ -21,6 +21,7 @@ local function raise_conky()
     if conky
     then
         conky.ontop = true
+        conky.hidden = false
     end
 end
 
@@ -29,6 +30,7 @@ local function lower_conky()
     if conky
     then
         conky.ontop = false
+        conky.hidden = true
     end
 end
 
@@ -50,6 +52,7 @@ utils.rules.append({
                properties = { floating = true,
                               sticky = true,
                               ontop = false,
+                              hidden = true,
                               focusable = true,
                               size_hints = {"program_position", "program_size"} 
                              } },