347 Commits (907595b10db44dee9f366ff36947c63bf6433fee)

Author SHA1 Message Date
Ian Fan bcd2a8fe12 swaybar: remove unused focused_output property
6 years ago
Ian Fan 312d009f65 swaybar: fail if bar id is invalid
6 years ago
sghctoma 315b2bf100 Replace getdelim to make swaybar work on FreeBSD
6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
6 years ago
Ian Fan a4d346627c swaybar: explicitly check return value of getdelim
6 years ago
Brian Ashworth 04862e2121
Merge branch 'master' into swaybar-hotplug
6 years ago
Ian Fan a2326661e1 swaybar: log invalid i3bar json
6 years ago
Ian Fan ccdec2a329 swaybar: reset tokener if json is incomplete
6 years ago
Ian Fan dbda5d35eb swaybar: update buffer_pos when moving object to start of buffer
6 years ago
emersion 8a5ff5a4db swaybar: don't wl_display_roundtrip on each frame
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
Ian Fan 47a66da5de swaybar: only free tokener when using i3bar protocol
6 years ago
Ian Fan 5912325d5c swaybar: add debugging statements for handling i3bar json
6 years ago
Ian Fan 7882ac66ef swaybar: rewrite i3bar protocol handling
6 years ago
Ian Fan 8cbce77e1d swaybar: rewrite protocol determination
6 years ago
Ian Fan 70245c2cd5 swaybar: rewrite text protocol handling
6 years ago
Ian Fan babd9618b9 swaybar: only create i3bar block hotspot if click events are enabled
6 years ago
Ian Fan 87c93d6ad9 swaybar: send trailing comma with click event json
6 years ago
Ian Fan 9932c6a1f1 swaybar: fix empty function prototypes
6 years ago
Ian Fan 952453480f swaybar: invalidate file descriptors upon closing
6 years ago
Ian Fan 4cb28de89f swaybar: remove block links upon exit
6 years ago
emersion 012df55be5 swaybar: use output names instead of output indexes
6 years ago
Ian Fan e32e86b65d bar: remove i3bar_block_free in favour of i3bar_block_unref
6 years ago
Ian Fan 2eaef80206 i3bar: count references to blocks
6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
Jason 13fbe5176b
Fix swaybar block background fill logic
6 years ago
sghctoma 073dcb3a86 Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
6 years ago
sghctoma cc16948c85 Fix feature macros for FreeBSD
6 years ago
minus bfcfabee2b swaybar: Fix scroll handling on workspace buttons
6 years ago
emersion 48b911a459
Merge pull request #2281 from pvsr/X11_click
6 years ago
Peter Rice e43c20134a remove unnecessary parens
6 years ago
Peter Rice 14511da75d send scroll events to swaybar blocks
6 years ago
Peter Rice 79a998849b make hotspot callback take an x11 button id
6 years ago
Ryan Dwyer 255dc8bbb0 swaybar: Read urgent colors from IPC
6 years ago
minus c73a40555f swaybar/bg: Fix crash on DPMS off
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Brian Ashworth 1b4c289482 Fix swaybar teardown when workspace buttons hidden
6 years ago
Brian Ashworth 78c08fb0a2 Implement mode --pango_markup
6 years ago
Ryan Dwyer e012b05b00 Swaybar: Respect pango_markup config
7 years ago
Rostislav Pehlivanov 3b6629af3c Revert "Install swaybar and swaybg under /usr/lib/sway"
7 years ago
Rostislav Pehlivanov 2c0c3dc7cc Revert "Make the LIBDIR path configurable"
7 years ago
Rostislav Pehlivanov 0cdc47ab1e Revert "Meson: Replace option `instlibdir` with `libexecdir`"
7 years ago
Nicolas Braud-Santoni 830c4ef74c Meson: Replace option `instlibdir` with `libexecdir`
7 years ago
Nicolas Braud-Santoni 1670b46bf6 Make the LIBDIR path configurable
7 years ago
Nicolas Braud-Santoni f2c209c299 Install swaybar and swaybg under /usr/lib/sway
7 years ago
emersion aa36899d8a
Fix a bunch of swaybar memory leaks
7 years ago
Alex Xu (Hello71) 63267240bf Work around maybe-uninitialized in bar.c
7 years ago
Scott Anderson 4dfbc3160c Fix swaybar axis event logic
7 years ago
Scott Anderson c63554885e Remove void * casts
7 years ago
Scott Anderson 2ebb6073b7 Remove status command event on error
7 years ago
Scott Anderson 9a3fb33e33 Change remove_event logic
7 years ago
Scott Anderson e0107c4dd7 Always send POLLHUP and POLLERR with event loop
7 years ago
Bruno Pinto 9bc4565a59
Fix memory leak on swaybar
7 years ago
Scott Anderson 0d67d56c2a Set _POSIX_C_SOURCE properly
7 years ago
Drew DeVault 5785170421 Fix separator height calculation
7 years ago
emersion 84243a708e
Merge pull request #1792 from RyanDwyer/fix-swaybar-status-blocks
7 years ago
Ryan Dwyer 7dfc0409eb Check height in surface local coordinates and rename some variables.
7 years ago
db 39e3319394 fix swaybar ipc handling
7 years ago
Ryan Dwyer 1a0d367f22 Fix swaybar not showing all status blocks.
7 years ago
Ryan Dwyer c38de16722 Fix swaybar output config.
7 years ago
Drew DeVault ac3be29517 Fix some more bugs
7 years ago
Ryan Dwyer bac65078a2 Fix buffer issues in swaybar status line.
7 years ago
emersion 16e363e3e2
Fix swaybar HiDPI rounding issue
7 years ago
Drew DeVault 4ba6545c65 Fixup for #1773
7 years ago
db 257a831c72 Use full ws->name in swaybar hotspot callback
7 years ago
Drew DeVault efac07db5f Fix workspaces not updated on swaybar
7 years ago
Drew DeVault f242362e7e Handle output removal on swaybar
7 years ago
Drew DeVault 38bdd4bdeb Address review feedback
7 years ago
Drew DeVault c4e92c81f5 Adjust height calculation, naming
7 years ago
Drew DeVault d48e7036aa Don't use asserts with side-effects
7 years ago
Drew DeVault 2605950769 Add hidpi support to swaybar
7 years ago
Drew DeVault f366ef373e Fix #1709
7 years ago
Drew DeVault ef50d84be1 Render blocks the correct order
7 years ago
Drew DeVault c507727ad2 Fix use-after-free with block hotspots
7 years ago
Drew DeVault 0cbd2a4f49 Send click events for i3bar blocks
7 years ago
Drew DeVault 333dbcbe72 Render i3bar blocks
7 years ago
Drew DeVault ee85c91831 Demarcate i3bar JSON into individual updates
7 years ago
Drew DeVault 2a5108a278 Implement workspace switch on click
7 years ago
Drew DeVault ae14dfc7ae Implement scroll wheel workspace switching
7 years ago
Drew DeVault 8d1425bde9 Initialize seat pointer in swaybar
7 years ago
Drew DeVault 2a90d26ebe Fix issues with swaybar on DRM
7 years ago
Drew DeVault d8104db8f1 Early return from render functions if necessary
7 years ago
Drew DeVault 095ac31921 Use render_all_frames from bar_setup
7 years ago
Drew DeVault 6fe66d0e6c Fix layer_surface_closed
7 years ago
Drew DeVault f3fbf19312 Do some small cleanup
7 years ago
Drew DeVault b72825441b Fixed laggy focused output boolean
7 years ago
Drew DeVault da6e48520b Tear down bar when display exits
7 years ago
Drew DeVault 0464a9910d Clean up status line on exit
7 years ago
Drew DeVault 0d0ab7c5ce Implement status line
7 years ago
Drew DeVault 718502c815 Iterate over workspaces backwards
7 years ago
Drew DeVault 531c175d3e Respect user bar height preference
7 years ago
Drew DeVault 1e8faeec02 Pixel-perfect rendering
7 years ago
Drew DeVault 37b61eff2d Add binding mode indicator
7 years ago
Drew DeVault 86ba0fc15d Re-render bar on IPC updates
7 years ago
Drew DeVault 3a458cd7b5 Implement workspace button rendering
7 years ago
Drew DeVault 3399ad9840 Round up workspaces on each output
7 years ago
Drew DeVault e5e8094dc3 Only utilize the configured outputs
7 years ago
Drew DeVault 5c9ad035db Wire up basic IPC support
7 years ago
Drew DeVault cab1352801 Start port of swaybar to layer shell
7 years ago
Tony Crisci d071ff08ae remove the rest of cmake
7 years ago
Joona Romppanen 675e4b7de7 Removed trailing comma from swaybar click event json
7 years ago
Johannes Lundberg 44e72573cb Fix include path to input-event-codes.h for FreeBSD.
7 years ago
Johannes Lundberg 5a63f0f57b Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
John Axel Eriksson feb8bb96ee
swaybar protocol: handle button 4 and 5
7 years ago
akokshar@redhat.com 2b927685ca styling fixes
7 years ago
akokshar@redhat.com 39df3aed82 styling fixes
7 years ago
akokshar@redhat.com d873d09f23 style fixes
7 years ago
akokshar@redhat.com 65022e1cbf click_events as documented at https://i3wm.org/docs/i3bar-protocol.html
7 years ago
Calvin Lee ba6224f4e5 Prevent crash if DBus connection is NULL
7 years ago
Tobias Blass 8976a47f62 [swaybar] fix non-dbus build
7 years ago
Calvin Lee e8f589c3dc Fix memory leaks in swaybar tray
7 years ago
Calvin Lee 5ceb52962e Fix name validation in sni_watcher.c
7 years ago
Calvin Lee 62223e8fbb Don't trust SNI names, fixes #1274
7 years ago
Johannes Lundberg 6a525b23dd Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer comparison error.
7 years ago
Drew DeVault 387eca1b29 Revert "swaybar: Group child processes for signalling"
8 years ago
Drew DeVault 5f915a9d03 Fix #1252
8 years ago
Mykyta Holubakha ed8f56ba38
Handle getline failure in icon theme parsing
8 years ago
Drew DeVault 0fc9628f03 Merge branch 'master' into tray
8 years ago
Calvin Lee 33fdae2001 Remove Xembed Support
8 years ago
Yury Krivopalov 8f4bc0a374 swaybar: Group child processes for signalling
8 years ago
Calvin Lee 0a71aa6e97 Fix Catching NewIcon Signal
8 years ago
Calvin Lee 1451ee8fd1 Reorganize Tray Code
8 years ago
Drew DeVault 790887ce76 Fix cairo blending on tray icons
8 years ago
Calvin Lee 843ad38b3c Implement Tray Icons
8 years ago
Sebastian Noack 173b338567 Add -DVERSION flag for release version numbers
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Drew DeVault 9ad1e6b40f Handle malloc failure in ipc_recv_response
8 years ago
D.B ad4d21d60b add bar colours for focused_(workspace|statusline|separator)
8 years ago
Mykyta Holubakha 2a24772c4b config: set pango_markup default to false
8 years ago
Drew DeVault c0916f6138 Use CAIRO_OPERATOR_SOURCE for swaybar
8 years ago
D.B 6f2c39610e parse pango markup in workspace names (and bugfix)
8 years ago
D.B fe89d7fba3 Correctly scale swaybar
8 years ago
Ryan Dwyer e4cb4d1b5c Fix swaybar when running on named outputs.
8 years ago
D.B c239f228c2 swaybar sends workspace name in quotes
8 years ago
Drew DeVault af44154119 Fix constant scale factor in font code
8 years ago
Drew DeVault b2226ac655 Add client support for HiDPI
8 years ago
Drew DeVault 61184e3208 Initial testing on hidpi clients
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
8 years ago
Hummer12007 06f46955c0 Fix a warning
8 years ago
Drew DeVault 3bb880bf20 Implement configurable wrapping on bar ws scroll
8 years ago
Drew DeVault 147a88260a Fix #753
8 years ago
David Eklov e38d6b94b8 Change workspace when mouse wheel is scrolled while hovering over the bar
8 years ago
David Eklov 250ddc66c6 Rename pointer_input::notify to indicate that is called on button clicks
8 years ago
David Eklov 8a232c8cfd Send command to sway to change workspace when workspace button is clicked
8 years ago
David Eklov a0c8799c80 Compute what workspace button is clicked
8 years ago
David Eklov c805e42635 Extract workspace size computation from render_workspace_button()
8 years ago
David Eklov 103954dd2b Setup to receive mouse click events and log them
8 years ago
David Eklov d3752b4140 swaybar: Make swaybar a shell surface
9 years ago
Drew DeVault c55ae9956b Fix another -Wunused-result
9 years ago