This website requires JavaScript.
Explore
Help
Sign In
danielsiepmann
/
nixpkgs
Watch
1
Star
0
Code
Releases
Activity
c8df55880c
nixpkgs
/
overlays
/
dmenu
/
default.nix
8 lines
101 B
Nix
Raw
Normal View
History
Unescape
Escape
Add overlay for dmenu Configure my own color scheme.
2022-01-31 12:02:07 +01:00
self
:
super
:
{
Do not make overlay unnecessary complex It actually is not necessary to use overrideAttrs as dmenu and st both expose "patches" attribute which can easily be overridden. Maybe it was necessary back then, as dmenu already had a patch as fallback: https://github.com/NixOS/nixpkgs/blob/4b610d814e09857c974ac2f65374a5baba0902ff/pkgs/applications/misc/dmenu/default.nix#L1 See: https://mamot.fr/@Thib/107716798899455762
2022-01-31 12:27:07 +01:00
dmenu
=
super
.
dmenu
.
override
{
Add overlay for dmenu Configure my own color scheme.
2022-01-31 12:02:07 +01:00
patches
=
[
./settings.patch
]
;
Do not make overlay unnecessary complex It actually is not necessary to use overrideAttrs as dmenu and st both expose "patches" attribute which can easily be overridden. Maybe it was necessary back then, as dmenu already had a patch as fallback: https://github.com/NixOS/nixpkgs/blob/4b610d814e09857c974ac2f65374a5baba0902ff/pkgs/applications/misc/dmenu/default.nix#L1 See: https://mamot.fr/@Thib/107716798899455762
2022-01-31 12:27:07 +01:00
}
;
Add overlay for dmenu Configure my own color scheme.
2022-01-31 12:02:07 +01:00
}
Copy permalink