add custom fork of dmenu
This commit is contained in:
parent
27ce103377
commit
c420cb230d
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[submodule "builds/dwm"]
|
||||
path = builds/dwm
|
||||
url = https://git.beepboop.systems/stupidcomputer/dwm
|
||||
[submodule "builds/dmenu"]
|
||||
path = builds/dmenu
|
||||
url = https://git.suckless.org/dmenu
|
||||
|
@ -1 +1 @@
|
||||
sudo nixos-rebuild --flake . switch --impure -I nixos-config=./
|
||||
sudo nixos-rebuild --flake .?submodules=1 switch --impure -I nixos-config=./
|
||||
|
1
builds/dmenu
Submodule
1
builds/dmenu
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 07d57cf2f5c76f50debc76cf50267b2e61a885f8
|
21
builds/dmenu.nix
Normal file
21
builds/dmenu.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ lib, stdenv, fetchurl, libX11, libXinerama, libXft, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dmenu";
|
||||
version = "5.2";
|
||||
|
||||
src = ./dmenu;
|
||||
|
||||
buildInputs = [ libX11 libXinerama zlib libXft ];
|
||||
|
||||
postPatch = ''
|
||||
sed -ri -e 's!\<(dmenu|dmenu_path|stest)\>!'"$out/bin"'/&!g' dmenu_run
|
||||
sed -ri -e 's!\<stest\>!'"$out/bin"'/&!g' dmenu_path
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk
|
||||
'';
|
||||
|
||||
makeFlags = [ "CC:=$(CC)" ];
|
||||
}
|
@ -23,11 +23,11 @@
|
||||
brave
|
||||
qutebrowser
|
||||
(callPackage ../builds/st.nix { aristotle = true; })
|
||||
(callPackage ../builds/dmenu.nix {})
|
||||
(callPackage ../builds/utils.nix {})
|
||||
(callPackage ../builds/rebuild.nix {})
|
||||
(callPackage ../builds/dwm.nix {})
|
||||
(callPackage ../builds/sssg.nix {})
|
||||
dmenu
|
||||
pinentry-qt
|
||||
|
||||
# tui/cli programs
|
||||
|
@ -83,6 +83,7 @@
|
||||
|
||||
# custom builds
|
||||
(pkgs.callPackage ../builds/st.nix { lightMode = false; })
|
||||
(pkgs.callPackage ../builds/dmenu.nix {})
|
||||
(pkgs.callPackage ../builds/utils.nix {})
|
||||
(pkgs.callPackage ../builds/statusbar {})
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user