cosmic/menu/pdmenurc

164 lines
5.8 KiB
Plaintext
Raw Normal View History

2019-01-01 19:50:10 +00:00
#!/usr/bin/pdmenu
title:Cosmic Voyage
2019-01-03 01:31:54 +00:00
# desktop The space over which the menus appear.
# title The line at the top of the screen.
# base The line at the bottom of the screen.
# menu The normal color of text in a menu.
# selbar The selection bar in the menu, when over normal text.
# shadow The shadow of a window
# menuhot The color of text in a menu that is a hotkey.
# selbarhot The color of a hotkey when the selection bar is over it.
# unselmenu The color of a menu window that is not currently active.
# possible colors
# (bg valid) (fg only)
# black gray
# red brightred
# green brightgreen
# brown yellow
# blue brightblue
# magenta brightmagenta
# cyan brightcyan
# lightgray white
2019-01-01 19:50:10 +00:00
#Set a pleasing color scheme.
2019-01-03 01:31:54 +00:00
color:desktop:white:black
color:title:white:red
color:base:lightgray:red
2020-10-05 15:01:41 +00:00
color:menu:lightgray:blue
color:selbar:lightgray:red
2019-01-03 01:31:54 +00:00
color:shadow:gray:black
2020-10-05 15:01:41 +00:00
color:menuhot:white:blue
color:selbarhot:white:red
2019-01-03 01:31:54 +00:00
color:unselmenu:lightgray:black
2019-01-01 19:50:10 +00:00
#this is a comment
menu:main:Main Menu:Cosmic Voyage Menu System v1.0
2019-01-03 02:07:24 +00:00
show:Cosmic _Tools..::cosmic
show:_Communication..::comms
2020-10-12 18:43:46 +00:00
show:_Fun & Games..::games
2019-01-03 02:07:24 +00:00
nop
2019-01-10 02:04:11 +00:00
exec:_Wiki::/usr/local/bin/wiki
exec:_FAQ::/usr/local/bin/faq
2019-01-03 01:31:54 +00:00
nop
2019-01-03 02:07:24 +00:00
exit:E_xit
menu:comms:Communication:Reach out and touch someone
2019-01-10 02:04:11 +00:00
exec:_Mail (alpine)::/usr/bin/alpine
exec:_Mail (mutt)::/usr/bin/mutt
2019-04-25 17:05:55 +00:00
exec:tilde _net news (forums)::/usr/local/bin/news
2019-02-27 02:50:50 +00:00
exec:_bbj (Bulletin Butter & Jelly!)::/usr/local/bin/bbj
2019-01-10 02:04:11 +00:00
exec:_fellowsh::clear;/usr/local/bin/fellowsh
exec:_IRC (weechat)::/usr/local/bin/chat
2023-03-28 17:49:36 +00:00
exec:i_ris (Serverless text-based forum for tilde-likes)::/usr/local/bin/iris
2019-01-10 02:19:56 +00:00
group:_Finger..
exec::makemenu: \
echo "menu:finger:Finger:Finger other cosmic users"; \
2020-09-15 21:41:39 +00:00
for u in `/usr/local/bin/voyagers | sort`; do \
2019-01-10 02:19:56 +00:00
echo "exec:$u:truncate:/usr/bin/finger ${u}@cosmic.voyage"; \
done; \
echo "nop"; \
echo "exec:_Remote User:truncate,edit:/usr/bin/finger \"~user name:~\""; \
echo "nop"; \
echo "exit:E_xit"
show:::finger
remove:::finger
endgroup
group:_Talk..
2019-01-03 02:07:24 +00:00
exec::makemenu: \
echo "menu:talk:Talk:Talk to other users"; \
2019-01-10 02:04:11 +00:00
for u in `/usr/bin/who | /usr/bin/cut -f 1 -d " "| /usr/bin/sort -u `; do \
2020-10-11 23:37:07 +00:00
echo "exec:$u::/usr/local/bin/ytalk $u"; \
2019-01-03 02:07:24 +00:00
done; \
echo "nop"; \
echo "exit:E_xit"
show:::talk
remove:::talk
endgroup
2020-10-11 23:37:07 +00:00
group:_Unison (folder sync)..
exec::makemenu: \
echo "menu:unison:Unison:Synchronize folders to other systems"; \
for f in ~/.unison/*.prf; do \
profile="$(basename $f)"; \
profile="${profile%.*}"; \
echo "exec:profile\: $profile::/usr/bin/unison $profile"; \
done; \
echo "exec:_New command:truncate,edit:/usr/bin/unison \"~[ships/] [ssh\://remote/folder]:~\""; \
2020-10-11 23:37:07 +00:00
echo "nop"; \
echo "exit:E_xit"
show:::unison
remove:::unison
endgroup
2023-01-31 21:14:19 +00:00
exec:_Project Files::/usr/local/bin/projects
2023-03-28 17:49:36 +00:00
exec:_webfinger (link your fediverse account)::/usr/local/bin/webfinger
2019-01-01 19:50:10 +00:00
nop
exit:E_xit
2020-10-12 18:43:46 +00:00
menu:games:Fun & Games:Games and fun distractions
2021-06-18 12:43:34 +00:00
exec:_Allegra::/usr/bin/rlwrap nc localhost 1822
2022-03-20 17:47:17 +00:00
exec:_Alone Among the Stars:truncate:/usr/local/bin/alone | par -w 60
2020-10-27 19:45:22 +00:00
exec:_Among Sus::/usr/bin/rlwrap nc sus.tildeverse.org 1234
2019-01-01 19:50:10 +00:00
exec:_Bastard Tetris::/usr/games/bastet
2022-02-03 11:34:21 +00:00
show:_Botany..::botany
exec:_cbonsai::/usr/local/bin/cbonsai --live
2021-10-19 11:24:49 +00:00
exec:_chess::/usr/local/bin/chs
2022-03-15 23:34:18 +00:00
exec:clidle (wordle)::/usr/games/clidle
2019-05-22 02:52:43 +00:00
group:_Crossword..
exec::makemenu: \
echo "menu:crossword:Crossword:Play Crossword Puzzles"; \
for c in `/usr/local/bin/crossword`; do \
echo "exec:$c::/usr/local/bin/crossword ${c}"; \
done; \
echo "nop"; \
echo "exit:E_xit"
show:::crossword
remove:::crossword
endgroup
2020-10-19 17:52:10 +00:00
exec:_Dungeon Crawl Stone Soup::/usr/local/bin/dcss
exec:_Fortune:truncate:/usr/games/fortune | par -w 60
exec:_Freesweep::/usr/games/freesweep
2021-10-19 11:24:49 +00:00
exec:_Go::/usr/games/gnugo
2020-10-19 17:52:10 +00:00
exec:_Gorched::/snap/bin/gorched
exec:Greed::/usr/games/greed
exec:_I Ching::/usr/games/iching
exec:_JPL Horizons::telnet horizons.jpl.nasa.gov 6775
exec:_Moon Buggy::/usr/games/moon-buggy
2021-10-19 11:24:49 +00:00
exec:Multi_Zork::/usr/bin/rlwrap nc multizork.icculus.org 23
2020-10-19 17:52:10 +00:00
exec:_Nethack::/usr/games/nethack-console
2021-11-13 19:04:56 +00:00
exec:_Random Chess Endgame Puzzle:truncate:shuf -n 1 /var/packages/fen/endgames-fen.txt | xargs fen
2020-10-19 17:52:10 +00:00
exec:_SLASHEM (Nethack clone)::/usr/games/slashem
exec:_Space Invaders::/usr/games/ninvaders
exec:_Sudoku::/usr/games/nudoku
exec:_Tron::ssh sshtron.zachlatta.com
exec:_Zangband::/usr/games/zangband
exec:2048::/usr/games/2048
2019-01-01 19:50:10 +00:00
nop
exit:_Back to main menu..
menu:cosmic:Cosmic Tools:Tools related to the cosmic voyage story
2019-01-10 02:04:11 +00:00
exec:_QEC browser::/usr/local/bin/qec
2019-02-09 20:52:53 +00:00
exec:_Recent QEC logs:truncate:/usr/local/bin/latest
exec:_Rate of QEC logs:truncate:/usr/local/bin/rate
2019-11-01 16:11:28 +00:00
exec:High _Scores:truncate:/usr/local/bin/scores | column -t -s,
2019-01-03 02:07:24 +00:00
nop
2019-01-10 03:58:22 +00:00
show:_Write a new message..::write
2019-01-10 02:04:11 +00:00
exec:_Log a new message::/usr/local/bin/log
2020-09-11 16:47:49 +00:00
exec:_Dictionary/Thesaurus..:truncate,edit:/usr/bin/sdcv -n --utf8-output "~word:~"
2019-01-03 02:07:24 +00:00
nop
2019-01-10 02:04:11 +00:00
exec:_Author and Ship Lists:truncate,edit:/usr/local/bin/roster "~user or ship name (or blank for all):~"
2019-04-02 11:51:02 +00:00
exec:_Create a new ship::/usr/local/bin/ship
2019-01-01 19:50:10 +00:00
nop
exit:_Back to main menu..
2022-02-03 11:34:21 +00:00
menu:botany:Botany Tools:Tools related to botany
exec:_Botany::/usr/local/bin/botany
exec:_List Living Plants:truncate:/usr/local/bin/wilty list
exec:_Water Random Plant:truncate:/usr/local/bin/wilty water
nop
exit:_Back to main menu..
2019-01-10 03:58:22 +00:00
# write a message menu
preproc:/usr/local/bin/menu_write