diff options
author | Peter Simons <simons@cryp.to> | 2012-11-17 12:57:25 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-11-17 12:57:25 +0100 |
commit | f9ec7d36ce6feb58116a66be39d85722bba1713e (patch) | |
tree | e1e902731c42810b17ad37696f43450d1fd70bff /pkgs/applications/misc/wmname | |
parent | 07cf52ea9db23ead7d5bb25d2e12fc148747e895 (diff) |
wmname: add version 0.1
Run "wmname LG3D" to fix Java GUIs running in the ratpoison window manager. This probably applies to other tiling window managers, too.
Diffstat (limited to 'pkgs/applications/misc/wmname')
-rw-r--r-- | pkgs/applications/misc/wmname/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wmname/default.nix b/pkgs/applications/misc/wmname/default.nix new file mode 100644 index 0000000000000..417d4a5ae6835 --- /dev/null +++ b/pkgs/applications/misc/wmname/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, libX11 }: + +stdenv.mkDerivation rec { + name = "wmname-0.1"; + + src = fetchurl { + url = "http://dl.suckless.org/tools/${name}.tar.gz"; + sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5"; + }; + + buildInputs = [ libX11 ]; + + preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ]; + + meta = { + description = "Prints or set the window manager name property of the root window"; + homepage = "http://tools.suckless.org/wmname"; + license = "MIT"; + }; +} |