summaryrefslogtreecommitdiff
path: root/ratdm
diff options
context:
space:
mode:
Diffstat (limited to 'ratdm')
-rwxr-xr-xratdm14
1 files changed, 9 insertions, 5 deletions
diff --git a/ratdm b/ratdm
index a318355..bacbef5 100755
--- a/ratdm
+++ b/ratdm
@@ -1,13 +1,17 @@
#!/usr/bin/env sh
-font="DejaVu Sans Mono:size=13"
-#"-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*"
+font="DejaVu Sans Mono:size=20"
+nb='grey10'
+nf='grey'
+sb=grey
+sf='black'
+
screen=$(ratpoison -c sdump | tr ',' '\n' | grep '1$')
width=$(echo $screen | cut -d ' ' -f 4)
height=$(echo $screen | cut -d ' ' -f 5)
s=$(echo $screen | cut -d ' ' -f 1)
-w=$width #$(($width/2))
-x=0 #$(($width/4))
+w=$(($width/2))
+x=$(($width/4))
y=$(($height/3))
-dmenu -p "Select >" -l 16 -s $s -x $x -y $y -w $w -sb '#AAA' -sf black -nb '#000' -fn "$font" -i -p foo "$@"
+dmenu -p "Select >" -l 16 -m $s -x $x -y $y -w $w -sb $sb -sf $sf -nb $nb -nf $nf -fn "$font" -i "$@"