hyprlauncher: add module

This commit is contained in:
Aguirre Matteo 2025-12-04 22:49:50 -03:00 committed by Austin Horstman
parent ccd22c13b2
commit 2e02e22e28
4 changed files with 127 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
hyprlauncher-settings = ./settings.nix;
}

View file

@ -0,0 +1,16 @@
cache {
enabled=true
}
finders {
desktop_icons=true
math_prefix==
}
general {
grab_focus=true
}
ui {
window_size=400 260
}

View file

@ -0,0 +1,20 @@
{
services.hyprlauncher = {
enable = true;
settings = {
general.grab_focus = true;
cache.enabled = true;
ui.window_size = "400 260";
finders = {
math_prefix = "=";
desktop_icons = true;
};
};
};
nmt.script = ''
assertFileExists home-files/.config/hypr/hyprlauncher.conf
assertFileContent home-files/.config/hypr/hyprlauncher.conf \
${./hyprlauncher.conf}
'';
}