misc changes

new services, random config updates
This commit is contained in:
2021-11-30 06:31:53 +05:30
parent 21212a5cf4
commit 6130b448e0
23 changed files with 507 additions and 304 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
if [ $# != 2 ]; then
echo "Two args required"
exit 1
fi
if [ $1 == "on" ]; then
xinput --set-prop $2 'libinput Accel Profile Enabled' 0, 1
else
xinput --set-prop $2 'libinput Accel Profile Enabled' 1, 0
fi

View File

@@ -24,12 +24,6 @@ final: prev: {
patches = [./patches/st.patch];
});
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";
});
ncmpcpp = prev.ncmpcpp.override {
visualizerSupport = true;
clockSupport = true;
@@ -44,9 +38,6 @@ final: prev: {
fetchSubmodules = true;
};
});
discord = prev.discord.overrideAttrs (_ : {
src = builtins.fetchTarball { url = "https://discord.com/api/download/stable?platform=linux&format=tar.gz"; sha256="1ahj4bhdfd58jcqh54qcgafljqxl1747fqqwxhknqlasa83li75n";};
});
proxychains = prev.proxychains.overrideAttrs (_ : {
postInstall = ":";