setlayout is a small program that arranges desktops in an MxN grid.

It should work with any EWHM-compliant window manager, such as Openbox.

Example usage: setlayout 0 2 2 0 for a 2x2 grid.

WWW: http://icculus.org/openbox/index.php

PR:		ports/118804
Submitted by:	oleg at bsdpower.com
This commit is contained in:
Martin Wilke 2007-12-19 00:31:17 +00:00
parent d4f17c6e1a
commit bcec4fa2a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204065
4 changed files with 44 additions and 0 deletions

View file

@ -260,6 +260,7 @@
SUBDIR += scripts
SUBDIR += scrnsaverproto
SUBDIR += sessreg
SUBDIR += setlayout
SUBDIR += settitle
SUBDIR += setxkbmap
SUBDIR += silo

34
x11/setlayout/Makefile Normal file
View file

@ -0,0 +1,34 @@
# New ports collection makefile for: setlayout
# Date created: 17 December 2007
# Whom: oleg@bsdpower.com
#
# $FreeBSD$
#
PORTNAME= setlayout
DISTVERSION= 20071217
CATEGORIES= x11
MASTER_SITES= http://icculus.org/openbox/tools/
DISTFILES= ${PORTNAME}.c
EXTRACT_ONLY= #none
MAINTAINER= oleg@bsdpower.com
COMMENT= Arrange desktops in an MxN grid layout
USE_XORG= x11
NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.pre.mk>
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} -I ${PREFIX}/include -L ${PREFIX}/lib -lX11 ${DISTFILES}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>

3
x11/setlayout/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (setlayout.c) = 76f263e1550532ae54fd53c3a49b2c71
SHA256 (setlayout.c) = fd0b488babad5a3e81f0dae2e28b2f9caf39bc7654455988c59638067ac5062e
SIZE (setlayout.c) = 1374

6
x11/setlayout/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
setlayout is a small program that arranges desktops in an MxN grid.
It should work with any EWHM-compliant window manager, such as Openbox.
Example usage: setlayout 0 2 2 0 for a 2x2 grid.
WWW: http://icculus.org/openbox/index.php