mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main
commit
fb1cd34eef
|
|
@ -37,6 +37,54 @@ from pgp import hasLocalPGPkey
|
||||||
from pgp import pgpEncryptToActor
|
from pgp import pgpEncryptToActor
|
||||||
|
|
||||||
|
|
||||||
|
def _desktopHelp() -> None:
|
||||||
|
"""Shows help
|
||||||
|
"""
|
||||||
|
indent = ' '
|
||||||
|
print('')
|
||||||
|
print(indent + 'Commands:')
|
||||||
|
print('')
|
||||||
|
print(indent + 'quit ' +
|
||||||
|
'Exit from the notification client')
|
||||||
|
print(indent + 'show dm|sent|inbox|replies ' +
|
||||||
|
'Show a timeline')
|
||||||
|
print(indent + 'mute ' +
|
||||||
|
'Turn off the screen reader')
|
||||||
|
print(indent + 'speak ' +
|
||||||
|
'Turn on the screen reader')
|
||||||
|
print(indent + 'sounds on ' +
|
||||||
|
'Turn on notification sounds')
|
||||||
|
print(indent + 'sounds off ' +
|
||||||
|
'Turn off notification sounds')
|
||||||
|
print(indent + 'rp ' +
|
||||||
|
'Repeat the last post')
|
||||||
|
print(indent + 'like ' +
|
||||||
|
'Like the last post')
|
||||||
|
print(indent + 'unlike ' +
|
||||||
|
'Unlike the last post')
|
||||||
|
print(indent + 'reply ' +
|
||||||
|
'Reply to the last post')
|
||||||
|
print(indent + 'post ' +
|
||||||
|
'Create a new post')
|
||||||
|
print(indent + 'post to [handle] ' +
|
||||||
|
'Create a new direct message')
|
||||||
|
print(indent + 'announce/boost ' +
|
||||||
|
'Boost the last post')
|
||||||
|
print(indent + 'follow [handle] ' +
|
||||||
|
'Make a follow request')
|
||||||
|
print(indent + 'unfollow [handle] ' +
|
||||||
|
'Stop following the give handle')
|
||||||
|
print(indent + 'next ' +
|
||||||
|
'Next page in the timeline')
|
||||||
|
print(indent + 'prev ' +
|
||||||
|
'Previous page in the timeline')
|
||||||
|
print(indent + 'read [post number] ' +
|
||||||
|
'Read a post from a timeline')
|
||||||
|
print(indent + 'open [post number] ' +
|
||||||
|
'Open web links within a timeline post')
|
||||||
|
print('')
|
||||||
|
|
||||||
|
|
||||||
def _clearScreen() -> None:
|
def _clearScreen() -> None:
|
||||||
"""Clears the screen
|
"""Clears the screen
|
||||||
"""
|
"""
|
||||||
|
|
@ -1336,3 +1384,5 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
_sayCommand(sayStr, sayStr, originalScreenReader,
|
_sayCommand(sayStr, sayStr, originalScreenReader,
|
||||||
systemLanguage, espeak)
|
systemLanguage, espeak)
|
||||||
print('')
|
print('')
|
||||||
|
elif keyPress.startswith('h'):
|
||||||
|
_desktopHelp()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue