aboutsummaryrefslogtreecommitdiff
path: root/desktop/spectrwm/examples/README
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-04-24 07:14:11 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:30:03 -0300
commitdec4a7c0b052fe9181aa00af7f0ff5fa381128ec (patch)
tree7108c662fa198330834e2b10955147c3943fe79f /desktop/spectrwm/examples/README
parent16da631ccdfcd828c83ffeabe7eb57fd4604caf8 (diff)
desktop/spectrwm: Updated for version 2.2.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/spectrwm/examples/README')
-rw-r--r--desktop/spectrwm/examples/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/desktop/spectrwm/examples/README b/desktop/spectrwm/examples/README
new file mode 100644
index 0000000000000..f87f874257347
--- /dev/null
+++ b/desktop/spectrwm/examples/README
@@ -0,0 +1,31 @@
+spectrwm_baraction.sh is the main script that can be set as the value for the
+bar_action option in spectrwm.conf.
+You can install it in your PATH and configure it like this (the values are just
+examples):
+bar_enabled = 1
+bar_font = -*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*
+bar_action = spectrwm_baraction.sh
+
+This script uses the following utilities:
+o top(1) - installed on Slackware
+o free(1) - installed on Slackware
+o setxkbmap(1) - installed on Slackware
+o skb(1) - optional, can be used for alternative keyboard layout detection
+o battery_status.sh - optional
+ Needs the power_supply class in the /sys directory.
+o wifi_link_quality.sh - optional
+ Needs ip(8) from the iproute2 package and iwconfig(8) from the
+ wireless-tools package (both of which is installed on Slackware).
+
+
+spectrwm_screenshot.sh:
+This makes a screenshot of the actual X11 screen or optionally just a window.
+It needs the graphics/scrot package from the SBo repository.
+You can configure it in your spectrwm.conf like this:
+program[capture] = spectrwm_screenshot.sh full
+bind[capture] = MOD+c
+program[capture_w] = spectrwm_screenshot.sh window
+bind[capture_w] = MOD+Shift+c
+
+
+Needless to say, that these scripts must be in your PATH it the above cases.