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
|
# 1. Map the individual scripts with executable = true
|
||||||
(
|
(
|
||||||
lib.genAttrs
|
lib.genAttrs
|
||||||
(map (name: ".config/hypr/scripts/${name}") scripts)
|
(map (name: ".config/hypr/hyprland/scripts/${name}") scripts)
|
||||||
(path: {
|
(path: {
|
||||||
source = "${scriptDir}/${builtins.baseNameOf path}";
|
source = "${scriptDir}/${builtins.baseNameOf path}";
|
||||||
executable = true;
|
executable = true;
|
||||||
@@ -56,7 +56,7 @@ in {
|
|||||||
)
|
)
|
||||||
# 2. Add the 'ai' directory separately (cannot use executable=true on dirs)
|
# 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 {
|
config = lib.mkIf cfg.settings.hyprland.useNixForConf {
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/hypr/scripts" = {
|
".config/hypr/hyprland/scripts" = {
|
||||||
source = builtins.path {
|
source = builtins.path {
|
||||||
path = ../../.config/hypr/hyprland/scripts;
|
path = ../../.config/hypr/hyprland/scripts;
|
||||||
executable = true;
|
executable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user