pinwheel: Use hyprland enable option

This commit is contained in:
Alexander Heldt
2023-10-16 23:24:07 +02:00
parent a5ec186a59
commit 6af142e20b
8 changed files with 38 additions and 17 deletions

View File

@@ -1,4 +1,7 @@
{ pkgs, ... }:
{ pkgs, lib, config, ... }:
let
hyprlandEnabled = config.mod.hyprland.enable;
in
{
home-manager.users.alex = {
home.packages = with pkgs; [
@@ -6,7 +9,7 @@
playerctl
];
wayland.windowManager.hyprland = {
wayland.windowManager.hyprland = lib.mkIf hyprlandEnabled {
settings = {
bind = [
"$mod ALT, LEFT, exec, ${pkgs.playerctl}/bin/playerctl -p spotify previous"