aboutsummaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)AuthorLines
2018-05-09Swaybar: Respect pango_markup configRyan Dwyer-4/+6
Makes swaybar respect the user's pango_markup configuration in the workspace buttons and binding mode indicator.
2018-05-06Revert "Install swaybar and swaybg under /usr/lib/sway"Rostislav Pehlivanov-2/+1
This reverts commit f2c209c299889ad965ac995049704b1c46176c6d.
2018-05-06Revert "Make the LIBDIR path configurable"Rostislav Pehlivanov-1/+1
This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020.
2018-05-06Revert "Meson: Replace option `instlibdir` with `libexecdir`"Rostislav Pehlivanov-1/+1
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
2018-05-05Meson: Replace option `instlibdir` with `libexecdir`Nicolas Braud-Santoni-1/+1
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place.
2018-05-05Make the LIBDIR path configurableNicolas Braud-Santoni-1/+1
2018-05-05Install swaybar and swaybg under /usr/lib/swayNicolas Braud-Santoni-1/+2
2018-04-24Fix a bunch of swaybar memory leaksemersion-23/+34
2018-04-24Work around maybe-uninitialized in bar.cAlex Xu (Hello71)-1/+3
Fixes #1855.
2018-04-22Fix swaybar axis event logicScott Anderson-18/+43
Uses 'visible' instead of 'focused', since we may scroll on a bar which isn't the focused output. We can't use "next_on_output" or "prev_on_output" to implement this, because it only modify the focused output. So scrolling on an unfocused output will affect the incorrect one. We just use the "workspace name" command instead.
2018-04-21Remove void * castsScott Anderson-6/+6
They're pointless.
2018-04-21Remove status command event on errorScott Anderson-1/+5
This prevents very high CPU load when the status command dies, and poll continuously awoken with POLLHUP.
2018-04-21Change remove_event logicScott Anderson-14/+23
We defer the removal of entries until after the poll loop has finished. Otherwise we may end up adjusting the poll array while we're still reading from it, causing us to skip events.
2018-04-21Always send POLLHUP and POLLERR with event loopScott Anderson-1/+4
2018-04-20Fix memory leak on swaybarBruno Pinto-0/+1
Code from @NilsBrause Ref #1820
2018-04-15Set _POSIX_C_SOURCE properlyScott Anderson-1/+1
2018-04-10Fix separator height calculationDrew DeVault-3/+3
Fixes #1796 Also rearranged this code to more closely mirror the similar code above so future discrepancies are easier to spot.
2018-04-10Merge pull request #1792 from RyanDwyer/fix-swaybar-status-blocksemersion-7/+7
Fix swaybar not showing all status blocks
2018-04-11Check height in surface local coordinates and rename some variables.Ryan Dwyer-3/+4
2018-04-10fix swaybar ipc handlingdb-2/+2
Swap return with break in IPC_EVENT_WORKSPACE case to free resp. Change default return value to true. This causes IPC_EVENT_MODE changes to be rendered instantly.
2018-04-10Fix swaybar not showing all status blocks.Ryan Dwyer-7/+6
2018-04-10Fix swaybar output config.Ryan Dwyer-28/+42
2018-04-09Fix some more bugsDrew DeVault-3/+4
2018-04-09Fix buffer issues in swaybar status line.Ryan Dwyer-0/+3
2018-04-08Fix swaybar HiDPI rounding issueemersion-18/+21
2018-04-08Fixup for #1773Drew DeVault-2/+1
2018-04-08Use full ws->name in swaybar hotspot callbackdb-1/+2
If strip_workspace_numbers option is enabled, we must preserve the right workspace name for hotspot.
2018-04-06Fix workspaces not updated on swaybarDrew DeVault-1/+1
2018-04-05Handle output removal on swaybarDrew DeVault-7/+39
2018-04-03Address review feedbackDrew DeVault-13/+12
2018-04-03Adjust height calculation, namingDrew DeVault-24/+24
2018-04-03Don't use asserts with side-effectsDrew DeVault-9/+11
2018-04-03Add hidpi support to swaybarDrew DeVault-69/+172
2018-04-03Fix #1709Drew DeVault-2/+9
2018-04-02Render blocks the correct orderDrew DeVault-1/+1
2018-04-02Fix use-after-free with block hotspotsDrew DeVault-5/+4
2018-04-02Send click events for i3bar blocksDrew DeVault-12/+52
2018-04-02Render i3bar blocksDrew DeVault-30/+310
2018-04-02Demarcate i3bar JSON into individual updatesDrew DeVault-9/+142
2018-03-30Implement workspace switch on clickDrew DeVault-17/+56
2018-03-30Implement scroll wheel workspace switchingDrew DeVault-4/+48
2018-03-30Initialize seat pointer in swaybarDrew DeVault-2/+107
2018-03-30Fix issues with swaybar on DRMDrew DeVault-2/+4
2018-03-29Early return from render functions if necessaryDrew DeVault-3/+3
2018-03-29Use render_all_frames from bar_setupDrew DeVault-10/+8
2018-03-29Fix layer_surface_closedDrew DeVault-1/+1
2018-03-29Do some small cleanupDrew DeVault-0/+1
- Fix workspace events (security config isn't in use so it wasn't being sent) - Kill status bar process when swaybar exits - Don't rearrange windows on every layer surface commit
2018-03-29Fixed laggy focused output booleanDrew DeVault-4/+3
2018-03-29Tear down bar when display exitsDrew DeVault-2/+2
2018-03-29Clean up status line on exitDrew DeVault-2/+9