aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/tray
diff options
context:
space:
mode:
Diffstat (limited to 'ratpoison/tray')
-rwxr-xr-xratpoison/tray13
1 files changed, 13 insertions, 0 deletions
diff --git a/ratpoison/tray b/ratpoison/tray
new file mode 100755
index 0000000..16fbb56
--- /dev/null
+++ b/ratpoison/tray
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+source ~/.colors
+
+mon_num=${1:-0}
+width=${2:-0}
+height=${3:-0}
+x=${4:-0}
+y=${5:-0}
+
+let x_offset=$x+$width-16
+stalonetray -bg $COLOR0 --geometry 1x1+$x_offset+$y --grow-gravity NE \
+ --icon-size 16 --icon-gravity W --kludges force_icons_size