aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/tray
blob: 16fbb563bf41adf51ad97ac7b69a5088e1cd3bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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