Jason Ryan avatar Jason Ryan committed 6a940b1

Updated to 0.5

Comments (0)

Files changed (2)

Build/tabbed/PKGBUILD

 # 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')
-groups=('modified')
 url='http://tools.suckless.org/tabbed'
 license=('custom:MIT/X')
 depends=('libx11')
 install='tabbed.install'
 source=("http://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz"
         'config.h')
-md5sums=('6349b763f8a4d5e42d18245169fb136c'
-         '5aa6c1fdc7971b21363704391bea6e1b')
+md5sums=('cd9cfd696db745637486ec3b9bbe4b75'
+         '4a5c170c20f6a4a2c3b7540a80af04f1')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
   cp "${srcdir}/config.h" config.h
 
-  sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
-  sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
-  sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
-
   make
 }
 

Build/tabbed/config.h

+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+static const char font[]        = "-*-tamsyn-medium-*-*-*-12-*-*-*-*-*-iso8859-*";
+static const char normbgcolor[] = "#222222";
+static const char normfgcolor[] = "#899CA1";
+static const char selbgcolor[]  = "#222222";
+static const char selfgcolor[]  = "#666666";
+static const char before[]      = "<";
+static const char after[]       = ">";
+static const int  tabwidth      = 200;
+static const Bool foreground    = False;
+
+/*
+ * 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,             XK_Return, focusonce,      { 0 } },
+	{ MODKEY,             XK_Return, spawn,          { 0 } },
+
+	{ MODKEY,             XK_l,      rotate,         { .i = +1 } },
+	{ MODKEY,             XK_Right,  rotate,         { .i = +1 } },
+	{ MODKEY,             XK_h,      rotate,         { .i = -1 } },
+	{ MODKEY,             XK_Left,   rotate,         { .i = -1 } },
+	{ MODKEY,             XK_j,      movetab,        { .i = -1 } },
+	{ MODKEY,             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 } },
+	{ MODKEY,             XK_4,      move,           { .i = 3 } },
+	{ MODKEY,             XK_5,      move,           { .i = 4 } },
+	{ MODKEY,             XK_6,      move,           { .i = 5 } },
+	{ MODKEY,             XK_7,      move,           { .i = 6 } },
+	{ 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 } },
+};
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.