Compare commits

..

3 Commits

4 changed files with 46 additions and 6 deletions

View File

@ -49,3 +49,5 @@ termux-dots:
ln -sf ~/.config/bash/profile ~/.bash_profile
mkdir -p ~/.local/share
cp $(CURDIR)/../../../home/wallpapers/pape.jpg ~/.local/share
mkdir -p ~/.shortcuts
cp $(CURDIR)/shortcuts/* ~/.shortcuts

View File

@ -0,0 +1,19 @@
#!/bin/sh
today=$(date "+%m/%d/%Y")
printf "Inputting height and weight information for today\n\n"
printf "Height?\n"
read -p "?>" height
printf "Weight?\n"
read -p "?>" weight
cd ~/pdbs
printf "\n%s %i" "$today" "$weight" >> weight.timeseries
printf "\n%s %i" "$today" "$height" >> height.timeseries
git add weight.timeseries height.timeseries
git commit -m "added height, weight data for $today"

View File

@ -0,0 +1,19 @@
#!/bin/sh
today=$(date "+%m/%d/%Y")
ledgerdate=$(date "+%Y/%m/%d")
printf "Inputting an expense for today\n\n"
printf "Payee name?\n"
read -p "?>" payee
printf "Amount?\n"
read -p "?>" amount
cd ~/pdbs
printf '%s * %s\n\tExpenses:%s $%s\n\tAssets:Greencard 4154\n\n' "$ledgerdate" "$payee" "$payee" "$amount" >> phone.ledger
git add phone.ledger
git commit -m "added an expense for $today"

12
flake.lock generated
View File

@ -41,11 +41,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1728307881,
"narHash": "sha256-stJXHgN3twyjLnQQQECa1LgdTyz6JuUHgEf8pjHz/rQ=",
"lastModified": 1729051404,
"narHash": "sha256-FXWAhZbxQ/twHdgKUMGto28qBuxWLju5HIFH44ERzq8=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "60121cd3a79a4490206e172cbf00160dbc22f503",
"rev": "7122959edcf173a13b728291176b1c9799fd1b55",
"type": "gitlab"
},
"original": {
@ -199,11 +199,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1728193676,
"narHash": "sha256-PbDWAIjKJdlVg+qQRhzdSor04bAPApDqIv2DofTyynk=",
"lastModified": 1728909085,
"narHash": "sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
"rev": "c0b1da36f7c34a7146501f684e9ebdf15d2bebf8",
"type": "github"
},
"original": {