From b16433ab608f47c0a10e6e72997c5910e8e126ea Mon Sep 17 00:00:00 2001 From: iamroo_t Date: Sun, 23 Jun 2019 11:38:39 +0200 Subject: [PATCH] changed epoll to poll, updated README for FreeBSD --- README.md | 4 ++++ bumblebee/input.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2317d53..f11d24a 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ Explicitly unsupported Python versions: 3.2 (missing unicode literals) # Arch Linux $ sudo pacman -S awesome-terminal-fonts +# FreeBSD +$ sudo pkg install font-awesome +$ sudo pkg install py36-tzlocal py36-pytz py36-netifaces py36-psutil py36-requests #for dependencies + # Other # see https://github.com/gabrielelana/awesome-terminal-fonts ``` diff --git a/bumblebee/input.py b/bumblebee/input.py index 5fb3032..cbc4150 100644 --- a/bumblebee/input.py +++ b/bumblebee/input.py @@ -25,8 +25,8 @@ def is_terminated(): def read_input(inp): """Read i3bar input and execute callbacks""" - epoll = select.epoll() - epoll.register(sys.stdin.fileno(), select.EPOLLIN) + epoll = select.poll() + epoll.register(sys.stdin.fileno()) log.debug("starting click event processing") while inp.running: if is_terminated():