94 Commits (afac6ced6e127d83503b39102eb8e0db6a9b1c13)

Author SHA1 Message Date
Brian Ashworth 50d36ef238 swaybar: allow identifiers for output and tray
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 6b03c68775 swaybar: implement tray config
6 years ago
Ian Fan 5f65f33989 swaybar: add tray interface
6 years ago
Brian Ashworth 35a82a8693 swaybar: fix cursor scale
6 years ago
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
6 years ago
Connor E 4bd46fb079 Implement strip_workspace_name.
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
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 bcc61e5147 swaybar: handle mode/hidden_state changes
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 d0b54e932b swaybar: save id upon startup
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 02dfeea54c swaybar: synchronize rendering to output frames
6 years ago
Ian Fan 751bb4a376 swaybar: move i3bar definitions into separate file
6 years ago
Ian Fan 312d009f65 swaybar: fail if bar id is invalid
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
emersion 8a5ff5a4db swaybar: don't wl_display_roundtrip on each frame
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
emersion 012df55be5 swaybar: use output names instead of output indexes
6 years ago
minus bfcfabee2b swaybar: Fix scroll handling on workspace buttons
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
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 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
Ryan Dwyer c38de16722 Fix swaybar output config.
7 years ago
Drew DeVault f242362e7e Handle output removal on swaybar
7 years ago
Drew DeVault 38bdd4bdeb Address review feedback
7 years ago