From 0484e94de549e7adc6c07ec7cdcc5423016d2dd5 Mon Sep 17 00:00:00 2001 From: xunuwu Date: Thu, 18 Sep 2025 12:58:32 +0200 Subject: [PATCH] add script for adding search engines on windows --- Justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Justfile b/Justfile index a736301..d403209 100644 --- a/Justfile +++ b/Justfile @@ -16,3 +16,9 @@ remote OPERATION HOST REMOTEHOST *FLAGS: --sudo \ {{FLAGS}} \ {{OPERATION}} + +windows-searchengines: + #!/usr/bin/env bash + windows_username="$(cmd.exe /c echo %username% 2>/dev/null | dos2unix)" + nix build .\#nixosConfigurations.nixdesk.config.home-manager.users.xun.programs.firefox.profiles.xun.search.file + cp result "/mnt/c/Users/$windows_username/AppData/Roaming/Mozilla/Firefox/Profiles/ey682mc4.default-release/search.json.mozlz4"