444 Commits (469411d4842e265295de5897cbcf879487cb46e8)

Author SHA1 Message Date
Connor E 49b667272b Revert "Add some missing frees."
6 years ago
v44r 204e1f4712 Rebase #1636 against current master
6 years ago
Jan Beich ba96983bf0 Make json-c include respect pkg-config --cflags
6 years ago
Drew DeVault 8b056cfc82
Merge pull request #3500 from progandy/validate_pixmaps
6 years ago
Lukas Lihotzki f7ed97e2a7 Fix tray icon updates
6 years ago
progandy dcabe0e6da swaybar: fix crash with some tray icon pixmaps
6 years ago
Brian Ashworth 9e6c6ce332 swaybar: fix command malloc in workspace command
6 years ago
Ian Fan d8f3e6e19a swaybar: fix workspace command
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
Ian Fan de9a357de8 util.c: remove numlen function
6 years ago
M Stoeckl 4b1eaaf731 Removed unused wlroots dependency for sway(bg|bar|msg|nag)
6 years ago
Ian Fan 410c961388 swaybar: fix setting floating watcher slots
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
M Stoeckl 695948e689 Fix memory leaks in swaybar
6 years ago
emersion bb2f007ad3
meson: remove rpath options
6 years ago
emersion 08a5b304e4
Use Meson feature options
6 years ago
Connor E 70637b40fe Fixes for small existing bugs.
6 years ago
Connor E aa9d7d8ca1 Remove usage of VLAs.
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Drew DeVault 81bb675274
Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved
6 years ago
Drew DeVault fc93cd20dc
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
6 years ago
Drew DeVault 9ce4d53e78
Merge pull request #3408 from RedSoxFan/bar-padding
6 years ago
Brian Ashworth 50d36ef238 swaybar: allow identifiers for output and tray
6 years ago
Brian Ashworth ca0a75d540 swaybar: add status_edge_padding command
6 years ago
Brian Ashworth c0f92cb2fb swaybar: add status_padding command
6 years ago
Brian Ashworth 3d6440ec26 bar_cmd_bind: utilize mouse button helpers
6 years ago
Brian Ashworth 124085eba9 swaybar: obey height if given
6 years ago
Brian Ashworth 39873bc1f0 swaybar: fix rendering of border and background
6 years ago
Jan Beich 0a4c4f3e52 Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
Ian Fan f87628e2ab swaybar: improve tray logging
6 years ago
Ian Fan d093c3ac55 swaybar: handle SNI signals better
6 years ago
Ian Fan b666fc76a6 swaybar: free the right item during tray destruction
6 years ago
Ian Fan a82b8a3c14 Remove readline.c
6 years ago
Ian Fan 9e31f5d79c swaybar: use KDE's SNI IconThemePath property
6 years ago
Ian Fan 371089f62c swaybar: handle new and lost StatusNotifierWatcher
6 years ago
Ian Fan 8ffb7f0529 swaybar: draw a sad face if SNI has no icon
6 years ago
Ian Fan f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 2fd41fe9c8 swaybar: set bar dirty on SNI event
6 years ago
Ian Fan 6becde0246 swaybar: implement mouse events for tray
6 years ago
Ian Fan fa2c5282c1 swaybar: implement tray rendering
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Ian Fan 74655f835a swaybar: add StatusNotifierItem to tray
6 years ago
Ian Fan e6cb55e2f8 swaybar: add StatusNotifierHost to tray
6 years ago
Ian Fan 746600e6ed swaybar: implement icon themes and lookup for tray
6 years ago
Ian Fan 02df3f67aa swaybar: add StatusNotifierWatcher to tray
6 years ago
Ian Fan ef555012fa swaybar: add skeleton dbus code to tray
6 years ago
Ian Fan 5f65f33989 swaybar: add tray interface
6 years ago
Mack Straight 828060af73 swaybar: fix double free
6 years ago
Brian Ashworth 35a82a8693 swaybar: fix cursor scale
6 years ago
Brian Ashworth 549d9fe489 swaybar: fix sep block width for mixed scales
6 years ago
Brian Ashworth 8b4fe7dd15 swaybar: handle block->urgent
6 years ago
Hristo Venev 24e8ba048a Add relative coordinates in JSON for i3bar click events
6 years ago
Brian Ashworth 1bd8463481 Implement bar gaps
6 years ago
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
6 years ago
emersion bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
6 years ago
Connor E 4bd46fb079 Implement strip_workspace_name.
6 years ago
Connor E eda1bf769f More frees.
6 years ago
Connor E b5d95f264d Add some missing frees.
6 years ago
Ian Fan 19421373b9 swaybar: when scrolling, check that there are workspaces to scroll on
6 years ago
Ian Fan c5541763c0 swaybar: fix scrolling behaviour
6 years ago
Ian Fan c3fdabb725 swaybar: reverse order of workspaces list
6 years ago
Drew DeVault 41f744c224
Merge pull request #2925 from ianyfan/swaylock
6 years ago
Ian Fan 48cf430cee swaybar: absorb bar_init function into bar_setup
6 years ago
Ian Fan 9afcda59db swaybar: exit on display error
6 years ago
Ryan Dwyer 851b442f73 Fix swaybar crash when there's no status_command
6 years ago
emersion 2a32701b78
swaybar: fix hotplug
6 years ago
Ian Fan 1844a5bafb swaybar: render with minimum height, nominally text height
6 years ago
Ryan Dwyer a4ce5227c2 Put swaybar in overlay layer when using mode hide
6 years ago
Rouven Czerwinski f52825336c swaybar: disallow left and right position and print error on default
6 years ago
ossi.ahosalmi 79011e68df missing headers for swaybar/input.c
6 years ago
Ian Fan 499150a91b swaybar: separate input code to new file
6 years ago
Ryan Dwyer 32ba8154b8 Sway clients: Exit gracefully when compositor is unavailable
6 years ago
Ryan Dwyer 6921fdc6d6 Remove timerfd from loop implementation
6 years ago
Ryan Dwyer 4056c09e13 Move swaybar's event loop to common directory and refactor
6 years ago
Ian Fan 4dba7c084a swaybar: when hiding bar, save old height to be restored upon reshow
6 years ago
Ian Fan a29ee77411 swaybar: send signal to status when hiding or showing bar
6 years ago
Ian Fan f6f72cb949 swaybar: show hidden bar on urgency
6 years ago
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
6 years ago
Ian Fan bcc61e5147 swaybar: handle mode/hidden_state changes
6 years ago
Ian Fan 55ca16f2d8 swaybar: streamline ipc handling
6 years ago
Ian Fan fed11d1c7b swaybar: move mode & mode_pango_markup to bar struct
6 years ago
Ian Fan a388ffa127 swaybar: only send initial workspace request if workspace buttons are enabled
6 years ago
Ian Fan 19f0bf3864 swaybar: add free_hotspots helper function
6 years ago
Ian Fan a67fa8a05d swaybar: only subscribe to required events
6 years ago
Ian Fan d0b54e932b swaybar: save id upon startup
6 years ago
Ian Fan cd6917d4a8
Merge branch 'master' into bar-bindsym
6 years ago
Ryan Dwyer fa8959532b Fix program name in version strings
6 years ago
Brian Ashworth d3f0e52784 bar-bindsym: address ianyfan's comments
6 years ago
Brian Ashworth 1c969e86f5 Implement bar bindsym
6 years ago
Ryan Dwyer 41bfd8c790 swaybar: allow null status_command
6 years ago
emersion d50f54fa42 swaybar: fix binding to wl_pointer multiple times
6 years ago
Ian Fan 65593f49bc swaybar: add leading comma to click event JSON
6 years ago
Arkadiusz Hiler eed0bc3ebd Add support for installing binaries with DT_RPATH
6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void)
6 years ago
Ian Fan 02dfeea54c swaybar: synchronize rendering to output frames
6 years ago
Ian Fan 25e1f32738 swaybar: trim function prototypes
6 years ago
Ian Fan 751bb4a376 swaybar: move i3bar definitions into separate file
6 years ago
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