forked from natto1784/dotfiles
misc changes
new services, random config updates
This commit is contained in:
11
overlays/customscripts/src/osusens
Normal file
11
overlays/customscripts/src/osusens
Normal 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
|
||||
@@ -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 = ":";
|
||||
|
||||
Reference in New Issue
Block a user