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 BEISPIELE
--------- ---------
.... ....
$ awesome-client 'return 1+1, "Hello, world"\ $ awesome-client 'return 1+1, "Hello, world"'
double 2 double 2
string "Hello, world" string "Hello, world"
# Das folgende Beispiel erzeugt keine Ausgabe auf der Kommandozeile, # Das folgende Beispiel erzeugt keine Ausgabe auf der Kommandozeile,
# sondern zeigt eine Benachrichtigung an. # sondern zeigt eine Benachrichtigung an.
$ awesome-client ' $ awesome-client '
> naughty = require("naughty") naughty = require("naughty")
> naughty.notify({ naughty.notify({
> title="CLI-Benachrichtigung", title="CLI-Benachrichtigung",
> text="Dies ist eine Benachrichtigung von der Kommandozeile!"}) text="Dies ist eine Benachrichtigung von der Kommandozeile!"})
> ' '
# Starte eine lesen-ausführen-ausgeben-Schleife (REPL). # Starte eine lesen-ausführen-ausgeben-Schleife (REPL).
# In diesem Modus wird jede Zeile zu awesome geschickt; auf die selbe Art # In diesem Modus wird jede Zeile zu awesome geschickt; auf die selbe Art

View File

@ -31,18 +31,18 @@ funcione.
EXAMPLES EXAMPLES
------- -------
.... ....
$ awesome-client 'return 1+1, "Hello, world"\ $ awesome-client 'return 1+1, "Hello, world"'
double 2 double 2
string "Hello, world" string "Hello, world"
# The following does not return anything on the command line, # The following does not return anything on the command line,
# but will show a notification. # but will show a notification.
$ awesome-client ' $ awesome-client '
> naughty = require("naughty") naughty = require("naughty")
> naughty.notify({ naughty.notify({
> title="CLI Notification", title="CLI Notification",
> text="This is a notification sent from the command line!"}) text="This is a notification sent from the command line!"})
> ' '
# Entering read-eval-print-loop mode # Entering read-eval-print-loop mode
# This mode will send every line to awesome, exactly the same as passing # 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 EXAMPLES
------- -------
.... ....
$ awesome-client 'return 1+1, "Hello, world"\ $ awesome-client 'return 1+1, "Hello, world"'
double 2 double 2
string "Hello, world" string "Hello, world"
# The following does not return anything on the command line, # The following does not return anything on the command line,
# but will show a notification. # but will show a notification.
$ awesome-client ' $ awesome-client '
> naughty = require("naughty") naughty = require("naughty")
> naughty.notify({ naughty.notify({
> title="CLI Notification", title="CLI Notification",
> text="This is a notification sent from the command line!"}) text="This is a notification sent from the command line!"})
> ' '
# Entering read-eval-print-loop mode # Entering read-eval-print-loop mode
# This mode will send every line to awesome, exactly the same as passing # This mode will send every line to awesome, exactly the same as passing

View File

@ -31,18 +31,18 @@ comando.
EXAMPLES EXAMPLES
------- -------
.... ....
$ awesome-client 'return 1+1, "Hello, world"\ $ awesome-client 'return 1+1, "Hello, world"'
double 2 double 2
string "Hello, world" string "Hello, world"
# The following does not return anything on the command line, # The following does not return anything on the command line,
# but will show a notification. # but will show a notification.
$ awesome-client ' $ awesome-client '
> naughty = require("naughty") naughty = require("naughty")
> naughty.notify({ naughty.notify({
> title="CLI Notification", title="CLI Notification",
> text="This is a notification sent from the command line!"}) text="This is a notification sent from the command line!"})
> ' '
# Entering read-eval-print-loop mode # Entering read-eval-print-loop mode
# This mode will send every line to awesome, exactly the same as passing # 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 double 2
string "Hello, world" string "Hello, world"
# Следующий пример не возвращает ничего в командную строку, # Следующий пример не возвращает ничего в командную строку,
# но показывает уведомление. # но показывает уведомление.
$ awesome-client ' $ awesome-client '
> naughty = require("naughty") naughty = require("naughty")
> naughty.notify({ naughty.notify({
> title="CLI Notification", title="CLI Notification",
> text="Это уведомление было отправлено из командной строки!"}) text="Это уведомление было отправлено из командной строки!"})
> ' '
# Интерактивный режим (REPL) # Интерактивный режим (REPL)
# В данном режиме каждая строка введенная пользователем # В данном режиме каждая строка введенная пользователем

View File

@ -29,18 +29,18 @@ The 'awful.remote' module has to be loaded if you want this command to work.
EXAMPLES EXAMPLES
------- -------
.... ....
$ awesome-client 'return 1+1, "Hello, world"\ $ awesome-client 'return 1+1, "Hello, world"'
double 2 double 2
string "Hello, world" string "Hello, world"
# The following does not return anything on the command line, # The following does not return anything on the command line,
# but will show a notification. # but will show a notification.
$ awesome-client ' $ awesome-client '
> naughty = require("naughty") naughty = require("naughty")
> naughty.notify({ naughty.notify({
> title="CLI Notification", title="CLI Notification",
> text="This is a notification sent from the command line!"}) text="This is a notification sent from the command line!"})
> ' '
# Entering read-eval-print-loop mode # Entering read-eval-print-loop mode
# This mode will send every line to awesome, exactly the same as passing # This mode will send every line to awesome, exactly the same as passing