build: update inputs
This commit is contained in:
parent
fc91521270
commit
67dd3bd65d
3 changed files with 63 additions and 90 deletions
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue