Merge pull request #400 from Crupsp/freebsd-support
changed epoll to poll, updated README for FreeBSD
This commit is contained in:
commit
ff82604036
2 changed files with 6 additions and 2 deletions
|
@ -38,6 +38,10 @@ Explicitly unsupported Python versions: 3.2 (missing unicode literals)
|
||||||
# Arch Linux
|
# Arch Linux
|
||||||
$ sudo pacman -S awesome-terminal-fonts
|
$ 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
|
# Other
|
||||||
# see https://github.com/gabrielelana/awesome-terminal-fonts
|
# see https://github.com/gabrielelana/awesome-terminal-fonts
|
||||||
```
|
```
|
||||||
|
|
|
@ -25,8 +25,8 @@ def is_terminated():
|
||||||
|
|
||||||
def read_input(inp):
|
def read_input(inp):
|
||||||
"""Read i3bar input and execute callbacks"""
|
"""Read i3bar input and execute callbacks"""
|
||||||
epoll = select.epoll()
|
epoll = select.poll()
|
||||||
epoll.register(sys.stdin.fileno(), select.EPOLLIN)
|
epoll.register(sys.stdin.fileno())
|
||||||
log.debug("starting click event processing")
|
log.debug("starting click event processing")
|
||||||
while inp.running:
|
while inp.running:
|
||||||
if is_terminated():
|
if is_terminated():
|
||||||
|
|
Loading…
Reference in a new issue