From 9f8362d18bc353801346bfe02384136666edbab5 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 16 Aug 2023 08:44:20 +0100 Subject: [PATCH] Start mako with hyprland Bind laptop lid to reload hyprland config --- Makefile | 3 +++ home/hyprland/default.nix | 1 + hosts/Ronin/home.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 555654c4..45906cd4 100644 --- a/Makefile +++ b/Makefile @@ -10,3 +10,6 @@ switch: test: sudo nixos-rebuild test --flake . + +home: + nix run nixpkgs#home-manager switch --flake . diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 6aca5929..e2793c4f 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -297,6 +297,7 @@ in { exec-once = ${pkgs.libsForQt5.polkit-kde-agent}/bin/polkit-kde-authentication-agent-1 exec-once = ${pkgs.waybar}/bin/waybar exec-once = ${pkgs.swww}/bin/swww init && ${pkgs.swww}/bin/swww img ${wallpapers.outputs.default} + exec-once = ${pkgs.mako}/bin/mako ''; }; xdg.configFile."hypr/macchiato.conf".text = '' diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index a8ae30aa..777585fd 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -195,5 +195,7 @@ in { monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x185,1 monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,3200x0,1,transform,1 monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1 + + bindl=,switch:Lid Switch,exec,hyprctl reload ''; }