Commit Graph

131 Commits

Author SHA1 Message Date
Přemysl Eric Janouch bb4fdcd936
wmstatus: fix noise adjustment logic
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
It was possible to trigger an untracked playback stream.
2024-10-12 15:36:34 +02:00
Přemysl Eric Janouch d06beedcaa
CMakeLists.txt: install optional targets
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
2024-10-12 14:20:31 +02:00
Přemysl Eric Janouch dc3f0d6d05
elksmart-comm: add support for EKX5S-T
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
This device seems to be very picky about USB ports,
but at least learning is reliable,
and it uses the same protocol as EKX4S.
2024-10-12 14:02:30 +02:00
Přemysl Eric Janouch 9e91058ed9
Add elksmart-comm for transceiving infrared codes
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
The receive functionality is quite unstable,
however useful enough for something that is officially unsupported.

The gadget is picky about cables,
but it has ridiculous reach when it works.
2024-08-30 02:55:35 +02:00
Přemysl Eric Janouch fbc7454647
wmstatus: cleanup 2024-08-10 08:51:43 +02:00
Přemysl Eric Janouch 94bc8c251c
wmstatus: improve Sway forwards of xkb-lock-group
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
2024-08-08 14:58:02 +02:00
Přemysl Eric Janouch e83cfa3c15
Fix calloc argument order, add some consts 2024-08-08 14:39:28 +02:00
Přemysl Eric Janouch 29c89942ce
Bump liberty
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
2024-08-08 08:58:36 +02:00
Přemysl Eric Janouch 9042aeaa93
wmstatus: fix the binding parser
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
2024-08-07 18:30:46 +02:00
Přemysl Eric Janouch 180b16faee
wmstatus: add an option to import bindings to Sway
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
We still want to retain the ability to bind them on our own under X11.

With this, the Wayland situation has considerably improved,
but the activity watch and keyboard layout switching are still broken.
2024-08-07 17:01:35 +02:00
Přemysl Eric Janouch 674ea6d9a6
wmstatus: add IPC capabilities
Alpine 3.20 Success Details
OpenBSD 7.5 Success Details
And remove the odd prefix functionality.
2024-08-07 12:32:33 +02:00
Přemysl Eric Janouch 9ccdc3430c
wmstatus: make bindings configurable 2024-08-07 11:51:14 +02:00
Přemysl Eric Janouch 4a22708f52
wmstatus: move to libertyconf 2024-08-07 11:51:14 +02:00
Přemysl Eric Janouch 128ef14c39
wmstatus: round in noise playback setting
Alpine 3.19 Success Details
OpenBSD 7.3 Success Details
2024-04-17 00:42:55 +02:00
Přemysl Eric Janouch 9def673a2b
Install some binaries with the setuid bit
Alpine 3.19 Success Details
OpenBSD 7.3 Success Details
2024-03-27 08:26:49 +01:00
Přemysl Eric Janouch 36df9cc6c9
Fix gdm-switch-user build 2024-02-25 01:56:09 +01:00
Přemysl Eric Janouch d97a6e3f16
Bump liberty 2024-02-24 00:39:50 +01:00
Přemysl Eric Janouch e073fc400e
wmstatus: MPD play/toggle 2024-02-24 00:39:50 +01:00
Přemysl Eric Janouch fefeb242ae
wmstatus-weather.pl: fix weather icons
The API seems to have been removed entirely.
2024-01-19 04:31:52 +01:00
Přemysl Eric Janouch 37b6ce3560
wmstatus: try a bit harder to get openat() 2023-07-24 09:56:07 +02:00
Přemysl Eric Janouch 5c32057c42
wmstatus: fix an OpenBSD build warning
Note that _GNU_SOURCE is there to imply _DEFAULT_SOURCE, for BYTE_ORDER.
2023-07-04 07:24:24 +02:00
Přemysl Eric Janouch 87e5285622
Don't install orphan supplementary files 2023-07-04 02:46:33 +02:00
Přemysl Eric Janouch 7e30dfb6f0
iexec: enable not exitting together with the child 2023-06-19 19:06:37 +02:00
Přemysl Eric Janouch 4cc1baf429
iexec: enable watching a different path 2023-06-19 19:06:16 +02:00
Přemysl Eric Janouch 957aed63a8
iexec: cleanup 2023-06-19 19:06:08 +02:00
Přemysl Eric Janouch 59b78ebc5c
Bump liberty 2023-06-19 17:10:31 +02:00
Přemysl Eric Janouch c291e4b6ac
input-switch: enable requesting current values 2022-07-25 22:41:03 +02:00
Přemysl Eric Janouch 81c3c9ec3f
wmstatus: skip offline power supplies 2022-02-01 22:37:34 +01:00
Přemysl Eric Janouch fbc1f18393
Improve iexec's self-description 2021-12-30 03:21:01 +01:00
Přemysl Eric Janouch 4cad7806ab
CMakeLists.txt: improve portability
Also, stop lying in the README that this is present in AUR.
2021-11-07 17:21:27 +01:00
Přemysl Eric Janouch 6148d62ba2
Punt poller-pa.c to liberty
Now it also has tests in its new home.
2021-11-07 15:42:21 +01:00
Přemysl Eric Janouch 67bd22c154
poller-pa.c: abandon the idea of quitting the loop
There are no users of this API in practice,
and it prevents making the libpulse dependency optional.
2021-11-07 14:45:56 +01:00
Přemysl Eric Janouch 931ae4f82f
CMakeLists.txt: slightly modernize
If someone really wants this to work on ancient systems,
the fix should be easy.
2021-11-07 14:44:16 +01:00
Přemysl Eric Janouch d057e903b7
Re-evaluate BenQ input switching
The manufacturer-specific KVM feature is necessary,
because Input Source alone won't let me wake up
the particular computer's video output.
2021-11-06 03:32:07 +01:00
Přemysl Eric Janouch c6a93b5d9e
Bump liberty 2021-11-05 14:29:23 +01:00
Přemysl Eric Janouch 4a0e756235
wmstatus: rebind function keys
They sucked on OLKBs, now we're appropriating F1-F5 with modifiers.
2021-11-05 14:15:31 +01:00
Přemysl Eric Janouch 9dc1187b1c
input-switch: add a Thunderbolt magic constant 2021-11-05 13:38:46 +01:00
Přemysl Eric Janouch 135e279ca1
Update .gitignore 2021-10-30 03:33:46 +02:00
Přemysl Eric Janouch 34a0cedb1f
Add clang-format configuration 2021-10-30 02:58:28 +02:00
Přemysl Eric Janouch 2ea58abdf0
wmstatus-weather.pl: update to use a newer API
The old one has been obsoleted, and sometimes refuses to work.

