remove dev module and fix scripts

This commit is contained in:
Tristan 2024-01-05 20:11:29 +00:00
parent a93abe6f04
commit 9f0cee2627
8 changed files with 12 additions and 40 deletions

View file

@ -55,7 +55,7 @@ with lib; let
installScripts = scripts: (map scriptToPackage (filter (s: s.install) scripts));
bindScript = script:
concatStrings (
(
map
(
hotkey: "${hotkey.modifier}, ${hotkey.key}, exec, ${scriptExec {inherit script hotkey;}}"
@ -74,7 +74,7 @@ in {
home-manager.users.${user}.imports = [
{
home.packages = installScripts scripts;
wayland.windowManager.hyprland.settings.bind = map bindScript scripts;
wayland.windowManager.hyprland.settings.bind = builtins.concatMap bindScript scripts ;
}
];
};