Hypr, add icon support

This commit is contained in:
JuliaLange 2024-04-14 02:44:42 -07:00 committed by Julia Lange
parent 90087c0606
commit a4735423b4
2 changed files with 12 additions and 1 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
**/**/plugins/*.plugin.js
hmModules/apps/hypr/icons/

View file

@ -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;
};
}