Skip to content

Commit

Permalink
✨ logoff script
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Oct 18, 2023
1 parent 8a3248d commit 5fd8ca3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions userland/artwork/logoff.ans
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[0;40 D 

  __________________________
\\XXXXXXXXXXXXXXXXXXXXXXXX/
 \XXXXXXXXXXXXXXXXXXXXXX/
   ___/\   ___/\_____"XXXXXXX"____ ____"_____ ___/\ xz
 ___) __/____,__) /__ __\ (__, _____) | (_____ ,____||__) __/_____
 \\_ \_| __ | __ |/ ___ | ___ \| || \/ _//
 _/ || |/ | \| | \ | | | / | ||\_
 | |||| \| | |/ | :| ||
 |_ __||____|____||____|____|| _______|__ _||
  Y |_____|_____||_____|_____|  ,|_____|____/Y |_____|
  � ����� ���������� ��xxxxxX/ ����� ����: �����
< click > \XXXX/  __ __ __ __||____
 \\X/ (__|(__)(__)(__||__)(__|(_/_
 \/   _|_|


( g o o d n i g h t , g o d b l e s s , n o w f u c k o f f t o b e d )

Expand Down
9 changes: 9 additions & 0 deletions userland/scripts/logoff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""Log-off script"""

# api
from xthulu.ssh.context import SSHContext
from xthulu.ssh.console.art import scroll_art


async def main(cx: SSHContext):
await scroll_art(cx, "userland/artwork/logoff.ans", "amiga")
1 change: 1 addition & 0 deletions userland/scripts/top.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ async def main(cx: SSHContext):
await cx.gosub("oneliners")
await cx.gosub("lock_example")
await cx.gosub("chat")
cx.goto("logoff")

0 comments on commit 5fd8ca3

Please sign in to comment.