add script for adding search engines on windows
This commit is contained in:
parent
287fe1e479
commit
0484e94de5
1 changed files with 6 additions and 0 deletions
6
Justfile
6
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue