Compare commits

...

2 Commits
0.1 ... main

Author SHA1 Message Date
27de1c27ef Update flake.nix 2025-02-12 15:06:17 -05:00
a7f8358fc7 Update README.md 2025-02-12 14:00:37 -05:00
2 changed files with 8 additions and 2 deletions

View File

@ -1,2 +1,8 @@
# CLI-typewriter-app
## Build
```
git clone https://git.ascosilinux.com/batvin321/CLI-typewriter-app.git
cd CLI-typewriter-app/
nix bundle --bundler github:ralismark/nix-appimage .#writer-menu
```

View File

@ -17,7 +17,7 @@
${pkgs.dialog}/bin/dialog --msgbox "Welcome to the Writer App Main Menu" 0 0
APP=$(${pkgs.dialog}/bin/dialog --title "please select a option:" --menu "Apps:" 0 0 0 \
1 "Word Processor" \
2 "Spread Sheet" \
2 "Dictionary lookup" \
3 "Connect to network" \
4 "Share Files" \
5 "Terminal" \
@ -25,7 +25,7 @@
case $APP in
1) ${pkgs.wordgrinder}/bin/wordgrinder ;;
2) SC=$(${pkgs.dialog}/bin/dialog --inputbox "enter path for spread sheet" 0 0 3>&1 1>&2 2>&3 3>&-) && ${pkgs.sc}/bin/sc $SC ;;
2) WN=$(${pkgs.dialog}/bin/dialog --inputbox "enter dictionary search" 0 0 3>&1 1>&2 2>&3 3>&-) && ${pkgs.wordnet}/bin/wn $WN -over | ${pkgs.less}/bin/less ;;
3) ${pkgs.networkmanager}/bin/nmtui ;;
4) ${pkgs.dialog}/bin/dialog --msgbox "open with a IP address: $IP with port: 8080, press enter to launch" 0 0 && ${pkgs.toybox}/bin/clear && echo "To Exit: Ctrl+C" && ${pkgs.filebrowser}/bin/filebrowser -a 0.0.0.0 --noauth ;;
5) ${pkgs.toybox}/bin/clear ; exit ;;