Commit graph

  • 330ad48dfd module/i3: handle 'label' like an extra workspace called 'current' Daniel Eklöf 2019-02-09 21:48:28 +01:00
  • a3be2839e5 module/i3: avoid calling json_object_get_int() multiple times Daniel Eklöf 2019-02-09 16:58:08 +01:00
  • 83db675e01 module/i3: subscribe *before* requesting initial workspace list Daniel Eklöf 2019-02-09 13:14:08 +01:00
  • be4765fadd module/i3: 'dynlist' -> 'workspaces' Daniel Eklöf 2019-02-09 13:12:07 +01:00
  • 4100922b7a module/i3: allow 'content' to also contain a regular 'label' Daniel Eklöf 2019-02-09 13:06:36 +01:00
  • d565fbe2f0 module/i3: track active window title and application name Daniel Eklöf 2019-02-09 12:31:06 +01:00
  • 5ed6e0acbc module/i3: look for I3SOCK env variable before reading X properties Daniel Eklöf 2019-02-09 12:02:05 +01:00
  • 1c5d017dc3 Merge branch 'calloc-not-malloc' Daniel Eklöf 2019-02-10 12:29:14 +01:00
  • b6e61f9c7e modules: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 11:11:31 +01:00
  • 6bba9200cf particles: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 11:05:12 +01:00
  • 29e9cea1dd decorations: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 10:58:26 +01:00
  • 83591b9269 bar: use calloc() instead of malloc() Daniel Eklöf 2019-02-09 10:55:42 +01:00
  • ad3a33cf3d bar/wayland: do *not* enable keyboard interactivity Daniel Eklöf 2019-02-07 18:27:09 +01:00
  • 8b527e3fe5 main: load config from config.yml, not config-wayland.yml Daniel Eklöf 2019-02-07 13:48:41 +01:00
  • ac11638303 PKGBUILD: add new wayland dependencies Daniel Eklöf 2019-02-07 13:00:52 +01:00
  • 57cbde064c PKGCONFIG: add missing xcb-util-wm (for xcb-ewmh) dependency Daniel Eklöf 2019-02-07 13:00:34 +01:00
  • 3b1998a8e3 Merge branch 'wayland' Daniel Eklöf 2019-02-07 12:49:45 +01:00
  • 68727006f3 ci: checkout git submodules Daniel Eklöf 2019-02-07 12:47:42 +01:00
  • f85117431a ci: install wayland-protocols Daniel Eklöf 2019-02-07 12:45:37 +01:00
  • 4b0c4c669c cmake: ensure the wayland-protocols package is available Daniel Eklöf 2019-02-07 12:45:05 +01:00
  • a62c7e675c ci: *append* to repository list Daniel Eklöf 2019-02-07 12:43:08 +01:00
  • 4ee2afa48f ci: add x11-only, wayland-only and plugins-as-shared-libraries builds Daniel Eklöf 2019-02-07 12:41:00 +01:00
  • da3185dc79 ci: re-enable wayland port Daniel Eklöf 2019-02-07 12:40:24 +01:00
  • 719d4b95d0 ci: wlroots is available in the "testing" repo (edge only) Daniel Eklöf 2019-02-07 12:37:55 +01:00
  • 7ff0f5a2f3 cmake: need CMake >= 3.13 since we use target_link_options() Daniel Eklöf 2019-02-07 12:26:05 +01:00
  • 5884300b5b cmake: use target_link_options() instead of setting CMAKE_EXE_LINKER_FLAGS Daniel Eklöf 2019-02-07 12:25:01 +01:00
  • e4f3695f5e cmake: (maybe) build xcb-stuff STATIC library with -fPIC Daniel Eklöf 2019-02-07 12:24:20 +01:00
  • d185f7237d bar: cmake: remove trailing whitespace Daniel Eklöf 2019-02-07 12:09:38 +01:00
  • ccd5948585 bar: cmake: not necessary when building STATIC, but we do depend on threads Daniel Eklöf 2019-02-07 12:07:53 +01:00
  • ae5029826b cmake: break out bar stuff to separate CMakeLists.txt Daniel Eklöf 2019-02-07 12:06:16 +01:00
  • 76655bc944 bar/wayland: much improved error handling Daniel Eklöf 2019-02-07 11:51:42 +01:00
  • e48d90ae12 bar/xcb: cleanup: don't try to free NULL resources Daniel Eklöf 2019-02-07 11:51:26 +01:00
  • f71aaf9615 bar: call backend->cleanup() when backend->setup() fails Daniel Eklöf 2019-02-07 11:50:52 +01:00
  • 0fc5778107 bar/wayland: wl_* APIs typically don't handle destroy(NULL) Daniel Eklöf 2019-02-07 11:22:02 +01:00
  • a831490462 modules: fix strncpy calls to ensure strings are NULL-terminated Daniel Eklöf 2019-02-06 18:10:06 +01:00
  • 0e3866186f plugin: for now, the defines *all* use the word PLUGIN Daniel Eklöf 2019-02-06 18:09:48 +01:00
  • 4a064ebfff bar/wayland: fix includes Daniel Eklöf 2019-02-06 18:04:32 +01:00
  • dbce871d27 module/i3: dynamically grow receive buffer when needed Daniel Eklöf 2019-02-06 16:30:46 +01:00
  • ed7b6e20d3 cmake: add function that generates custom commands for wayland protocols Daniel Eklöf 2019-02-06 16:13:24 +01:00
  • 9383142858 cmake: manually run pkg-config --variable=pkgdatadir wayland-protocols Daniel Eklöf 2019-02-06 16:01:18 +01:00
  • da062f26d5 cmake: remove hardcoded, local, path Daniel Eklöf 2019-02-06 15:41:21 +01:00
  • 70499654a3 module/i3: delay bar refresh until all received events have been processed Daniel Eklöf 2019-02-06 15:39:11 +01:00
  • 6562cb61df cmake: don't try to link againt xcb-errors when we didn't find it Daniel Eklöf 2019-02-03 20:09:02 +01:00
  • 63618b8fab ci: no working wayland dev environment on CI Daniel Eklöf 2019-02-03 20:07:03 +01:00
  • 727d7b343f cmake: initial support for building wayland-only, or x11-only Daniel Eklöf 2019-02-03 20:05:44 +01:00
  • f3b225adf7 make: let pkg_check_module() create targets Daniel Eklöf 2019-02-03 19:27:03 +01:00
  • 578c76326d cmake: pull in wlr-layer-shell-unstable-v1 from wlroots git submodule Daniel Eklöf 2019-02-03 19:12:58 +01:00
  • 73c62e9797 bar/wayland: cleanup Daniel Eklöf 2019-02-03 17:45:26 +01:00
  • 38c87ad165 ci: nein Daniel Eklöf 2019-02-03 17:35:29 +01:00
  • c7c378d844 ci: again Daniel Eklöf 2019-02-03 17:34:15 +01:00
  • 9ad7626b3f ci: how about now? Daniel Eklöf 2019-02-03 17:32:24 +01:00
  • 92d165e7e6 ci: switch to alpine:edge, which has wlroots Daniel Eklöf 2019-02-03 17:29:41 +01:00
  • 29b57bcc48 bar/wayland: call on_mouse() directly from listeners Daniel Eklöf 2019-02-03 15:28:32 +01:00
  • 85a1940e47 bar/wayland: free XDG outputs, and manager, in cleanup() Daniel Eklöf 2019-02-03 15:16:19 +01:00
  • c6fd99f005 bar/wayland: track XDG outputs, as this gets us the monitor identifiers Daniel Eklöf 2019-02-03 15:10:26 +01:00
  • c226f9f0c8 bar/wayland: initial support for multiple monitors Daniel Eklöf 2019-02-03 13:55:21 +01:00
  • 47ac57dd03 bar/wayland: cursor support Daniel Eklöf 2019-02-03 13:13:10 +01:00
  • 130043a259 bar/wayland: comment out most of the debug logging Daniel Eklöf 2019-02-03 12:21:42 +01:00
  • 8e769b491a module/i3: try SWAYSOCK before falling back to I3_SOCKET_PATH Daniel Eklöf 2019-02-03 12:20:59 +01:00
  • ed8e17c6c9 wayland: mucho wip: initial sort-of-working wayland backend Daniel Eklöf 2019-02-03 11:08:53 +01:00
  • ff88d87ca8 cmake: build bar XCB backend as a (static) library Daniel Eklöf 2019-01-29 21:46:54 +01:00
  • ffa4448b3c ci: build as much as possible Daniel Eklöf 2019-01-29 21:39:16 +01:00
  • 785fe8bb0c main: poll() return value is unused in release builds Daniel Eklöf 2019-01-29 21:38:21 +01:00
  • deb9105d3e main: move xcb_init() call to bar's XCB backend Daniel Eklöf 2019-01-29 21:37:38 +01:00
  • 9239d4298c main: drop xcb dependency Daniel Eklöf 2019-01-29 21:35:38 +01:00
  • 404a7a7dcd bar: xcb: remove unneeded braces Daniel Eklöf 2019-01-29 21:05:51 +01:00
  • 7f1567c973 bar: do generic cursor stuff in bar, not in backend Daniel Eklöf 2019-01-29 21:05:28 +01:00
  • 0684aaaf95 bar: xcb: cleanup Daniel Eklöf 2019-01-29 21:03:13 +01:00
  • 4954479e11 bar: generic setup shouldn't be done by a backend Daniel Eklöf 2019-01-29 21:02:10 +01:00
  • c2e7b1c507 bar: remove more includes that aren't needed anymore Daniel Eklöf 2019-01-29 21:01:16 +01:00
  • 36201e251e bar: no xcb stuff needed directly by bar anymore Daniel Eklöf 2019-01-29 21:00:27 +01:00
  • 88daaf0ab7 bar: wip: define a 'backend' interface Daniel Eklöf 2019-01-29 20:59:25 +01:00
  • f37dfbc727 module/mpd: free strdup:ed path string Daniel Eklöf 2019-01-29 20:58:55 +01:00
  • 2d104e4a7d bar: break out 'private' struct definition to a header file Daniel Eklöf 2019-01-29 20:20:11 +01:00
  • aa21991323 bar: move C file to subdirectory Daniel Eklöf 2019-01-29 20:18:37 +01:00
  • f5aebc07ef bar: break out all XCB specific code to separate functions Daniel Eklöf 2019-01-29 20:09:07 +01:00
  • 8d1afd027b module/xkb: initialize indicators Daniel Eklöf 2019-01-27 22:05:00 +01:00
  • 452c4b6015 plugins: export a const function pointer interface struct Daniel Eklöf 2019-01-26 18:32:04 +01:00
  • 37266ae419 log: colorize console output only when stdout is a tty Daniel Eklöf 2019-01-26 15:14:45 +01:00
  • 4e03dca051 log: for now, only log errors and warnings to syslog Daniel Eklöf 2019-01-26 14:56:26 +01:00
  • a146bed317 Merge branch 'syslog' Daniel Eklöf 2019-01-26 14:54:20 +01:00
  • 735ab8daa6 log: always log to both console and syslog Daniel Eklöf 2019-01-26 14:54:04 +01:00
  • 89a61eed7b log: add internal function that logs to syslog Daniel Eklöf 2019-01-26 14:53:28 +01:00
  • 453364e9f8 log: constructor/destructor to initialize/close syslog Daniel Eklöf 2019-01-26 14:52:56 +01:00
  • 1fe847cb4e log: remove dead code Daniel Eklöf 2019-01-26 14:52:40 +01:00
  • 18ba3723d4 module/i3: avoid stack-allocating large buffers Daniel Eklöf 2019-01-26 13:19:02 +01:00
  • a827cc80d4 cmake: make sure we can find i3/ipc.h Daniel Eklöf 2019-01-26 12:30:14 +01:00
  • 969d51037f Merge branch 'string-can-format-as-hex-and-octal' Daniel Eklöf 2019-01-21 21:06:02 +01:00
  • 3f6030df68 tag: add support for "hex" and "oct" format modifiers Daniel Eklöf 2019-01-21 21:05:38 +01:00
  • 1152f161e1 README: improve description of "realtime" tags Daniel Eklöf 2019-01-21 20:46:48 +01:00
  • f71251502c README: highlighting Daniel Eklöf 2019-01-21 20:46:38 +01:00
  • 6d659b6a24 README: document tags, and the available types Daniel Eklöf 2019-01-21 20:31:32 +01:00
  • be13eb4980 Merge branch 'string-supports-tag-range' Daniel Eklöf 2019-01-21 20:15:46 +01:00
  • a0ecc1ff03 tag: add support for "min", "max" and "unit" tag arguments Daniel Eklöf 2019-01-21 20:15:04 +01:00
  • 7936e197af tag: add support for an optional tag argument in a tag format string Daniel Eklöf 2019-01-21 20:14:25 +01:00
  • 09fcedc33f tag: pull in logging Daniel Eklöf 2019-01-21 20:14:09 +01:00
  • a4c13b1978 README: indent alsa example Daniel Eklöf 2019-01-21 19:59:00 +01:00
  • b99e3d8ea2 README: document the alsa module Daniel Eklöf 2019-01-21 19:58:17 +01:00
  • a5980cd3d3 README: document common module configuration attributes Daniel Eklöf 2019-01-21 19:57:53 +01:00
  • 451a450cec README: cleanup bar configuration table Daniel Eklöf 2019-01-21 19:57:25 +01:00