build: update inputs

This commit is contained in:
Moritz Böhme 2023-08-26 11:47:07 +02:00
parent fc91521270
commit 67dd3bd65d
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
3 changed files with 63 additions and 90 deletions

View file

@ -61,18 +61,6 @@ in
home-manager.users.moritz.programs.waybar = {
enable = true;
# use package with hyprland support for switching workspaces
package = pkgs.symlinkJoin {
name = "waybar-hyprland";
paths = [ pkgs.waybar-hyprland ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/waybar \
--prefix PATH ":" "${hyprland}/bin"
'';
};
# start using systemd service
systemd = {
enable = true;
@ -84,14 +72,9 @@ in
layer = "top";
position = "top";
height = 20;
modules-left = [ "wlr/workspaces" ];
modules-left = [ "hyprland/workspaces" ];
modules-center = [ "hyprland/window" ];
modules-right = [ "network" "memory" "cpu" "battery" "clock" ];
modules = {
"wlr/workspaces" = {
on-click = "activate";
};
};
modules-right = [ "hyprland/language" "network" "memory" "cpu" "battery" "clock" ];
};
};
};