Commit graph

1601 commits

Author SHA1 Message Date
Daniel Eklöf
6794193791
Merge branch 'plugin-compile-time-optional' 2022-12-14 11:03:16 +01:00
Daniel Eklöf
95b1f5f261
modules: meson: regression: it’s ‘libudev’, not ‘udev’ 2022-12-14 11:01:05 +01:00
Daniel Eklöf
b22614ecc3
ci (woodpecker): add pipewire-dev to x86 builds
Before this, it was only added in the x64 builds
2022-12-14 10:54:26 +01:00
Daniel Eklöf
c4cc1b7a36
changelog: all modules are now compile-time optional 2022-12-14 10:30:20 +01:00
Daniel Eklöf
a53e48a2c1
doc: meson: only install man pages for modules we actually build 2022-12-14 10:29:08 +01:00
Daniel Eklöf
a5e79d14b7
pkgbuild: add pipewire dependency 2022-12-14 10:18:18 +01:00
Daniel Eklöf
690bd630a2
plugin: use auto-generated defines for enabled plugins 2022-12-14 10:16:54 +01:00
Daniel Eklöf
9ef6d73663
meson: make ‘foreign-toplevel’ plugin compile time optional 2022-12-14 10:08:48 +01:00
Daniel Eklöf
56b0047004
meson: make ‘river’ plugin compile time optional 2022-12-14 10:05:23 +01:00
Daniel Eklöf
1a81255579
meson: make ‘xwindow’ plugin compile time optional 2022-12-14 10:02:13 +01:00
Daniel Eklöf
a14d38b0cb
meson: make ‘xkb’ plugin compile time optional 2022-12-14 09:58:45 +01:00
Daniel Eklöf
b6450446a8
meson: make ‘sway-xkb’ plugin compile time optional 2022-12-14 09:53:24 +01:00
Daniel Eklöf
0cf0d64970
meson: pipewire-specific ‘json’ dependency 2022-12-14 09:50:22 +01:00
Daniel Eklöf
ec9ed66b6b
meson: make ‘script’ plugin compile time optional 2022-12-14 09:48:50 +01:00
Daniel Eklöf
eb26f64ea7
meson: make ‘removables’ plugin compile time optional 2022-12-14 09:46:08 +01:00
Daniel Eklöf
b901ac50ee
meson: make ‘network’ plugin compile time optional 2022-12-14 09:43:14 +01:00
Daniel Eklöf
8d5e8b5f20
meson: make ‘label’ plugin compile time optional 2022-12-14 09:41:44 +01:00
Daniel Eklöf
f54f583be1
meson: make ‘i3’ plugin compile time optional 2022-12-14 09:39:47 +01:00
Daniel Eklöf
85d55905f9
meson: make ‘mem’ plugin compile time optional 2022-12-14 09:36:48 +01:00
Daniel Eklöf
659b282445
meson: make ‘disk-io’ plugin compile time optional 2022-12-14 09:36:45 +01:00
Daniel Eklöf
b23365ccac
meson: make ‘cpu’ plugin compile time optional 2022-12-14 09:32:04 +01:00
Daniel Eklöf
25e123fbe6
meson: make ‘clock’ plugin compile time optional 2022-12-14 09:32:04 +01:00
Daniel Eklöf
aeef3eca0e
meson: make ‘battery’ plugin compile time optional 2022-12-14 09:32:04 +01:00
Daniel Eklöf
881359183f
meson: make ‘backlight’ plugin compile time optional 2022-12-13 16:47:48 +01:00
Daniel Eklöf
4c1398f1a5
meson: make ‘alsa’ plugin compile time optional 2022-12-13 16:41:50 +01:00
Daniel Eklöf
f8f0d7ae99
meson_options: sort plugin options 2022-12-13 16:36:55 +01:00
Daniel Eklöf
49576a26bf
readme: add ‘dwl’ to list of plugins 2022-12-13 16:33:56 +01:00
Daniel Eklöf
9b93b0794a
Merge branch 'i3-workspace-rename'
Closes #216
2022-12-13 16:27:40 +01:00
Daniel Eklöf
266a2efbb6
changelog: sway: workspace ‘move’ and ‘rename’ events 2022-12-13 16:25:55 +01:00
Timur Celik
24a3b90a01
modules: Implement workspace move event
Implementing the move event required to pass the IPC socket to
`i3_ipc_callback_t`, because we won't get notified about any visibility
changes of other workspaces.  That's why we query all workspaces again
after a focused workspace was moved.
2022-12-13 16:21:55 +01:00
Timur Celik
8f89545b32
modules: Warn for all unknown workspace events 2022-12-13 16:19:11 +01:00
Timur Celik
bbd2394601
modules: Implement workspace rename event
A renamed workspace caused yambar to abort in a failed assertion,
because workspace lookup was done by name and the `rename` event was not
implemented.  To resolve this issue this patch implements the `rename`
event and as a necessity changes workspace_lookup() to use ids instead
of names.
2022-12-13 16:16:16 +01:00
Daniel Eklöf
6fa9c47c0b
meson: summary: dwl: Wayland with upper case ‘W’ 2022-12-13 16:00:07 +01:00
Daniel Eklöf
7ddd009a5c
meson: sort plugin list in summary output 2022-12-13 15:59:40 +01:00
Daniel Eklöf
4631e75e28
meson: require version >= 0.59
Required by feature_option.allowed()
2022-12-13 15:58:59 +01:00
Ogromny
f5cfc103d0
modules/dwl: new module 2022-12-13 15:56:16 +01:00
Daniel Eklöf
6027b2728b
ci (sr.ht): it’s pulseaudio-dev, not libpulse-dev 2022-12-13 10:47:07 +01:00
Daniel Eklöf
bd607d7697
ci: install pipewire-dev; should ensure we build the pipewire plugin 2022-12-13 10:45:08 +01:00
Daniel Eklöf
302e0d5cc6
ci (sr.ht): install ‘dev’ version of “libpulse” 2022-12-13 10:42:53 +01:00
Ogromny
19a9f099e2 modules/pipewire: new module 2022-12-13 10:16:58 +01:00
Willem van de Krol
dcf21f0b06 modules: add pulse
The pulse module shows information about PulseAudio sinks and sources.
2022-12-12 18:51:28 +01:00
Daniel Eklöf
54c70bb6ad
readme: add missing modules to list of modules 2022-12-12 16:53:10 +01:00
Daniel Eklöf
f9fa43845e
changelog: ‘map’ changes: add ref to 182 2022-12-11 18:44:24 +01:00
Daniel Eklöf
ec86a7d290
ci (sr.ht): add flex+bison 2022-12-11 18:33:07 +01:00
Daniel Eklöf
3c3a881638
ci (gitlab): add flex+bison 2022-12-11 18:32:52 +01:00
Leonardo Gibrowski Faé
4a41d4296a
Implement '&&' and '||' operators on map
'-' is a valid character for tags.

