diff options
| author | Jan T <keppinakki@gmail.com> | 2015-08-09 12:02:12 +0300 |
|---|---|---|
| committer | Jan T <keppinakki@gmail.com> | 2015-08-09 12:02:12 +0300 |
| commit | 6f167cbbb7500f80a556cdd7a5404e9022c60ae7 (patch) | |
| tree | 8275ab218d21021a35c839ec53dcdb96dca31010 /py3status/modules | |
| parent | 0517b10e6103db1d4553f29c896aee75fc74bd01 (diff) | |
Fix typos in keyboard_layout modulemaster
resolves #112
Diffstat (limited to 'py3status/modules')
| -rw-r--r-- | py3status/modules/keyboard_layout.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py3status/modules/keyboard_layout.py b/py3status/modules/keyboard_layout.py index ec65b91..d7407ea 100644 --- a/py3status/modules/keyboard_layout.py +++ b/py3status/modules/keyboard_layout.py @@ -30,7 +30,7 @@ LANG_COLORS = { LAYOUT_RE = re.compile(r".*layout:\s*(\w+).*", flags=re.DOTALL) -def xbklayout(): +def xkblayout(): """ check using xkblayout-state (preferred method) """ @@ -63,11 +63,11 @@ class Py3status: find the best implementation to get the keyboard's layout """ try: - xbklayout() + xkblayout() except: self.command = setxkbmap else: - self.command = xbklayout + self.command = xkblayout def keyboard_layout(self, i3s_output_list, i3s_config): response = { |
