changed epoll to poll, updated README for FreeBSD

This commit is contained in:
iamroo_t 2019-06-23 11:38:39 +02:00
parent 4db9c714bb
commit b16433ab60
2 changed files with 6 additions and 2 deletions

View file

@ -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
```

View file

@ -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():