1 { lib, stdenv, fetchbzr, xorg }:
3 stdenv.mkDerivation rec {
8 url = "https://code.launchpad.net/~shantanu-goel/xwinwrap/devel";
10 sha256 = "1annhqc71jcgx5zvcy31c1c488ygx4q1ygrwyy2y0ww743smbchw";
19 buildPhase = if stdenv.hostPlatform.system == "x86_64-linux" then ''
21 '' else if stdenv.hostPlatform.system == "i686-linux" then ''
23 '' else throw "xwinwrap is not supported on ${stdenv.hostPlatform.system}";
27 mv */xwinwrap $out/bin
31 description = "Utility that allows you to use an animated X window as the wallpaper";
33 XWinWrap is a small utility written a loooong time ago that allowed you to
34 stick most of the apps to your desktop background. What this meant was you
35 could use an animated screensaver (like glmatrix, electric sheep, etc) or
36 even a movie, and use it as your wallpaper. But only one version of this
37 app was ever released, and it had a few problems, like:
39 - Well, sticking didn’t work. So if you did a “minimize all” or “go to
40 desktop” kind of thing, your “wallpaper” got minimized as well.
42 - The geometry option didn’t work, so you could not create, e.g., a small
43 matrix window surrounded by your original wallpaper.
45 Seeing no-one picking it up, I decided to give it a bit of polish last
46 weekend by fixing the above problems and also add a few features. And here
47 it is, in its new avatar “Shantz XWinWrap”.
49 license = licenses.hpnd;
50 homepage = "https://shantanugoel.com/2008/09/03/shantz-xwinwrap/";
52 platforms = platforms.linux;
53 mainProgram = "xwinwrap";