users/jan: move slugify scripts to specified project

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-17 23:25:05 +03:00
parent 9f18b563bf
commit 31368a70a2
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 0 additions and 15 deletions

View file

@ -63,11 +63,6 @@
'';
home.file = {
"scripts" = {
source = ./scripts;
recursive = true;
};
"pictures/wallpapers" = {
source = ./wallpapers;
recursive = true;

View file

@ -1,10 +0,0 @@
#!/usr/bin/env nix-shell
/*
#!nix-shell -i "deno run" -p deno
*/
import { slugify } from "https://deno.land/x/slugify/mod.ts";
for (const sourceFileName of Deno.args) {
console.log(slugify(sourceFileName).replace(/_+/g, "-").toLowerCase());
}