The "classic" endpoint is, sadly, not fully backwards-compatible.
2021-10-08 23:09:19 +02:00
Přemysl Eric Janouch 83b4d96b15
wmstatus: rework battery reporting
Report "USB" and USB devices as well (SpaceMouse, Intuos),
make use of the "capacity" field everywhere.

Present read errors to the user, rather than spam the log.
2021-10-03 13:16:30 +02:00
Přemysl Eric Janouch 7dcad3424d
It turns out wmstatus works with sway as well
When Xwayland is running, that is.

There are a few issues, though, e.g. with the DPMS setting.
2021-07-24 23:18:06 +02:00
Přemysl Eric Janouch 8e0e84825f
wmstatus: add brown noise generation capabilities 2021-06-21 00:53:52 +02:00
Přemysl Eric Janouch 32a28fcaa3
wmstatus: make Win-S-Delete mute the microphone 2021-06-20 19:19:14 +02:00
Přemysl Eric Janouch 5f1b504d7f
wmstatus: don't use AltGr for bindings
Unreachable key combinations for my Planck's layout.
2020-11-07 20:41:36 +01:00
Přemysl Eric Janouch aec905b291
CMakeLists.txt: omit end{if,foreach} expressions
Their usefulness was almost negative.
2020-10-29 16:11:29 +01:00
Přemysl Eric Janouch 9e09ef39b7
Bump minimum CMake version to 3.0
A nice, round number.  This allows us to remove some boilerplate.
2020-10-26 18:44:08 +01:00
Přemysl Eric Janouch 68dd99bc63
CMakeLists.txt: cleanup
Many executables had completely unnecessary dependencies.
2020-10-26 18:39:42 +01:00
Přemysl Eric Janouch a48c2cf4e5
Bump liberty
The bugfixes in the config parser are worth it.

I might have slightly overused cstr_set().
2020-10-19 19:54:14 +02:00
Přemysl Eric Janouch f79a8d38fb
Name change 2020-09-28 05:02:35 +02:00