From a4735423b4c46a6ef5cf1bbe54ab4435370bac89 Mon Sep 17 00:00:00 2001 From: JuliaLange Date: Sun, 14 Apr 2024 02:44:42 -0700 Subject: [PATCH] Hypr, add icon support --- .gitignore | 2 +- programs/hypr/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7c22503..fe40c22 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -**/**/plugins/*.plugin.js +hmModules/apps/hypr/icons/ diff --git a/programs/hypr/default.nix b/programs/hypr/default.nix index 645ef5c..f390790 100644 --- a/programs/hypr/default.nix +++ b/programs/hypr/default.nix @@ -10,6 +10,9 @@ let rootPath = ./.; in ${builtins.readFile ./keybinds.conf} ${builtins.readFile ./xwaylandvideobridge.conf} exec-once=${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1 + + env = HYPRCURSOR_THEME,miku + env = HYPRCURSOR_SIZE,64 ''; # wayland.windowManager.hyprland.enableNvidiaPatches = true; home.packages = with pkgs; [ @@ -19,14 +22,22 @@ let rootPath = ./.; in wl-clipboard # Clipboard manager for wayland xdg-desktop-portal-hyprland # XDP for hyprland hyprpicker # Colorpicker, needed for screenshot tool + hyprcursor # Hyprland cursor inputs.hyprland-contrib.packages.${pkgs.system}.grimblast # Screenshot tool xwaylandvideobridge # Allows screensharing with xwayland apps polkit-kde-agent # Polkit handler ]; + # Hyprland screenshot tool xdg.configFile."hypr-scripts" = { source = rootPath + "/scripts"; target = "hypr/scripts"; executable = true; }; + + xdg.dataFile."hypr-icons" = { + source = rootPath + "/icons"; + target = "icons/"; + recursive = true; + }; }