AwesomeWM library for launching clients with single instance IDs
Go to file
James Reed 82bafe9fd7
README: Update install instructions
2019-08-22 13:39:37 -06:00
rockspec Add devel rockspec 2019-08-22 13:37:06 -06:00
LICENSE Initial commit 2019-03-28 08:41:27 -06:00
README.md README: Update install instructions 2019-08-22 13:39:37 -06:00
config.ld Add awesome-launch.panel 2019-07-02 17:23:59 -06:00
init.lua Add launchbar widget 2019-08-13 18:52:22 -06:00
panel.lua panel: Set skip_taskbar to true on panels 2019-07-05 16:56:38 -06:00

README.md

awesome-launch

awesome-launch is a library for Awesome window manager that provides functions to spawn clients with single instance IDs using wm-launch.

Dependencies

Installation

$ git clone https://github.com/jcrd/awesome-launch.git
$ cd awesome-launch
$ luarocks make --local rockspec/awesome-launch-devel-1.rockspec

Usage

Require the library:

local launch = require("awesome-launch")

Now spawn a client:

launch.spawn("xterm", {id="xterm1"})

The new client will have these properties set:

  • single_instance_id = "xterm1"
  • cmdline = "xterm"

See the API documentation for descriptions of all functions.

Widget

A launchbar widget is provided to visualize pending clients.

Customize the launchbar:

launch.widget.color = beautiful.fg_focus

Create a new launchbar for the given screen:

screen.connect_signal("request::desktop_decoration", function (s)
  ...
  s.launchbar = launch.widget.launchbar {
    screen = s,
  }
  s.mywibox:setup {
    ...
    s.launchbar,
    ...
  }
end)

License

awesome-launch is licensed under the GNU General Public License v3.0 or later (see LICENSE).