diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-11-09 16:49:57 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-11-09 16:49:57 +0100 |
commit | a4cfb3c53d7c5dbd7904ccacb1c3f65773ef0c6f (patch) | |
tree | 70526941e6cccae13923f01a43b092b3fc20bffa /widgets/command_output | |
parent | 521a6dc17ed9fc515e5f1bc8bfaf95ce04e83e8c (diff) | |
download | skin-flatplus-a4cfb3c53d7c5dbd7904ccacb1c3f65773ef0c6f.tar.gz skin-flatplus-a4cfb3c53d7c5dbd7904ccacb1c3f65773ef0c6f.tar.bz2 |
add main menu widgets
Diffstat (limited to 'widgets/command_output')
-rw-r--r-- | widgets/command_output/README | 5 | ||||
-rwxr-xr-x | widgets/command_output/command | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/widgets/command_output/README b/widgets/command_output/README new file mode 100644 index 00000000..f73a0326 --- /dev/null +++ b/widgets/command_output/README @@ -0,0 +1,5 @@ +This widget is for an own command +The command "command" will be executed every time the widget is drawn, so please keep it short and fast. +The command have to provide two output files: "title" and "output". +"title" is the title of the Widget. +The "output" file is read line by line. And every line is drawn without wrap the lines if they are to long. diff --git a/widgets/command_output/command b/widgets/command_output/command new file mode 100755 index 00000000..03b12b23 --- /dev/null +++ b/widgets/command_output/command @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "MyTitle" > title + +echo "output line 1" > output +echo "output line 2" >> output |