Browse Source

Merge pull request #17 from The-Compiler/fix-skin-tone

Fix handling of --skin-tone
tags/3.0.0
Fabian Winter 4 months ago
parent
commit
d05949ebaa
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      rofimoji.py

+ 1
- 2
rofimoji.py View File

@@ -1850,7 +1850,6 @@ def parse_arguments() -> argparse.Namespace:
dest='skin_tone',
choices=['neutral', 'light', 'medium-light', 'moderate', 'dark brown', 'black', 'ask'],
default='ask',
nargs=1,
action='store'
)
return parser.parse_args()
@@ -1902,7 +1901,7 @@ if __name__ == "__main__":
if rofi.returncode == 1:
exit()
else:
emojis = compile_chosen_emojis(stdout.splitlines(), args.skin_tone[0])
emojis = compile_chosen_emojis(stdout.splitlines(), args.skin_tone)

if rofi.returncode == 0:
insert_emojis(emojis, active_window, args.use_clipboard)

Loading…
Cancel
Save