Revert "mood script"

This reverts commit f8f29e8457.
This commit is contained in:
Sridhar Ratnakumar 2023-10-07 11:58:55 -04:00
parent 8577e94548
commit f7262cffcd
3 changed files with 0 additions and 14 deletions

View file

@ -20,7 +20,6 @@
# Dev
gh
fuckport
mood
];
home.shellAliases = rec {

View file

@ -1,12 +0,0 @@
{ writeShellApplication, sqlite, ... }:
writeShellApplication {
name = "mood";
runtimeInputs = [ sqlite ];
text = ''
echo "Inserting mood: $1"
sqlite3 ~/.dioxus-desktop-template.db "INSERT INTO mood VALUES (CURRENT_TIMESTAMP, $1);"
echo "Displaying recent entries:"
sqlite3 ~/.dioxus-desktop-template.db "SELECT * FROM mood ORDER BY datetime DESC LIMIT 10;"
'';
}

View file

@ -1,4 +1,3 @@
self: super: {
fuckport = self.callPackage ./fuckport.nix { };
mood = self.callPackage ./mood.nix { };
}