2007-12-02 15:43:40 +01:00
|
|
|
awesome-client(1)
|
|
|
|
=================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
|
2009-04-27 15:09:42 +02:00
|
|
|
awesome-client - awesome window manager remote execution
|
2007-12-02 15:43:40 +01:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2018-01-21 23:40:38 +01:00
|
|
|
awesome-client [-h|--help] [command [command...]]
|
2007-12-02 15:43:40 +01:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2009-04-27 15:09:42 +02:00
|
|
|
awesome-client is a remote command line interface to awesome.
|
2009-08-30 06:21:54 +02:00
|
|
|
It communicates with awesome via D-Bus, allowing remote execution of Lua code.
|
2007-12-02 15:43:40 +01:00
|
|
|
|
|
|
|
USAGE
|
|
|
|
-----
|
2018-01-21 23:40:38 +01:00
|
|
|
awesome-client reads commands passed on the command line or from standard input
|
|
|
|
and sends them via D-Bus to awesome.
|
|
|
|
If 'rlwrap' is installed, it will be used to provide a readline command line
|
|
|
|
interface.
|
2008-01-10 00:42:31 +01:00
|
|
|
|
2009-04-27 15:09:42 +02:00
|
|
|
The 'awful.remote' module has to be loaded if you want this command to work.
|
2008-06-09 21:43:09 +02:00
|
|
|
|
2018-01-21 23:40:38 +01:00
|
|
|
EXAMPLES
|
|
|
|
-------
|
|
|
|
....
|
2020-10-09 20:27:37 +02:00
|
|
|
$ awesome-client 'return 1+1, "Hello, world"'
|
2018-01-21 23:40:38 +01:00
|
|
|
double 2
|
|
|
|
string "Hello, world"
|
|
|
|
|
|
|
|
# The following does not return anything on the command line,
|
|
|
|
# but will show a notification.
|
|
|
|
$ awesome-client '
|
2020-10-09 20:30:17 +02:00
|
|
|
naughty = require("naughty")
|
|
|
|
naughty.notify({
|
|
|
|
title="CLI Notification",
|
|
|
|
text="This is a notification sent from the command line!"})
|
|
|
|
'
|
2018-01-21 23:40:38 +01:00
|
|
|
|
|
|
|
# Entering read-eval-print-loop mode
|
|
|
|
# This mode will send every line to awesome, exactly the same as passing
|
|
|
|
# multiple commands on the command line.
|
|
|
|
$ awesome-client
|
|
|
|
awesome# return 1+1
|
|
|
|
double 2
|
|
|
|
awesome# return 1+1, "Hello, world"
|
|
|
|
double 2
|
|
|
|
string "Hello, world"
|
|
|
|
awesome#
|
|
|
|
....
|
|
|
|
|
2007-12-02 15:43:40 +01:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
2008-02-28 12:36:17 +01:00
|
|
|
awesome(1) awesomerc(5)
|
2007-12-02 15:43:40 +01:00
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
|
WWW
|
|
|
|
---
|
2016-12-21 02:03:03 +01:00
|
|
|
https://awesomewm.org
|