Commit 03e1c7d (module/network: Add link stats, 2022-04-30) introduced
two new tags for the network module: `ul-speed` and `dl-speed`. These
use the `-` character, that was previously never used in any tag.

We had two options: either change those tags to use `_` instead, or just
accept `-`s as a valid character. Going forward, I can see many people
deciding to name their tags with `-` instead of `_`, so I believe it is
better to just accept it once and for all.

Note that `-` cannot be used as the first character of a tag (e.g.
`-tag1`) since the `-` has a special meaning in `.yml` files. I don't
believe this will happen often, however, and should be easy to both
detect and correct if it does.
2022-12-10 22:53:30 -03:00
Daniel Eklöf
463b39b56d
changelog: line-wrap long line 2022-12-09 15:25:29 +01:00
Leonardo Gibrowski Faé
87854fa101
float tag: let user specify number of decimals
Closes #200
2022-12-09 15:24:59 +01:00
Daniel Eklöf
8deac539ef
module/river: new workaround for river issue 69
River seat status events are not fired if the river interface is bound
before the output globals are (despite
zriver_status_manager_v1_get_river_seat_status() not taking an output
as argument). See https://github.com/riverwm/river/issues/69 for
details.

Up until now, we had a workaround for this, where we deferred binding
the seat status interface until after all globals have been processed.

This did not help with runtime changes. For example, if a monitor is
turned off/on (with e.g. wlr-randr), all future river seat status
output events were lost, since the new output global was being
bound *after* the river seat status object.

This patch implements a new workaround, where we re-bind the river
seat status interface every time an output global is added.
2022-10-27 15:59:32 +02:00
Daniel Eklöf
794b1ed633
module/river: fix broken debug log 2022-10-27 15:59:09 +02:00