From edb1be44319dab1bf96c078c3221ee0c8f90f70f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 13 May 2024 07:13:27 +0100 Subject: [PATCH] Add more structure to scripts directory --- scripts/default.nix | 6 +++--- scripts/{ => lua}/sync-all.lua | 0 scripts/{ => python}/sync-all.py | 0 scripts/{ => shell}/git-sync-all.sh | 0 scripts/{ => shell}/rsync-local-config.sh | 0 scripts/{ => shell}/xdg-query-program.sh | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename scripts/{ => lua}/sync-all.lua (100%) rename scripts/{ => python}/sync-all.py (100%) rename scripts/{ => shell}/git-sync-all.sh (100%) rename scripts/{ => shell}/rsync-local-config.sh (100%) rename scripts/{ => shell}/xdg-query-program.sh (100%) diff --git a/scripts/default.nix b/scripts/default.nix index 20aedf5..2a53469 100644 --- a/scripts/default.nix +++ b/scripts/default.nix @@ -1,10 +1,10 @@ {pkgs, ...}: { home.packages = [ (pkgs.writeShellScriptBin "git-sync-all" - (builtins.readFile ./git-sync-all.sh)) + (builtins.readFile ./shell/git-sync-all.sh)) (pkgs.writeShellScriptBin "rsync-local-config" - (builtins.readFile ./rsync-local-config.sh)) + (builtins.readFile ./shell/rsync-local-config.sh)) (pkgs.writeShellScriptBin "xdg-query-program" - (builtins.readFile ./xdg-query-program.sh)) + (builtins.readFile ./shell/xdg-query-program.sh)) ]; } diff --git a/scripts/sync-all.lua b/scripts/lua/sync-all.lua similarity index 100% rename from scripts/sync-all.lua rename to scripts/lua/sync-all.lua diff --git a/scripts/sync-all.py b/scripts/python/sync-all.py similarity index 100% rename from scripts/sync-all.py rename to scripts/python/sync-all.py diff --git a/scripts/git-sync-all.sh b/scripts/shell/git-sync-all.sh similarity index 100% rename from scripts/git-sync-all.sh rename to scripts/shell/git-sync-all.sh diff --git a/scripts/rsync-local-config.sh b/scripts/shell/rsync-local-config.sh similarity index 100% rename from scripts/rsync-local-config.sh rename to scripts/shell/rsync-local-config.sh diff --git a/scripts/xdg-query-program.sh b/scripts/shell/xdg-query-program.sh similarity index 100% rename from scripts/xdg-query-program.sh rename to scripts/shell/xdg-query-program.sh