summaryrefslogtreecommitdiff
path: root/community/tabbed
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-31 06:21:03 -0700
committerroot <root@rshg054.dnsready.net>2013-05-31 06:21:03 -0700
commit7e7561a9640d0e1f54288a391239feb6bd691b56 (patch)
treed3b51b006a1133ace68d149692d9bd9fb3f981a9 /community/tabbed
parent94a3b302f520438e919ef8706ce9cf42ad7c2e11 (diff)
Fri May 31 06:21:01 PDT 2013
Diffstat (limited to 'community/tabbed')
-rw-r--r--community/tabbed/PKGBUILD8
-rw-r--r--community/tabbed/config.h39
2 files changed, 33 insertions, 14 deletions
diff --git a/community/tabbed/PKGBUILD b/community/tabbed/PKGBUILD
index c89f0ed1f..a66c44205 100644
--- a/community/tabbed/PKGBUILD
+++ b/community/tabbed/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 75438 2012-08-23 21:00:37Z lfleischer $
+# $Id: PKGBUILD 92069 2013-05-31 08:05:10Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: totoloco <totoloco at gmx>
pkgname=tabbed
-pkgver=0.4.1
+pkgver=0.5
pkgrel=1
pkgdesc='Simple generic tabbed fronted to xembed aware applications.'
arch=('i686' 'x86_64')
@@ -13,8 +13,8 @@ depends=('libx11')
install='tabbed.install'
source=("http://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz"
'config.h')
-md5sums=('6349b763f8a4d5e42d18245169fb136c'
- '5aa6c1fdc7971b21363704391bea6e1b')
+md5sums=('cd9cfd696db745637486ec3b9bbe4b75'
+ 'cea7b04d4f67d917c68673cd0e63ae32')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/tabbed/config.h b/community/tabbed/config.h
index 402cf25d1..ca4b8d6b4 100644
--- a/community/tabbed/config.h
+++ b/community/tabbed/config.h
@@ -1,21 +1,36 @@
-static const char *font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
-static const char *normbgcolor = "#cccccc";
-static const char *normfgcolor = "#000000";
-static const char *selbgcolor = "#0066ff";
-static const char *selfgcolor = "#ffffff";
-static const char *before = "<";
-static const char *after = ">";
-static const int tabwidth = 200;
-static const Bool foreground = False;
+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
+static const char normbgcolor[] = "#222222";
+static const char normfgcolor[] = "#cccccc";
+static const char selbgcolor[] = "#555555";
+static const char selfgcolor[] = "#ffffff";
+static const char before[] = "<";
+static const char after[] = ">";
+static const int tabwidth = 200;
+static const Bool foreground = True;
+
+/*
+ * Where to place a new tab when it is opened. When npisrelative is True,
+ * then the current position is changed + newposition. If npisrelative
+ * is False, then newposition is an absolute position.
+ */
+static int newposition = 0;
+static Bool npisrelative = False;
#define MODKEY ControlMask
static Key keys[] = { \
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_Return, focusonce, { 0 } },
- { MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "surf", "-e", winid, NULL} } },
+ { MODKEY|ShiftMask, XK_Return, spawn, { 0 } },
+
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
+ { MODKEY|ShiftMask, XK_j, movetab, { .i = -1 } },
+ { MODKEY|ShiftMask, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_Tab, rotate, { .i = 0 } },
+
{ MODKEY, XK_1, move, { .i = 0 } },
{ MODKEY, XK_2, move, { .i = 1 } },
{ MODKEY, XK_3, move, { .i = 2 } },
@@ -26,5 +41,9 @@ static Key keys[] = { \
{ MODKEY, XK_8, move, { .i = 7 } },
{ MODKEY, XK_9, move, { .i = 8 } },
{ MODKEY, XK_0, move, { .i = 9 } },
+
{ MODKEY, XK_q, killclient, { 0 } },
+
+ { 0, XK_F11, fullscreen, { 0 } },
};
+