yeahwm: init at 0.3.5

yeahwm is a small window manager for X11, inspired by evilwm
gstqt5
AndersonTorres 2020-05-12 18:13:51 -03:00
parent 58a93ee62d
commit 6aeaa1019c
4 changed files with 86 additions and 0 deletions

View File

@ -36,6 +36,7 @@ in
./windowmaker.nix
./wmii.nix
./xmonad.nix
./yeahwm.nix
./qtile.nix
./none.nix ];

View File

@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.xserver.windowManager.yeahwm;
in
{
###### interface
options = {
services.xserver.windowManager.yeahwm.enable = mkEnableOption "yeahwm";
};
###### implementation
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
name = "yeahwm";
start = ''
${pkgs.yeahwm}/bin/yeahwm &
waitPID=$!
'';
};
environment.systemPackages = [ pkgs.yeahwm ];
};
}

View File

@ -0,0 +1,58 @@
{ stdenv, fetchurl
, lesstif
, libX11, libXext, libXmu, libXinerama }:
stdenv.mkDerivation rec {
pname = "yeahwm";
version = "0.3.5";
src = fetchurl {
url = "http://phrat.de/${pname}_${version}.tar.gz";
sha256 = "01gfzjvb40n16m2ja4238nk08k4l203y6a61cydqvf68924fjb69";
};
buildInputs = [ lesstif libX11 libXext libXinerama libXmu ];
dontConfigure = true;
preBuild = ''
makeFlagsArray+=( CC="${stdenv.cc}/bin/cc" \
XROOT="${libX11}" \
INCLUDES="-I${libX11.dev}/include -I${libXext.dev}/include -I${libXinerama.dev}/include -I${libXmu.dev}/include" \
LDPATH="-L${libX11}/lib -L${libXext}/lib -L${libXinerama}/lib -L${libXmu}/lib" \
prefix="${placeholder "out"}" )
'';
postInstall = ''
gzip -9 --stdout yeahwm.1 > yeahwm.1.gz
install -m644 yeahwm.1.gz ${placeholder "out"}/share/man/man1/
'';
meta = with stdenv.lib;{
description = "An X window manager based on evilwm and aewm";
longDescription = ''
YeahWM is a h* window manager for X based on evilwm and aewm.
Features
- Sloppy Focus.
- BeOS-like tabbed titles, which can be repositioned.
- Support for Xinerama.
- Simple Appearance.
- Good keyboard control.
- Creative usage of the mouse.
- Respects aspect size hints.
- Solid resize and move operations.
- Virtual Desktops.
- "Magic" Screen edges for desktop switching.
- Snapping to other windows and screen borders when moving windows.
- Small binary size(ca. 23kb).
- Little resource usage.
- It's slick.
'';
homepage = "http://phrat.de/index.html";
license = licenses.isc;
maintainers = [ maintainers.AndersonTorres ];
platforms = libX11.meta.platforms;
};
}

View File

@ -22536,6 +22536,8 @@ in
vwm = callPackage ../applications/window-managers/vwm { };
yeahwm = callPackage ../applications/window-managers/yeahwm { };
vym = qt5.callPackage ../applications/misc/vym { };
waon = callPackage ../applications/audio/waon { };