fix: typos

This commit is contained in:
Nydragon 2024-05-27 22:16:48 +09:00
parent 50ba85401d
commit 021f3bf3a8
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
2 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@
engines = engines =
let let
nixicon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; nixicon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
iconUpdateInteval = 24 * 60 * 60 * 1000; # every day iconUpdateInterval = 24 * 60 * 60 * 1000; # every day
in in
{ {
"NixOS Packages" = { "NixOS Packages" = {
@ -34,13 +34,13 @@
{ template = "https://wiki.archlinux.org/index.php?title=Special:Search&search={searchTerms}"; } { template = "https://wiki.archlinux.org/index.php?title=Special:Search&search={searchTerms}"; }
]; ];
iconUpdateURL = "https://nixos.wiki/favicon.ico"; iconUpdateURL = "https://nixos.wiki/favicon.ico";
updateInterval = iconUpdateInteval; updateInterval = iconUpdateInterval;
definedAliases = [ "@archwiki" ]; definedAliases = [ "@archwiki" ];
}; };
"DuckDuckGo" = { "DuckDuckGo" = {
urls = [ { template = "https://duckduckgo.com/?q={searchTerms}"; } ]; urls = [ { template = "https://duckduckgo.com/?q={searchTerms}"; } ];
iconUpdateURL = "https://duckduckgo.com/favicon.ico"; iconUpdateURL = "https://duckduckgo.com/favicon.ico";
updateInterval = iconUpdateInteval; updateInterval = iconUpdateInterval;
definedAliases = [ definedAliases = [
"@duckduckgo" "@duckduckgo"
"@ddg" "@ddg"
@ -49,7 +49,7 @@
"MyNixOS" = { "MyNixOS" = {
urls = [ { template = "https://mynixos.com/search?q={searchTerms}"; } ]; urls = [ { template = "https://mynixos.com/search?q={searchTerms}"; } ];
iconUpdateURL = "https://mynixos.com/favicon.ico"; iconUpdateURL = "https://mynixos.com/favicon.ico";
updateInterval = iconUpdateInteval; updateInterval = iconUpdateInterval;
definedAliases = [ definedAliases = [
"@hm" "@hm"
"@mynixos" "@mynixos"
@ -58,7 +58,7 @@
"stackoverflow" = { "stackoverflow" = {
urls = [ { template = "https://stackoverflow.com/search?q={searchTerms}"; } ]; urls = [ { template = "https://stackoverflow.com/search?q={searchTerms}"; } ];
iconUpdateURL = "https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico"; iconUpdateURL = "https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico";
updateInterval = iconUpdateInteval; updateInterval = iconUpdateInterval;
definedAliases = [ "@stackoverflow" ]; definedAliases = [ "@stackoverflow" ];
}; };
}; };

View file

@ -21,7 +21,7 @@
set -f input "$PWD/$argv[1]" set -f input "$PWD/$argv[1]"
if not test -d $input if not test -d $input
echo "input is not a direcotry" echo "input is not a directory"
else else
exiftool -if '$CreateDate' -p '$FileName' "$input" | xargs -I {} jhead -n%Y-%m-%d-%H%M%S "$input/{}" exiftool -if '$CreateDate' -p '$FileName' "$input" | xargs -I {} jhead -n%Y-%m-%d-%H%M%S "$input/{}"
end end