Giter VIP home page Giter VIP logo

wofi-emoji's Introduction

๐Ÿ“ข wofi-moji is now kindly maintained by โœจ@Zeiothโœจ. Head on over to Zeioth/wofi-emoji for all your emoji selection needs! ๐Ÿš€

wofi-emoji ๐Ÿฅž

Simple emoji selector for Wayland using wofi. It relies on wtype when it's supported, otherwise, wl-clipboard is used instead.

Screenshot of wofi-emoji in action

Usage with Sway

Download wofi-emoji, ensure it's executable and somewhere in your $PATH.

Add a shortcut key in your sway config:

# ~/.config/sway/config

bindsym Mod4+e exec path/to/wofi-emoji

wofi-emoji's People

Contributors

dln avatar ducng avatar gilbsgilbs avatar pothix avatar stelcodes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wofi-emoji's Issues

build.sh produces unusable wofi-emoji script

Hi! First off, thanks so much for making this. It's awesome. Here's the issue I'm having:

After running build.sh, wofi-emoji looks like this:

โฏ head wofi-emoji
#!/usr/bin/env bash
sed '1,/^### DATA ###$/d' $0 | wofi --show dmenu | cut -d ' ' -f 1 | tr -d '\n' | wl-copy
๐Ÿ˜€ grinning face
๐Ÿ˜ƒ grinning face with big eyes
๐Ÿ˜„ grinning face with smiling eyes
๐Ÿ˜ beaming face with smiling eyes
๐Ÿ˜† grinning squinting face
๐Ÿ˜… grinning face with sweat
๐Ÿคฃ rolling on the floor laughing
๐Ÿ˜‚ face with tears of joy

It's missing the lines

exit
### DATA ###

and when this new wofi-emoji is executed, produces an empty wofi menu and a bunch of these errors:

โฏ ./wofi-emoji
./wofi-emoji: line 3: ๐Ÿ˜€: command not found
./wofi-emoji: line 4: ๐Ÿ˜ƒ: command not found
./wofi-emoji: line 5: ๐Ÿ˜„: command not found
./wofi-emoji: line 6: ๐Ÿ˜: command not found
./wofi-emoji: line 7: ๐Ÿ˜†: command not found
./wofi-emoji: line 8: ๐Ÿ˜…: command not found
./wofi-emoji: line 9: ๐Ÿคฃ: command not found
./wofi-emoji: line 10: ๐Ÿ˜‚: command not found
...

Emojis aren't copied to clipboard or inserted on Arch Linux

I've installed the AUR package wofi-emoji-git, bound bindsym Ctrl+Shift+e exec wofi-emoji and invoked wofi-emoji with my bound shortcut. I can select emoji but emoji are neither copied to my clipboard or pasted:

> which wtype
/usr/bin/wtype

Screen recording:

recording

Use wl-copy when wtype doesn't work for the compositor used

It seems wtype is not yet supported on all compositor. In Gnome, I get the following error:

/tmp โฏ echo 'test' | wtype -
Compositor does not support the virtual keyboard protocol
/tmp โฏ echo $?
1

It would be nice to be able to use wl-copy (as it did before) in case wtype is not supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.