mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
rest of misc stuff
This commit is contained in:
parent
bb2057f5d5
commit
07b4757bde
22 changed files with 120 additions and 381 deletions
|
|
@ -1,34 +1,9 @@
|
|||
(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";
|
||||
});
|
||||
st = (super.st.override { extraLibs = with super; [ xorg.libXcursor harfbuzz ];
|
||||
}).overrideAttrs (oldAttrs: rec {
|
||||
src = ./st;
|
||||
});
|
||||
dwm = (super.dwm.override {}).overrideAttrs (oldAttrs: rec {
|
||||
src = ./dwm;
|
||||
});
|
||||
})
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ static const int startontag = 0; /* 0 means no tag active on star
|
|||
static const double activeopacity = 1.0f; /* Window opacity when it's focused (0 <= opacity <= 1) */
|
||||
static const double inactiveopacity = 0.875f; /* Window opacity when it's inactive (0 <= opacity <= 1) */
|
||||
static Bool bUseOpacity = True; /* Starts with opacity on any unfocused windows */
|
||||
static const int user_bh = 0; /* 0 means that dwm will calculate bar height, >= 1 means dwm willcalculate bar height, >= 1 means dwm will user_bh as bar height */
|
||||
static const int barwidth = 250;
|
||||
static const int user_bh = 20; /* 0 means that dwm will calculate bar height, >= 1 means dwm willcalculate bar height, >= 1 means dwm will user_bh as bar height */
|
||||
static const int barwidth = 225;
|
||||
static const int focusonwheel = 0;
|
||||
static const int vertpad = 10; /* vertical padding of bar */
|
||||
static const int sidepad = 10; /* horizontal padding of bar */
|
||||
static const char *fonts[] = { "monospace:size=15" };
|
||||
static const char *fonts[] = { "monospace:size=12" };
|
||||
static const char dmenufont[] = "monospace:size=12";
|
||||
static const char col_gray1[] = "#000000";
|
||||
static const char col_gray2[] = "#79dac8";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue