forked from awesomeWM/awesome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples and help text for awesome-client (awesomeWM#2162)
This adds a -h|--help option to awesome-client. In addition it adds examples to the awesome-client manpage.
- Loading branch information
Showing
7 changed files
with
202 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ awesome-client - exécution à distance du gestionnaire de fenêtres awesome | |
SYNOPSIS | ||
-------- | ||
|
||
awesome-client | ||
awesome-client [-h|--help] [command [command...]] | ||
|
||
DESCRIPTION | ||
------------ | ||
|
@@ -25,24 +25,48 @@ Si 'rlwrap' est installé, il sera utilisé pour fournir une interface en ligne | |
|
||
Le module 'awful.remote' doit être chargé pour que cette commande fonctionne. | ||
|
||
EXAMPLES | ||
------- | ||
.... | ||
$ awesome-client 'return 1+1, "Hello, world"\ | ||
double 2 | ||
string "Hello, world" | ||
|
||
# The following does not return anything on the command line, | ||
# but will show a notification. | ||
$ awesome-client ' | ||
> naughty = require("naughty") | ||
> naughty.notify({ | ||
> title="CLI Notification", | ||
> text="This is a notification sent from the command line!"}) | ||
> ' | ||
|
||
# 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# | ||
.... | ||
|
||
VOIR AUSSI | ||
---------- | ||
|
||
awesome(1) awesomerc(5) | ||
|
||
AUTEURS | ||
------- | ||
|
||
Julien Danjou <[email protected]> | ||
|
||
WWW | ||
--- | ||
|
||
https://awesomewm.org | ||
|
||
TRADUCTION | ||
---------- | ||
|
||
Ce document est une traduction, réalisée par Jean-Luc Duflot <jl POING | ||
duflot CHEZ laposte POING net> le 20 février 2012. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ awesome-client - удалённое управление потрясающим | |
СИНОПСИС | ||
-------- | ||
|
||
awesome-client | ||
awesome-client [-h|--help] [command [command...]] | ||
|
||
ОПИСАНИЕ | ||
-------- | ||
|
@@ -27,6 +27,34 @@ awesome через D-Bus. Если установлен «rlwrap», то он б | |
В awesome должен быть загружен модуль «awful.remote», чтобы позволить удалённое | ||
выполнение кода. | ||
|
||
EXAMPLES | ||
------- | ||
.... | ||
$ awesome-client 'return 1+1, "Hello, world"\ | ||
double 2 | ||
string "Hello, world" | ||
|
||
# The following does not return anything on the command line, | ||
# but will show a notification. | ||
$ awesome-client ' | ||
> naughty = require("naughty") | ||
> naughty.notify({ | ||
> title="CLI Notification", | ||
> text="This is a notification sent from the command line!"}) | ||
> ' | ||
|
||
# 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# | ||
.... | ||
|
||
СМОТРИ ТАКЖЕ | ||
------------ | ||
awesome(1) awesomerc(5) | ||
|
@@ -41,6 +69,5 @@ https://awesomewm.org | |
|
||
ПЕРЕВОД | ||
------- | ||
|
||
Это руководство переведено на русский язык Константином Степановым <[email protected]> | ||
13 апреля 2011 года. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters