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