refactor(hyprland): wrap waybar to add hyprctl
This commit is contained in:
parent
888b3246a7
commit
254af322b5
2 changed files with 10 additions and 9 deletions
|
|
@ -58,7 +58,16 @@ in
|
|||
enable = true;
|
||||
|
||||
# use package with hyprland support for switching workspaces
|
||||
package = pkgs.waybar-hyprland;
|
||||
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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue