aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-10-12 20:28:04 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-10-14 13:33:12 +0100
commit55ca16f2d83f4d7e14635ac4de3eb67ee2a0787e (patch)
treec92080e2e054cf0b7b2e33e615b55f6143fcda9f /include/swaybar
parentswaybar: move mode & mode_pango_markup to bar struct (diff)
downloadsway-55ca16f2d83f4d7e14635ac4de3eb67ee2a0787e.tar.gz
sway-55ca16f2d83f4d7e14635ac4de3eb67ee2a0787e.tar.zst
sway-55ca16f2d83f4d7e14635ac4de3eb67ee2a0787e.zip
swaybar: streamline ipc handling
The received json is handled outside of the case statement, which will allow better extensibility. This commit also introduces the variable bar_is_dirty, the return value signifying whether the bar requires rendering.
Diffstat (limited to 'include/swaybar')
0 files changed, 0 insertions, 0 deletions