Streamline overlay overrides

st and dmenu are suckless tools where the function already accepts
patches.

The others should use overrideAttrs to extend existing patches.
This commit is contained in:
Daniel Siepmann 2022-11-10 09:23:08 +01:00
parent bc33856c74
commit e909cf1178
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
self: super: {
dmenu = super.dmenu.overrideAttrs(old: {
patches = (if old.patches == null then [] else old.patches) ++ [
dmenu = super.dmenu.override {
patches = [
./settings.patch
];
});
};
}

View file

@ -1,6 +1,6 @@
self: super: {
qogir-theme = super.qogir-theme.overrideAttrs(old: {
patches = [
patches = (old.patches or []) ++ [
# TODO: Find out how to properly render inactive menu items
# TODO: Find out how to properly render background of selected text
# TODO: Properly adjust svgs and then compile them