aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/services/dnd.lua
blob: d64583cc9e1fd7c50646d1642f8e7846516d2ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local gobject = require "gears.object"

local inner = false

local M = gobject {
    class = {
        set_dnd = function(self, value)
            inner = value
            self:emit_signal("dnd", inner)
        end,
        get_dnd = function()
            return inner
        end
    },
    enable_properties = true,
}

return M