219 Commits (81e8f31cc6f284b54ab206e14af7ecbc1a9ed1bb)

Author SHA1 Message Date
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
9 years ago
Drew DeVault 3bb880bf20 Implement configurable wrapping on bar ws scroll
9 years ago
Drew DeVault 147a88260a Fix #753
9 years ago
David Eklov e38d6b94b8 Change workspace when mouse wheel is scrolled while hovering over the bar
9 years ago
David Eklov 250ddc66c6 Rename pointer_input::notify to indicate that is called on button clicks
9 years ago
David Eklov 8a232c8cfd Send command to sway to change workspace when workspace button is clicked
9 years ago
David Eklov a0c8799c80 Compute what workspace button is clicked
9 years ago
David Eklov c805e42635 Extract workspace size computation from render_workspace_button()
9 years ago
David Eklov 103954dd2b Setup to receive mouse click events and log them
9 years ago
David Eklov d3752b4140 swaybar: Make swaybar a shell surface
9 years ago
Drew DeVault c55ae9956b Fix another -Wunused-result
9 years ago
Tomáš Čech 468ddfb34d Fix missing include paths
9 years ago
Mykyta Holubakha 0f1cfdec61 Renamed to pango_markup
9 years ago
Mykyta Holubakha ee4e245f16 Fix line length calculation
9 years ago
Mykyta Holubakha 2e6c43e62b Added plaintext_markup to swaybar IPC
9 years ago
Mykyta Holubakha 53b53dd8c2 Added plaintext markup configuration
9 years ago
Drew DeVault a796ce4f66 Merge pull request #598 from Hummer12007/pango_fix
9 years ago
Mikkel Oscar Lyderik 11f0b4539d Use i3bar format for markup field.
9 years ago
Mykyta Holubakha a25c35f859 Passing missing argument to get_text_size
9 years ago
Drew DeVault 84fae94ab9 Flesh out pango markup implementation
9 years ago
crondog 9c42557b66 Stop swaybar crashing without args
9 years ago
Mikkel Oscar Lyderik d80466068a Handle swaybar using sway font
9 years ago
Mikkel Oscar Lyderik cefcce48aa Make client/pango.h not depend on client/window.h
9 years ago
Mikkel Oscar Lyderik af7a251806 Poll before wl_display_dispatch
9 years ago
Mikkel Oscar Lyderik e4c1176b72 Differentiate between all or no outputs
9 years ago
Mikkel Oscar Lyderik 6d57f03028 Make single bar handle multiple outputs
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Christoph Gysin a5345e807e extract cairo_set_source_u32()
9 years ago
Mikkel Oscar Lyderik 123de86001 swaybar: Fix plaintext handling.
9 years ago
Mikkel Oscar Lyderik 96935f2682 Fix colors off by one
9 years ago
Mikkel Oscar Lyderik ed227f5664 swaybar: move headers to include/bar
9 years ago
Mikkel Oscar Lyderik a61a27c485 swaybar: cleanup CmakeLists.txt
9 years ago
Mikkel Oscar Lyderik aa6ad09183 swaybar: rename state to bar
9 years ago
Mikkel Oscar Lyderik c6fc0033e1 swaybar: move core functionality to state.c
9 years ago
Mikkel Oscar Lyderik 6140f9c42c swaybar: Move swaybar_teardown to free_state
9 years ago
Mikkel Oscar Lyderik fcc47cb3bd swaybar: move ipc stuff to ipc.{h,c}
9 years ago
Mikkel Oscar Lyderik a6349a2444 swaybar: feactor render, statusline
9 years ago
Mikkel Oscar Lyderik bb986cb336 swaybar: Separate config
9 years ago
Christoph Gysin ac3f36c091 swaybar: add --help option
9 years ago
Christoph Gysin bba72fb21a swaybar: debug option takes no argument
9 years ago
Mikkel Oscar Lyderik 364e37a1eb Fix whitespace issues.
9 years ago
crondog 7f7e06d4c9 swaybar: fix logging
9 years ago
Mikkel Oscar Lyderik 576181ec09 swaybar: Implement workspace_buttons yes|no
9 years ago
Mikkel Oscar Lyderik aa2f754c64 swaybar: Implement binding_mode_indicator
9 years ago
Drew DeVault f2d519d0ba Merge pull request #427 from mikkeloscar/ipc-update
9 years ago
Mikkel Oscar Lyderik 7298a9c67a Add type to returned response.
9 years ago
Mikkel Oscar Lyderik a20226772e swaybar: rename ipc_listen_sock.. to ipc_event_sock..
9 years ago
Mikkel Oscar Lyderik c2f3530fab Only strip when starting with a num
9 years ago
Mikkel Oscar Lyderik ccdcdc3396 swaybar: Implement strip_workspace_numbers
9 years ago
Mikkel Oscar Lyderik 14dd358a55 saybar: remove stray logline
9 years ago
Mikkel Oscar Lyderik d72be6c0d5 swaybar: Add support for custom separator symbol
9 years ago
Drew DeVault 97a4f7ceac Merge pull request #409 from mikkeloscar/bar-airblade-features
9 years ago
Mikkel Oscar Lyderik 8955e5f1ad swaybar: Free unused IPC response
9 years ago
Mikkel Oscar Lyderik e7aef1e23c swaybar: if-else style fixes
9 years ago
Mikkel Oscar Lyderik d21b15a4be swaybar: Add support for Airblade i3bar extensions
9 years ago
Mikkel Oscar Lyderik 26d2381040 swaybar: remove random whitespaces
9 years ago
Mikkel Oscar Lyderik e370187394 swaybar: Fix json related crash.
9 years ago
crondog 8e8ec6d92b Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
progandy 21541e9e64 swaybar: Replace fgets with read and own buffer
9 years ago
crondog edd93b5b55 swaybar: min_width and align
9 years ago
progandy b66c51ea2c swaybar: fix array indices in i3json_handle
9 years ago
crondog bd74320da9 Stop swaybar from not rendering after the first go around
9 years ago
progandy 8fefdb3c64 swaybar: fix memory leaks
9 years ago
progandy d060d0a39f swaybar: add a visible separator between elements
9 years ago
progandy aa5930c966 swaybar: Improve i3bar proto implementation
9 years ago
progandy d37169a927 swaybar: fix whitespace
9 years ago
crondog 70b24fbb1f Clean up a bit
9 years ago
crondog d1f6f45cb3 Make start on i3bar json parsing
9 years ago
Mikkel Oscar Lyderik 5c8a3afff9 swaybar: Correct handling of SIGTERM.
9 years ago
Mikkel Oscar Lyderik 83eb8d16aa swaybar: Add font support
9 years ago
Mikkel Oscar Lyderik d373a193ac swaybar: pixel perfect layout
9 years ago
crondog da6cd3cef7 swaybar: use height from config
9 years ago
Mikkel Oscar Lyderik bc9b93f597 swaybar: use select instead of busyloop
9 years ago
crondog c8555f5813 swaybar: use position from config
9 years ago
Drew DeVault 859f2fea0c Just bail if ws_json is fucked up
9 years ago
Drew DeVault de2f3b393a Wow that was stupid
9 years ago
Drew DeVault d1e031025d I'm still getting crashes without this line
9 years ago
S. Christoffer Eliesen de219f6bec swaybar: ipc_update_ws: Fix memory corruption.
9 years ago
Drew DeVault a116eafaa4 Fix possible segfault in swaybar
9 years ago
S. Christoffer Eliesen 8a6e05d7a1 swaybar: Remove stropts.h, fixes build for fedora.
9 years ago
Mikkel Oscar Lyderik 529ee83ef6 swaybar: terminate status_command process
9 years ago
Drew DeVault d91185d67b Fix null dereference in swaybar
9 years ago
Mikkel Oscar Lyderik 0f7614306d swaybar: Check that registry is set before teardown
9 years ago
Drew DeVault adadb109a7 Only re-render swaybar when it has changed
9 years ago
Drew DeVault 5a9cc96446 Make swaybar a little quieter
9 years ago
Mikkel Oscar Lyderik 3bd388a307 Remove trailing whitespace
9 years ago
Mikkel Oscar Lyderik 1db4b4a8f5 Correct typo seperator -> separator
9 years ago
Kevin Hamacher a9f6cd0e17 Make swaybar run without status_command
9 years ago
Kevin Hamacher ce8b71415f Make swaybar check command arguments
9 years ago
Drew DeVault 1825cf32bf Apply color config from swaybar
9 years ago
Drew DeVault 473ac4531f [swaybar] Get bar config via IPC
9 years ago
Drew DeVault f80e7364b1 Parse command line in swaybar
9 years ago
Drew DeVault 93ac7d43a8 Fix rendering of borders on workspaces (swaybar)
9 years ago
Drew DeVault e277d4e094 Subscribe to workspace change events and redraw
9 years ago
Drew DeVault 7918feb9cd Display workspaces on swaybar
9 years ago
Drew DeVault 36bf4d24cf Free last line in swaybar
9 years ago
Drew DeVault 6596582bc3 Display output from a command on swaybar
9 years ago
Christoph Gysin cce9c338c0 cmake: build common code only once
9 years ago
Christoph Gysin c9ce15aa18 cmake: remove subprojects
9 years ago
Christoph Gysin 55b3532fe0 cmake: remove unnecessary quotes
9 years ago
Christoph Gysin 2dedf206d7 cmake: use out-of-source build
9 years ago
Christoph Gysin f7ec3d00a0 cmake: use tabs instead of spaces
9 years ago
Christoph Gysin 905966bcae cmake: style consistency
9 years ago
Christoph Gysin 2429266e3e cmake: convert all cmake commands to lowercase
9 years ago
Drew DeVault 82d464bb90 Add text rendering support to wayland clients
9 years ago
Drew DeVault e59cffcea2 Support desktop shell panels in compositor
9 years ago
Drew DeVault 60e76cf932 Add swaybar basics
9 years ago
Drew DeVault 63cf8e48c4 Add swaybar subproject
9 years ago