File: loadmodule_test__-__exec__%2B__loadmodule.py

package info (click to toggle)
orca-sops 1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 228 kB
  • sloc: sh: 270; python: 248; makefile: 11
file content (11 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# an example for import an advanced plugin
# loaded just once on starting orca (exec)
# change setting chname for !, let orca announce "bang" instead of !

#the following could be done to specify SOPS propertys in the file
#sopsproperty:loadmodule
import orca.orca # Imports the main screen reader
orca.chnames.chnames["!"] = "bang"