users/jan: move slugify scripts to specified project
This commit is contained in:
parent
9f18b563bf
commit
31368a70a2
2 changed files with 0 additions and 15 deletions
|
@ -63,11 +63,6 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
"scripts" = {
|
|
||||||
source = ./scripts;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"pictures/wallpapers" = {
|
"pictures/wallpapers" = {
|
||||||
source = ./wallpapers;
|
source = ./wallpapers;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
|
|
|
@ -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());
|
|
||||||
}
|
|
Loading…
Reference in a new issue