New dmenu deprecates the new '-y 0' flag, go back to using '-b'.

Apparantly the suckless.org guys don't know that repeatedly changing
commandline options for no apparant reason sucks.
This commit is contained in:
mcbride 2008-07-11 08:37:56 +00:00
parent f570a582a0
commit fce1b92ad9
3 changed files with 2 additions and 26 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2008/05/26 07:47:57 mcbride Exp $
# $OpenBSD: Makefile,v 1.10 2008/07/11 08:37:56 mcbride Exp $
COMMENT= dynamic window manager
DISTNAME= wmii-3.6
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= x11
HOMEPAGE= http://www.suckless.org

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-rc_rc_wmii_rc,v 1.1 2008/05/26 07:47:57 mcbride Exp $
--- rc/rc.wmii.rc.orig Mon May 26 16:39:34 2008
+++ rc/rc.wmii.rc Mon May 26 16:39:46 2008
@@ -63,7 +63,7 @@ fn viewtitle { echo $* }
# Convenience Functions
fn wmiimenu {
- dmenu -b -fn $WMII_FONT \
+ dmenu -y -0 -fn $WMII_FONT \
-nf $WMII_NORMCOLORS(1) -nb $WMII_NORMCOLORS(2) \
-sf $WMII_FOCUSCOLORS(1) -sb $WMII_FOCUSCOLORS(2)
}

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-rc_wmiirc_sh,v 1.1 2008/05/26 07:47:57 mcbride Exp $
--- rc/wmiirc.sh.orig Mon May 26 16:32:21 2008
+++ rc/wmiirc.sh Mon May 26 16:32:38 2008
@@ -16,7 +16,7 @@ WMII_BACKGROUND='#333333'
WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
-WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
+WMII_MENU="dmenu -y -0 -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
WMII_9MENU="wmii9menu -font '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5' -br '$6'"
WMII_TERM="xterm"