forked from Shinonome/dots-hyprland
fixed the directory
This commit is contained in:
@@ -48,7 +48,7 @@ in {
|
||||
# 1. Map the individual scripts with executable = true
|
||||
(
|
||||
lib.genAttrs
|
||||
(map (name: ".config/hypr/scripts/${name}") scripts)
|
||||
(map (name: ".config/hypr/hyprland/scripts/${name}") scripts)
|
||||
(path: {
|
||||
source = "${scriptDir}/${builtins.baseNameOf path}";
|
||||
executable = true;
|
||||
@@ -56,7 +56,7 @@ in {
|
||||
)
|
||||
# 2. Add the 'ai' directory separately (cannot use executable=true on dirs)
|
||||
// {
|
||||
".config/hypr/scripts/ai".source = "${scriptDir}/ai";
|
||||
".config/hypr/hyprland/scripts/ai".source = "${scriptDir}/ai";
|
||||
}
|
||||
))
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.settings.hyprland.useNixForConf {
|
||||
home.file = {
|
||||
".config/hypr/scripts" = {
|
||||
".config/hypr/hyprland/scripts" = {
|
||||
source = builtins.path {
|
||||
path = ../../.config/hypr/hyprland/scripts;
|
||||
executable = true;
|
||||
|
||||
Reference in New Issue
Block a user