hyprland: playerctl
This commit is contained in:
parent
2c007f4ff5
commit
79e0224846
2 changed files with 17 additions and 1 deletions
modules
14
modules/home/hyprland.nix
Normal file
14
modules/home/hyprland.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
services.playerctld.enable = true;
|
||||
systemd.user.services.playerctld = {
|
||||
Unit.PartOf = lib.mkForce [ "graphical-session.target" ];
|
||||
Install.WantedBy = lib.mkForce [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
playerctl
|
||||
];
|
||||
}
|
|
@ -74,6 +74,8 @@ in
|
|||
pipewire-controller
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [ ];
|
||||
home-manager.sharedModules = [
|
||||
./home/hyprland.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue