Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
27de1c27ef | |||
a7f8358fc7 |
@ -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
|
||||
```
|
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user