summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorThiago Negri <evohunz@gmail.com>2013-09-10 17:57:16 -0300
committerThiago Negri <evohunz@gmail.com>2013-09-11 22:05:12 -0300
commitb780acaeac9545199867405f6c14434e77baf1d7 (patch)
tree12d9b3402c049c21a139bcf8e9c51a5ce5f3e593 /readme.md
parent1d20b99ec742ce08a8083a01ccb15adb763815e1 (diff)
downloadxmobar-b780acaeac9545199867405f6c14434e77baf1d7.tar.gz
xmobar-b780acaeac9545199867405f6c14434e77baf1d7.tar.bz2
Created UnsafeStdinReader plugin
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 26c00af..89eea29 100644
--- a/readme.md
+++ b/readme.md
@@ -1117,6 +1117,22 @@ can be used in the output template as `%mydate%`
- Aliases to StdinReader
- Displays any text received by xmobar on its standard input.
+- Strips actions from the text received. This means you can't pass dynamic
+ actions via stdin. This is safer than `UnsafeStdinReader` because there is
+ no need to escape the content before passing it to xmobar's standard input.
+
+`UnsafeStdinReader`
+
+- Aliases to UnsafeStdinReader
+- Displays any text received by xmobar on its standard input.
+- Will not do anything to the text received. This means you can pass dynamic
+ actions via stdin. Be careful to remove tags from dynamic text that you
+ pipe-thru to xmobar's standard input, e.g. window's title. There is no way
+ to escape the tags, i.e. you can't print a literal "<action>" tag on xmobar.
+- Sample usage: send to xmobar's stdin the list of your workspaces enclosed by
+ actions tags that switches the workspaces to be able to switch workspaces by
+ clicking on xmobar:
+ `<action=xdotool key alt+1>ws1</action> <action=xdotool key alt+1>ws2</action>`
`Date Format Alias RefreshRate`