This commit is contained in:
parent
7aaf90bc75
commit
278904eec6
56 changed files with 0 additions and 0 deletions
|
|
@ -1,35 +0,0 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.gui =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.stdenv.mkDerivation {
|
||||
pname = "displayselect";
|
||||
version = "unstable";
|
||||
|
||||
src = inputs.voidrice;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
bash
|
||||
xorg.xrandr
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
cp "$src/.local/bin/displayselect" displayselect
|
||||
'';
|
||||
|
||||
patches = [ ./scaling.patch ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp displayselect $out/bin
|
||||
chmod +x $out/bin/displayselect
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue