Merge pull request #3197 from dpetzold/fix-awesome-client-example

Fix awesome-client example
This commit is contained in:
mergify[bot] 2020-10-09 20:21:52 +00:00 committed by GitHub
commit 9e67481ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 36 deletions

View File

@ -28,18 +28,18 @@ Das Modul 'awful.remote' muss geladen sein, um diesen Befehl zu benutzen.
BEISPIELE
---------
....
$ awesome-client 'return 1+1, "Hello, world"\
$ awesome-client 'return 1+1, "Hello, world"'
double 2
string "Hello, world"
# Das folgende Beispiel erzeugt keine Ausgabe auf der Kommandozeile,
# sondern zeigt eine Benachrichtigung an.
$ awesome-client '
> naughty = require("naughty")
> naughty.notify({
> title="CLI-Benachrichtigung",
> text="Dies ist eine Benachrichtigung von der Kommandozeile!"})
> '
naughty = require("naughty")
naughty.notify({
title="CLI-Benachrichtigung",
text="Dies ist eine Benachrichtigung von der Kommandozeile!"})
'
# Starte eine lesen-ausführen-ausgeben-Schleife (REPL).
# In diesem Modus wird jede Zeile zu awesome geschickt; auf die selbe Art

View File

@ -31,18 +31,18 @@ funcione.
EXAMPLES
-------
....
$ awesome-client 'return 1+1, "Hello, world"\
$ 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!"})
> '
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

View File

@ -28,18 +28,18 @@ Le module 'awful.remote' doit être chargé pour que cette commande fonctionne.
EXAMPLES
-------
....
$ awesome-client 'return 1+1, "Hello, world"\
$ 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!"})
> '
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

View File

@ -31,18 +31,18 @@ comando.
EXAMPLES
-------
....
$ awesome-client 'return 1+1, "Hello, world"\
$ 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!"})
> '
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

View File

@ -30,18 +30,18 @@ awesome через D-Bus. Если установлен «rlwrap», то он б
ПРИМЕРЫ
-------
....
$ awesome-client 'return 1+1, "Hello, world"\
$ awesome-client 'return 1+1, "Hello, world"'
double 2
string "Hello, world"
# Следующий пример не возвращает ничего в командную строку,
# но показывает уведомление.
$ awesome-client '
> naughty = require("naughty")
> naughty.notify({
> title="CLI Notification",
> text="Это уведомление было отправлено из командной строки!"})
> '
naughty = require("naughty")
naughty.notify({
title="CLI Notification",
text="Это уведомление было отправлено из командной строки!"})
'
# Интерактивный режим (REPL)
# В данном режиме каждая строка введенная пользователем

View File

@ -29,18 +29,18 @@ The 'awful.remote' module has to be loaded if you want this command to work.
EXAMPLES
-------
....
$ awesome-client 'return 1+1, "Hello, world"\
$ 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!"})
> '
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