diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-11-15 15:31:17 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-11-15 15:31:17 +0400 |
| commit | b815b8dc30a9632e159bf4347d615b067503215f (patch) | |
| tree | b6ea0d48d364ccd7c7341576711112fa156c9f84 /.local/bin/lemonbar/modules/language.py | |
| parent | 54d45cc3ddc50fb0db021aca14ea9284c7937984 (diff) | |
Removed unneeded scripts
Diffstat (limited to '.local/bin/lemonbar/modules/language.py')
| -rw-r--r-- | .local/bin/lemonbar/modules/language.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/.local/bin/lemonbar/modules/language.py b/.local/bin/lemonbar/modules/language.py deleted file mode 100644 index 014bf10..0000000 --- a/.local/bin/lemonbar/modules/language.py +++ /dev/null @@ -1,13 +0,0 @@ -from subprocess import run as _run - - -def run(command): - return _run(command.split(), capture_output=True).stdout.decode().strip() - - -def callback(): - try: - name = run('xkblayout-state print "%s"').strip('"') - return f"LNG: {name.upper()}" - except FileNotFoundError: - return f"LNG: xkblayout-state not installed" |