sway: remove gtk window decoration
This commit is contained in:
parent
1beedef599
commit
313a8e168a
5 changed files with 68 additions and 3 deletions
|
@ -6,4 +6,5 @@
|
|||
cargo-checkmate = pkgs.callPackage ./cargo-checkmate.nix { };
|
||||
lipsum = pkgs.callPackage ./lipsum.nix { inherit inputs; };
|
||||
amdgpu-kernel-module = pkgs.callPackage ./amdgpu-kernel-module.nix { };
|
||||
gtk3-nocsd = pkgs.callPackage ./gtk3-nocsd.nix { };
|
||||
}
|
||||
|
|
40
pkgs/gtk3-nocsd.nix
Normal file
40
pkgs/gtk3-nocsd.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkgconfig
|
||||
, gtk3
|
||||
, gobject-introspection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtk3-nocsd";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ZaWertun";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "035rrn9jq9bdfkmmj6xl4q8paqx7xf3hxsw6gslgk86sh7x56lvi";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"prefix=${placeholder "out"}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A hack to disable gtk+ 3 client side decoration";
|
||||
homepage = https://github.com/PCMan/gtk3-nocsd;
|
||||
license = licenses.lgpl21Plus;
|
||||
# maintainers = with maintainers; [ peanutbutter144 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue