trying flakes and restructuring slowly

This commit is contained in:
2021-04-29 04:13:34 +05:30
parent c67dc7dd34
commit 58cfa66af5
9 changed files with 153 additions and 39 deletions

1462
overlays/colemak-dh.map Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
static int centered = 1; /* -c option; centers dmenu on screen */
static int min_width = 500; /* minimum width when centered */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"Consolas:pixelsize=15"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
/* fg bg */
[SchemeNorm] = { "#bbbbbb", "#1d2021" },
[SchemeSel] = { "#1d2021", "#ebdbb2" },
// [SchemeSelHighlight] = { "#000080", "#ebdbb2" },
// [SchemeNormHighlight] = { "#ffc978", "#1d2021" },
[SchemeOut] = { "#000000", "#00ffff" },
// Settings[SchemeOutHighlight] = { "#ffc978", "#00ffff" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";
/* Size of the window border */
static const unsigned int border_width = 4;

View File

@@ -0,0 +1,47 @@
final: prev: {
dmenu = prev.dmenu.overrideAttrs (oldAttrs: rec {
configFile = prev.writeText "config.def.h" (builtins.readFile ./dmenu/config.def.h);
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
});
ncmpcpp = prev.ncmpcpp.override {
visualizerSupport = true;
clockSupport = true;
};
dwm = prev.dwm.overrideAttrs (oldAttrs: rec {
src = prev.fetchFromGitHub {
owner = "natto1784";
repo = "dwm";
rev = "cd69bb00b0ecd941cdb5d048df029f3b762eea8c";
sha256 = "sha256-dZyF7GnVJZzzAy8DO2pqCoIj7t1vZLdfhHm1cJKXah0=";
};
});
st = prev.st.overrideAttrs (oldAttrs: rec {
src = prev.fetchFromGitHub {
owner = "natto1784";
repo = "st";
rev = "0cd1e394e6d07c5f605ae23070c40de9690bafb1";
sha256 = "sha256-EY5Amz16Drc4i0uEAYTPEHcGex0s3pzHDqfDp4Z5OGY=";
};
});
kbd = prev.kbd.overrideAttrs (oldAttrs: rec{
buildInputs = oldAttrs.buildInputs ++ [ prev.gzip ];
colemak-dh = prev.writeText "colemak-dh.map" (builtins.readFile ./colemak-dh.map);
postInstall = "${oldAttrs.postInstall}\n cp ${colemak-dh} $out/share/keymaps/i386/colemak/colemak-dh.map\n gzip $out/share/keymaps/i386/colemak/colemak-dh.map";
});
picom = prev.picom.overrideAttrs (oldAttrs: rec{
version = "Next";
src = prev.fetchFromGitHub {
owner = "yshui";
repo = "picom";
rev = "v${version}";
sha256 = "0asp2hg1jx909kl7i876mcx00vwg9w2swr9i6d786iwgs247dc9i";
fetchSubmodules = true;
};
});
}