summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-25 15:26:44 +0000
committerjao <jao@gnu.org>2018-11-25 15:26:44 +0000
commitf86bbb8ca5d3ba0d18e333cbe6cb57cc17e3ae07 (patch)
treeba34733d783dfcb65234ed835deac13a9a9c100e
parentb12fe3ebdaf3a4a539b85f742a582925d7e811f1 (diff)
downloadxmobar-f86bbb8ca5d3ba0d18e333cbe6cb57cc17e3ae07.tar.gz
xmobar-f86bbb8ca5d3ba0d18e333cbe6cb57cc17e3ae07.tar.bz2
doc, examples
-rw-r--r--.gitignore12
-rw-r--r--doc/web/Makefile (renamed from web/Makefile)0
-rw-r--r--doc/web/xmobar-sawfish.png (renamed from web/xmobar-sawfish.png)bin9924 -> 9924 bytes
-rw-r--r--doc/web/xmobar-xmonad.png (renamed from web/xmobar-xmonad.png)bin490277 -> 490277 bytes
-rw-r--r--doc/web/xmobar.css (renamed from web/xmobar.css)0
-rw-r--r--examples/Plugins/HelloWorld.hs (renamed from samples/Plugins/HelloWorld.hs)0
-rw-r--r--examples/Plugins/helloworld.config (renamed from samples/Plugins/helloworld.config)0
-rwxr-xr-xexamples/padding-icon.sh (renamed from samples/padding-icon.sh)0
-rwxr-xr-xexamples/status.sh (renamed from samples/status.sh)0
-rw-r--r--examples/xmobar.config (renamed from samples/xmobar.config)0
-rw-r--r--examples/xmonadpropwrite.hs (renamed from samples/xmonadpropwrite.hs)0
-rw-r--r--readme.md16
-rw-r--r--xmobar.cabal8
13 files changed, 15 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index 6f15bc8..add7d32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,19 +1,13 @@
/dist/
/dist-newstyle/
/TAGS
-/IWlib.hs
-/StatFS.hs
-/XUtil.hs
-/src/IWlib.hs
-/src/StatFS.hs
-/src/XUtil.hs
-/web/index.html
-/web/releases.html
+/doc/web/index.html
+/doc/web/releases.html
/cabal-dev/
.cabal-sandbox
cabal.sandbox.config
.stack-work
-/web/readme.md
+/doc/web/readme.md
/.idea/
/xmobar.iml
/out/
diff --git a/web/Makefile b/doc/web/Makefile
index 411f589..411f589 100644
--- a/web/Makefile
+++ b/doc/web/Makefile
diff --git a/web/xmobar-sawfish.png b/doc/web/xmobar-sawfish.png
index 13c236e..13c236e 100644
--- a/web/xmobar-sawfish.png
+++ b/doc/web/xmobar-sawfish.png
Binary files differ
diff --git a/web/xmobar-xmonad.png b/doc/web/xmobar-xmonad.png
index 3a3160e..3a3160e 100644
--- a/web/xmobar-xmonad.png
+++ b/doc/web/xmobar-xmonad.png
Binary files differ
diff --git a/web/xmobar.css b/doc/web/xmobar.css
index 54a44c6..54a44c6 100644
--- a/web/xmobar.css
+++ b/doc/web/xmobar.css
diff --git a/samples/Plugins/HelloWorld.hs b/examples/Plugins/HelloWorld.hs
index d2267ae..d2267ae 100644
--- a/samples/Plugins/HelloWorld.hs
+++ b/examples/Plugins/HelloWorld.hs
diff --git a/samples/Plugins/helloworld.config b/examples/Plugins/helloworld.config
index 3818bfa..3818bfa 100644
--- a/samples/Plugins/helloworld.config
+++ b/examples/Plugins/helloworld.config
diff --git a/samples/padding-icon.sh b/examples/padding-icon.sh
index 31f5eeb..31f5eeb 100755
--- a/samples/padding-icon.sh
+++ b/examples/padding-icon.sh
diff --git a/samples/status.sh b/examples/status.sh
index 94e8fe7..94e8fe7 100755
--- a/samples/status.sh
+++ b/examples/status.sh
diff --git a/samples/xmobar.config b/examples/xmobar.config
index c0d4cdc..c0d4cdc 100644
--- a/samples/xmobar.config
+++ b/examples/xmobar.config
diff --git a/samples/xmonadpropwrite.hs b/examples/xmonadpropwrite.hs
index f3f4a5d..f3f4a5d 100644
--- a/samples/xmonadpropwrite.hs
+++ b/examples/xmonadpropwrite.hs
diff --git a/readme.md b/readme.md
index 3c3d5c0..9332c52 100644
--- a/readme.md
+++ b/readme.md
@@ -173,9 +173,9 @@ Since 0.14 xmobar reacts to SIGUSR1 and SIGUSR2:
## Quick Start
-See [samples/xmobar.config] for an example.
+See [examples/xmobar.config] for an example.
-[samples/xmobar.config]: http://github.com/jaor/xmobar/raw/master/samples/xmobar.config
+[examples/xmobar.config]: http://github.com/jaor/xmobar/raw/master/examples/xmobar.config
For the output template:
@@ -348,7 +348,7 @@ See [this idea] by Jonas Camillus Jeppensen for a way of adapting
dynamically xmobar's size and run it alongside a system tray widget
such as trayer or stalonetray (although the idea is not limited to
trays, really). For your convenience, there is a version of Jonas'
-script in [samples/padding-icon.sh](./samples/padding-icon.sh).
+script in [examples/padding-icon.sh](./examples/padding-icon.sh).
[this idea]: https://github.com/jaor/xmobar/issues/239#issuecomment-233206552
@@ -1202,11 +1202,11 @@ Like [Volume](#volume-mixer-element-args-refreshrate), but with the following di
- Aliases to `PropName`
- Reads the X property named by `PropName` (a string) and displays its
- value. The [samples/xmonadpropwrite.hs script] in xmobar's
+ value. The [examples/xmonadpropwrite.hs script] in xmobar's
distribution can be used to set the given property from the output
of any other program or script.
-[samples/xmonadpropwrite.hs script]: https://github.com/jaor/xmobar/raw/master/samples/xmonadpropwrite.hs
+[examples/xmonadpropwrite.hs script]: https://github.com/jaor/xmobar/raw/master/examples/xmonadpropwrite.hs
### `UnsafeXPropertyLog PropName`
@@ -1420,10 +1420,10 @@ will display "N/A" if for some reason the `date` invocation fails.
your xmobar. Sending some status information to
`"/tmp/xmobar_status"` will reveal xmonad for 1.5 seconds and
temporarily overwrite the window titles.
-- Take a look at [samples/status.sh]
+- Take a look at [examples/status.sh]
- Expands environment variables for the pipe path
-[samples/status.sh]: http://github.com/jaor/xmobar/raw/master/samples/status.sh
+[examples/status.sh]: http://github.com/jaor/xmobar/raw/master/examples/status.sh
<font size="+1">**`XMonadLog`**</font>
@@ -1517,7 +1517,7 @@ configuration options.
This requires importing your plugin into `Config.hs` and adding your
type to the type list in the type signature of `Config.runnableTypes`.
-For a very basic example see `samples/Plugins/HelloWorld.hs` or the
+For a very basic example see `examples/Plugins/HelloWorld.hs` or the
other plugins that are distributed with xmobar.
## Installing/Removing a Plugin
diff --git a/xmobar.cabal b/xmobar.cabal
index 7f82725..8fd836a 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -17,10 +17,10 @@ cabal-version: >= 1.8
build-type: Simple
extra-source-files: readme.md, changelog.md,
- samples/padding-icon.sh,
- samples/xmobar.config, samples/xmonadpropwrite.hs
- samples/Plugins/helloworld.config,
- samples/Plugins/HelloWorld.hs
+ examples/padding-icon.sh,
+ examples/xmobar.config, examples/xmonadpropwrite.hs
+ examples/Plugins/helloworld.config,
+ examples/Plugins/HelloWorld.hs
source-repository head
type: git