aboutsummaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)AuthorLines
2018-07-19swaybar: Fix scroll handling on workspace buttonsminus-10/+19
As well as ignoring scroll events on status elements when click_events is enabled. Previously, using the scroll wheel on a workspace button would switch to that workspace instead of scrolling through them. Clicks and scrolling on status elements would always be processed by swaybar, too. So in case you were using scrolling as volume control on a status item, swaybar would additionally scroll through your workspaces.
2018-07-18Merge pull request #2281 from pvsr/X11_clickemersion-4/+49
Send clicks to swaybar blocks as X11 button ids
2018-07-17remove unnecessary parensPeter Rice-5/+5
2018-07-16send scroll events to swaybar blocksPeter Rice-0/+15
2018-07-16make hotspot callback take an x11 button idPeter Rice-4/+34
2018-07-17swaybar: Read urgent colors from IPCRyan Dwyer-0/+12
2018-07-14swaybar/bg: Fix crash on DPMS offminus-0/+3
When turning off displays via DPMS, swaybar and swaybg still tried to render, but did not get a valid buffer, causing them to crash.
2018-07-09Update for swaywm/wlroots#1126emersion-12/+12
2018-07-06Fix swaybar teardown when workspace buttons hiddenBrian Ashworth-1/+1
2018-07-05Implement mode --pango_markupBrian Ashworth-2/+3
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