1 -- http://awesome.naquadah.org/wiki/Conky_HUD
2 local utils = require("utils")
4 local function get_conky()
5 local clients = client.get()
10 if clients[i].class == "Conky"
19 local function raise_conky()
20 local conky = get_conky()
27 local function lower_conky()
28 local conky = get_conky()
35 local function toggle_conky()
36 local conky = get_conky()
49 { rule = { class = "Conky" },
50 properties = { floating = true,
54 size_hints = {"program_position", "program_size"}
59 utils.globalkeys.append(awful.key({}, "F4", function () raise_conky() end, function () lower_conky() end))
61 utils.run_once("conky")