mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
neovim reconfiguration
and configuring st
This commit is contained in:
parent
b4ea6ab031
commit
532ae0d63e
14 changed files with 783 additions and 118 deletions
34
suckless/default.nix
Normal file
34
suckless/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
(final: super: rec {
|
||||
st = (super.st.override { patches = [
|
||||
#scrolling
|
||||
(super.fetchpatch {
|
||||
url = "https://st.suckless.org/patches/scrollback/st-scrollback-0.8.5.diff";
|
||||
sha256 = "sha256-ZZAbrWyIaYRtw+nqvXKw8eXRWf0beGNJgoupRKsr2lc=";
|
||||
})
|
||||
#scrolling with shift+scrollwheel
|
||||
(super.fetchpatch {
|
||||
url = "https://st.suckless.org/patches/scrollback/st-scrollback-mouse-20220127-2c5edf2.diff";
|
||||
sha256 = "sha256-CuNJ5FdKmAtEjwbgKeBKPJTdEfJvIdmeSAphbz0u3Uk=";
|
||||
})
|
||||
(super.fetchpatch {
|
||||
url = "https://st.suckless.org/patches/bold-is-not-bright/st-bold-is-not-bright-20190127-3be4cf1.diff";
|
||||
sha256 = "sha256-IhrTgZ8K3tcf5HqSlHm3GTacVJLOhO7QPho6SCGXTHw=";
|
||||
})
|
||||
(super.fetchpatch {
|
||||
url = "https://st.suckless.org/patches/anysize/st-anysize-20220718-baa9357.diff";
|
||||
sha256 = "sha256-yx9VSwmPACx3EN3CAdQkxeoJKJxQ6ziC9tpBcoWuWHc=";
|
||||
})
|
||||
(super.fetchpatch {
|
||||
url = "https://st.suckless.org/patches/desktopentry/st-desktopentry-0.8.5.diff";
|
||||
sha256 = "sha256-JUFRFEHeUKwtvj8OV02CqHFYTsx+pvR3s+feP9P+ezo=";
|
||||
})
|
||||
(super.fetchpatch {
|
||||
url = "https://st.suckless.org/patches/boxdraw/st-boxdraw_v2-0.8.5.diff";
|
||||
sha256 = "sha256-WN/R6dPuw1eviHOvVVBw2VBSMDtfi1LCkXyX36EJKi4=";
|
||||
})
|
||||
];
|
||||
}).overrideAttrs (oldAttrs: rec {
|
||||
configFile = super.writeText "config.h" (builtins.readFile ./st/config.h);
|
||||
postPatch = "${oldAttrs.postPatch}\ncp ${configFile} config.h\n";
|
||||
});
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue