summaryrefslogtreecommitdiff
path: root/lib/awful/dbus.lua
blob: 8660dce436d4a5ede23b90281aed832afccf6781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---------------------------------------------------------------------------
--- D-Bus module for awful.
--
-- This module simply request the org.awesomewm.awful name on the D-Bus
-- for futur usage by other awful modules.
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @module awful.dbus
---------------------------------------------------------------------------

-- Grab environment we need
local dbus = dbus

if dbus then
    dbus.request_name("session", "org.awesomewm.awful")
end

-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80