From 02a77a8b67f7c8c100eb3393f05f10c491115877 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:19:42 +0400 Subject: [PATCH] we do a thing --- modules/desktop/hyprland/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 5c62935e..46ca536c 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -1,4 +1,4 @@ -{ outputs, options, config, lib, pkgs, ...}: +{ inputs, outputs, options, config, lib, pkgs, ...}: let cfg = config.modules.desktop.hyprland; in @@ -66,10 +66,13 @@ in lxappearance catppuccin-cursors.mochaDark # screenshot - grim - flameshot + sway-contrib.grimshot # todo figure this out gamescope + # clipboard + wl-clipboard + # playerctl + playerctl ]; environment.systemPackages = with pkgs; [ # bg @@ -114,6 +117,12 @@ in enable = true; source = ../../../config/background.png; }; + # this automatically sets the types + # thanks PartyWumpus + # https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492 + "${inputs.self.location}/config/ags/types" = { + source = "${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types"; + }; }; xdg.configFile = { hypr = {