2009-06-15 20:52:40 +02:00
|
|
|
---------------------------------------------------------------------------
|
2014-05-20 13:02:39 +02:00
|
|
|
--- D-Bus module for awful.
|
|
|
|
--
|
2021-08-15 08:38:01 +02:00
|
|
|
-- This module simply requests the org.awesomewm.awful name on the D-Bus
|
|
|
|
-- for future usage by other awful modules.
|
2014-05-20 13:02:39 +02:00
|
|
|
--
|
2009-06-15 20:52:40 +02:00
|
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
|
|
-- @copyright 2009 Julien Danjou
|
2014-05-20 13:02:39 +02:00
|
|
|
-- @module awful.dbus
|
2009-06-15 20:52:40 +02:00
|
|
|
---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
-- Grab environment we need
|
|
|
|
local dbus = dbus
|
|
|
|
|
|
|
|
if dbus then
|
2016-12-21 02:03:03 +01:00
|
|
|
dbus.request_name("session", "org.awesomewm.awful")
|
2009-06-15 20:52:40 +02:00
|
|
|
end
|
|
|
|
|
2011-09-11 16:50:01 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|