Skip to content

Commit

Permalink
- Removed Xlib dependencies
Browse files Browse the repository at this point in the history
- Added twemoji and noto-emoji sets
- Added option to run without indicator
- Added option to copy rather than type on select
  • Loading branch information
Tomas Ravinskas committed Oct 17, 2017
1 parent e450938 commit 713cee7
Show file tree
Hide file tree
Showing 7,197 changed files with 513,429 additions and 2,076 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__pycache__
install_log
scratchpad.py
*_old*
12 changes: 4 additions & 8 deletions emoji-keyboard
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3

import signal
try:
from emoji_keyboard import emoji_shared as shared
from emoji_keyboard import emoji_lib as lib
Expand All @@ -10,8 +9,6 @@ except ImportError:
from lib import emoji_lib as lib
from lib import emoji_gtk as egtk

handled_signals = {signal.SIGHUP, signal.SIGQUIT, signal.SIGTERM}

shared.lock = lib.Lock() # Initialize lock, checks if lockfile
# exists
shared.connection = lib.Connection() # Initialize connection for sending,
Expand All @@ -22,16 +19,15 @@ shared.command = lib.Command() # Parse command line flags and decide
shared.lock.lock() # Create lockfile
shared.manager = lib.Manager()
shared.clipboard = lib.Clipboard()
shared.clipboard.start()
shared.emoji = egtk.Emoji()
shared.keyboard = egtk.Keyboard()
shared.search = egtk.Search()
shared.prefs = egtk.Preferences()
shared.indicator = egtk.Indicator() # Again, initialize and store in shared
if shared.settings['use_indicator']:
shared.indicator = egtk.Indicator() # Again, initialize and store in shared
# namespace, but don't start the main loop

for SIG in handled_signals:
signal.signal(SIG, shared.manager.exit)
else:
shared.indicator = egtk.DummyIndicator()

shared.connection.start() # Now we can start listener and main loop
shared.indicator.start()
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
28,471 changes: 28,470 additions & 1 deletion lib/data/emoji.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/data/emojitwo/0023-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0023.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/002a-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/002a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0030-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0030.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0031-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0031.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0032-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0032.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0033-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0033.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0034-20e3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0034.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0035-20e3.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0035.svg
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0036-20e3.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0036.svg
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0037-20e3.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0037.svg
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0038-20e3.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0038.svg
5 changes: 5 additions & 0 deletions lib/data/emojitwo/0039-20e3.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/0039.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/00a9.svg
4 changes: 4 additions & 0 deletions lib/data/emojitwo/00ae.svg
5 changes: 5 additions & 0 deletions lib/data/emojitwo/1f004.svg
Loading

0 comments on commit 713cee7

Please sign in to comment.