Dwm and Polybar Cleanup (finally working fully!)

- Override dwm package attributes to reflect new name
  of "dwm-flexipatch" and version 6.5
- Build off existing buildInputs for dwm rather than overwriting
  original list of dependencies
- Add playctl and zscroll packages for polybar
- Add libpulseaudio as build dependency for polybar
This commit is contained in:
Sravan Balaji 2024-03-30 21:30:20 -04:00
parent 02b601529d
commit 79ae89cf80

View File

@ -17,19 +17,18 @@
windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs {
package = (pkgs.dwm.overrideAttrs (finalAttrs: previousAttrs: {
pname = previousAttrs.pname + "-flexipatch";
version = "6.5";
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
buildInputs = with pkgs; [
xorg.libX11.dev
xorg.libXinerama
xorg.libXft
buildInputs = previousAttrs.buildInputs ++ (with pkgs; [
xorg.libxcb
xorg.xcbutil
yajl
jsoncpp
];
};
]);
}));
};
displayManager = {
@ -44,6 +43,8 @@
arandr
autorandr
unclutter-xfixes
playerctl
zscroll
(polybar.overrideAttrs (finalAttrs: previousAttrs: {
pname = previousAttrs.pname + "-dwm-module";
version = "3.5.2";
@ -59,6 +60,7 @@
buildInputs = previousAttrs.buildInputs ++ [
jsoncpp
git
libpulseaudio
];
patches = [];