Permalink
Browse files

skippy-xd with vim keybindings

  • Loading branch information...
gauteh committed Nov 3, 2011
1 parent bd674fd commit 25f68c8964e6b1e5bbed381396157f6089a4a197
Showing with 630 additions and 0 deletions.
  1. +38 −0 skippy-xd/PKGBUILD
  2. +47 −0 skippy-xd/README
  3. +545 −0 skippy-xd/add-vim-keybindings.patch
View
@@ -0,0 +1,38 @@
+# Contributor: Loui Chang <louipc dot ist at gmail company>
+# Contributor: rxvt <artwithin@gmail.com>
+# Contributor: Gaute Hope <eg@gaute.vetsj.com>
+
+pkgname=skippy-xd
+pkgver=0.5.0
+pkgrel=5
+pkgdesc="A full-screen task-switcher for X11, similar to Apple's Expose."
+url="http://thegraveyard.org/skippy.php"
+license=('GPL')
+depends=('libxrender' 'libxcomposite' 'libxdamage' 'libxfixes' 'libxft' 'xorg-server')
+arch=('i686' 'x86_64')
+source=("http://thegraveyard.org/files/$pkgname-$pkgver.tar.bz2" "README" add-vim-keybindings.patch)
+
+md5sums=('0e847845c4cb8c16f79bc4538ae288ad'
+ 'ff6017def2516f0dfee12bf122100dc9'
+ 'bf9f4b863082871598ac5f7414d2c39b')
+sha256sums=('52ff7476b3580a92c385167f1855583c2cf74ae1898a6a5e8446ce67c80bc139'
+ '6f0ba086d06462855d1eae9acab35dd2ce98da18a179e58590488315156b0b8d'
+ '18f05c5e500047044d5c697f19631cc4fda925cf1151f53b5d49201532aed95d')
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 < "${srcdir}/add-vim-keybindings.patch"
+
+ [ $CARCH = 'x86_64' ] && sed -i 's|CARD32|CARD64|g' wm.*
+
+ CFLAGS="$CFLAGS -DDEBUG"
+ make X11PREFIX=/usr/lib
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+ install -D -m 0644 skippy-xd.rc-default "${pkgdir}/usr/share/${pkgname}/skippy-xd.rc-default"
+ install -m 0644 "${srcdir}/README" "${pkgdir}/usr/share/${pkgname}/README"
+}
View
@@ -0,0 +1,47 @@
+Requirements and limitations
+----------------------------
+Skippy-XD depends on:
+
+ * An X11R6 server
+ * Xft - the X Font library
+ * XRender, XComposite, XDamage and XFixes extensions
+ * A NETWM or GNOME WM Specs compliant window-manager.
+
+So far, it's been sucessfully tested using OpenBox-3.2, Fluxbox-0.9.9
+(thanks daelstorm!), XFWM4 (thanks SeeSchloss!), Metacity (thanks
+SmackleFunky!), WindowMaker (thanks SuperBFG7), IceWM (thanks Tomasz
+Torcz), PekWM (thanks Josh Chaney), Waimea (thanks Gad
+'make-up-your-mind' Kadosh) and KWin (no, BlackBox and ion aren't
+supported).
+
+Note: if you want to use skippy with WindowMaker, make sure WindowMaker
+is compiled with gnome support.
+
+Another note: If you use KDE, Skippy might have trouble grabbing the F11
+key. You can make it bind to a different key in the config file (see the
+skippyrc-default file that's in the tarball). Scroll_Lock is reported to
+work (thanks Dmitriy!).
+
+Because of the way standard X11 works, Skippy has to raise all windows
+before it can take a snapshot. If there's something that obscures the
+window (like a window in a layer above it), Skippy won't be able to make
+a snapshot correctly.
+
+Skippy-XD uses the new XDamage, XComposite and XFixes extensions (found
+in FreeDesktop.org's Xserver project) to provide you with 'live'
+versions of the windows. Exciting, isn't it?
+
+
+Usage
+-----
+Skippy's pretty easy to use. Just compile (and optionally install) it,
+and press the hotkey (the default hotkey is F11). Then choose a window
+with either the keyboard (you can use up, down, left and right to
+navigate) or the mouse (just hover over a window) and activate it by
+pressing the left mouse button or the return or spacebar key.
+
+Hold Mod1 (aka the alt key) and skippy will only show the windows of the
+currently focused window's window group (like, all of gimp's windows, or
+all of kopete's windows). If Skippy-XD is compiled with Xinerama support
+and you have several heads, hold shift while pressing the hotkey to make
+it show the windows on all heads.
Oops, something went wrong.

0 comments on commit 25f68c8

Please sign in to comment.