From a1faaf56ca792ff211bee12de8f690b7c5af23f6 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 2 Nov 2008 13:23:04 -0600
Subject: add knoppmyth keybindings

---
 abs/core-testing/fluxbox/PKGBUILD | 12 +++++++-----
 abs/core-testing/fluxbox/keys     | 27 +++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 5 deletions(-)
 create mode 100644 abs/core-testing/fluxbox/keys

diff --git a/abs/core-testing/fluxbox/PKGBUILD b/abs/core-testing/fluxbox/PKGBUILD
index 9d09c63..3f67c56 100644
--- a/abs/core-testing/fluxbox/PKGBUILD
+++ b/abs/core-testing/fluxbox/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 1350 2008-05-05 22:19:58Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor:  John Proctor <jproctor@prium.net>
+#add custom keys
+
 
 pkgname=fluxbox
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight and highly-configurable window manager"
 arch=('i686' 'x86_64')
 url="http://www.fluxbox.org"
@@ -13,7 +12,8 @@ depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
 makedepends=('pkgconfig')
 options=('!makeflags')
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
-        $pkgname.desktop fluxbox-1.0.0-gcc43.patch)
+        $pkgname.desktop fluxbox-1.0.0-gcc43.patch keys)
+
 md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed'\
          '9ddb3fcd5f080574a44f394282132b3c')
 sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748'
@@ -35,4 +35,6 @@ build() {
   install -D -m644 ../$pkgname.desktop \
     $startdir/pkg/etc/X11/sessions/$pkgname.desktop
   install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+  install -D -m655 $startdir/src/keys $startdir/pkg/etc/X11/fluxbox/keys
+
 }
diff --git a/abs/core-testing/fluxbox/keys b/abs/core-testing/fluxbox/keys
new file mode 100644
index 0000000..b7b59ad
--- /dev/null
+++ b/abs/core-testing/fluxbox/keys
@@ -0,0 +1,27 @@
+OnDesktop Mouse1 :HideMenus
+OnDesktop Mouse2 :WorkspaceMenu
+OnDesktop Mouse3 :RootMenu
+OnDesktop Mouse4 :NextWorkspace
+OnDesktop Mouse5 :PrevWorkspace
+
+Mod1 Tab :NextWindow
+Mod1 Shift Tab :PrevWindow
+Mod1 F1 :Workspace 1
+Mod1 F2 :Workspace 2
+Mod1 F3 :Workspace 3
+Mod1 F4 :Workspace 4
+Mod1 F5 :Workspace 5
+Mod1 F6 :Workspace 6
+Mod1 F8 :Workspace 8
+Mod1 F9 :Workspace 9
+Mod1 F10 :Workspace 10
+Mod1 F11 :Workspace 11
+Mod1 F12 :Workspace 12
+Mod1 x :ExecCommand xterm -fn *18*
+Mod1 s :ExecCommand mythtv-setup
+Mod1 m :ExecCommand mythfrontend
+Mod1 1 :ExecCommand sudo /etc/init.d/mythtv-backend start
+Mod1 2 :ExecCommand sudo /etc/init.d/mythtv-backend stop
+Mod1 3 :ExecCommand sudo /etc/init.d/mythtv-backend restart
+
+
-- 
cgit v0.12

