swayfx/swaybar
Mikkel Oscar Lyderik bc9b93f597 swaybar: use select instead of busyloop
Use of busyloop caused high cpu usage for sway because swaybar had to be
redrawn all the time. By using select instead the bar only has to be
redrawn when the status_command changes (i.e. every second) or when the
workspaces are updated.

Fix #345
2015-12-19 16:33:58 +01:00
..
CMakeLists.txt Display workspaces on swaybar 2015-12-13 15:40:19 -05:00
main.c swaybar: use select instead of busyloop 2015-12-19 16:33:58 +01:00