mirror of https://gitlab.com/bashrc2/epicyon
Rename option to client
parent
22b4818631
commit
9e0da09cf0
|
@ -406,7 +406,7 @@ python3 epicyon.py --speaker yournickname@yourdomain
|
||||||
Or if you have [picospeaker](https://gitlab.com/ky1e/picospeaker) installed:
|
Or if you have [picospeaker](https://gitlab.com/ky1e/picospeaker) installed:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
python3 epicyon.py --notifyShowNewPosts --screenreader picospeaker --notify yournickname@yourdomain
|
python3 epicyon.py --notifyShowNewPosts --screenreader picospeaker --client yournickname@yourdomain
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use the **--password** option to provide the password. This will then stay running and incoming posts will be announced as they arrive.
|
You can also use the **--password** option to provide the password. This will then stay running and incoming posts will be announced as they arrive.
|
||||||
|
|
|
@ -454,11 +454,9 @@ parser.add_argument('--level', dest='skillLevelPercent', type=int,
|
||||||
parser.add_argument('--status', '--availability', dest='availability',
|
parser.add_argument('--status', '--availability', dest='availability',
|
||||||
type=str, default=None,
|
type=str, default=None,
|
||||||
help='Set an availability status')
|
help='Set an availability status')
|
||||||
parser.add_argument('--notifications', '--notify', '--client',
|
parser.add_argument('--client', dest='client',
|
||||||
dest='notifications',
|
|
||||||
type=str, default=None,
|
type=str, default=None,
|
||||||
help='Notify posts as they arrive at your ' +
|
help='Run desktop client')
|
||||||
'inbox. --notifications [handle]')
|
|
||||||
parser.add_argument('--block', dest='block', type=str, default=None,
|
parser.add_argument('--block', dest='block', type=str, default=None,
|
||||||
help='Block a particular address')
|
help='Block a particular address')
|
||||||
parser.add_argument('--unblock', dest='unblock', type=str, default=None,
|
parser.add_argument('--unblock', dest='unblock', type=str, default=None,
|
||||||
|
@ -1833,7 +1831,7 @@ if args.availability:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.notifications:
|
if args.client:
|
||||||
# Announce posts as they arrive in your inbox using text-to-speech
|
# Announce posts as they arrive in your inbox using text-to-speech
|
||||||
if args.notifications.startswith('@'):
|
if args.notifications.startswith('@'):
|
||||||
args.notifications = args.notifications[1:]
|
args.notifications = args.notifications[1:]
|
||||||
|
|
Loading…
Reference in New Issue