Commit Graph

47 Commits

Author SHA1 Message Date
f26cfd3bb5 wmstatus: don't spam X session logs without MPD
All checks were successful
Alpine 3.21 Success
OpenBSD 7.6 Success
Allow and default to setting the MPD address to null.
2025-08-10 00:22:22 +02:00
bb4fdcd936 wmstatus: fix noise adjustment logic
All checks were successful
Alpine 3.20 Success
OpenBSD 7.5 Success
It was possible to trigger an untracked playback stream.
2024-10-12 15:36:34 +02:00
fbc7454647 wmstatus: cleanup 2024-08-10 08:51:43 +02:00
94bc8c251c wmstatus: improve Sway forwards of xkb-lock-group
All checks were successful
Alpine 3.20 Success
OpenBSD 7.5 Success
2024-08-08 14:58:02 +02:00
29c89942ce Bump liberty
All checks were successful
Alpine 3.20 Success
OpenBSD 7.5 Success
2024-08-08 08:58:36 +02:00
9042aeaa93 wmstatus: fix the binding parser
All checks were successful
Alpine 3.20 Success
OpenBSD 7.5 Success
2024-08-07 18:30:46 +02:00
180b16faee wmstatus: add an option to import bindings to Sway
All checks were successful
Alpine 3.20 Success
OpenBSD 7.5 Success
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
674ea6d9a6 wmstatus: add IPC capabilities
All checks were successful
Alpine 3.20 Success
OpenBSD 7.5 Success
And remove the odd prefix functionality.
2024-08-07 12:32:33 +02:00
9ccdc3430c wmstatus: make bindings configurable 2024-08-07 11:51:14 +02:00
4a22708f52 wmstatus: move to libertyconf 2024-08-07 11:51:14 +02:00
128ef14c39 wmstatus: round in noise playback setting
All checks were successful
Alpine 3.19 Success
OpenBSD 7.3 Success
2024-04-17 00:42:55 +02:00
e073fc400e wmstatus: MPD play/toggle 2024-02-24 00:39:50 +01:00
37b6ce3560 wmstatus: try a bit harder to get openat() 2023-07-24 09:56:07 +02:00
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
81c3c9ec3f wmstatus: skip offline power supplies 2022-02-01 22:37:34 +01:00
6148d62ba2 Punt poller-pa.c to liberty
Now it also has tests in its new home.
2021-11-07 15:42:21 +01:00
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
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
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
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
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
8e0e84825f wmstatus: add brown noise generation capabilities 2021-06-21 00:53:52 +02:00
32a28fcaa3 wmstatus: make Win-S-Delete mute the microphone 2021-06-20 19:19:14 +02:00
5f1b504d7f wmstatus: don't use AltGr for bindings
Unreachable key combinations for my Planck's layout.
2020-11-07 20:41:36 +01:00
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
f79a8d38fb Name change 2020-09-28 05:02:35 +02:00
1e7857dfdd wmstatus: bind standby/insomnia also to F4 2019-02-13 12:55:16 +01:00
bb0366e8d2 Add paswitch: PulseAudio output switcher
Initial commit.  It does what it's supposed to but it's very buggy.
2018-10-28 15:42:32 +01:00
2d66313208 Relicense to 0BSD, update mail address
I've come to the conclusion that copyright mostly just stands in the way
of software development.  In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.

The updated mail address, also used in my author/committer lines,
is shorter and looks nicer.  People rarely interact anyway.
2018-06-24 03:16:12 +02:00
a6fe2c4c67 wmstatus: playlist controls for avrcp 2017-08-30 00:22:22 +02:00
dce2bb72a2 Bump liberty 2017-07-05 22:25:43 +02:00
cca674789b wmstatus: add a sleep timer
Since GNOME Settings Daemon doesn't work.
2017-05-15 20:15:32 +02:00
aed4436ed7 wmstatus: add insomniac mode 2017-05-14 19:39:51 +02:00
7e730c42bd wmstatus: add a shortcut for DPMS standby 2017-05-08 12:37:26 +02:00
a573709635 wmstatus: allow running a slave command
For various nonsense that would be hard to implement in C.

We've discovered a few bugs because of this so all's good.
2017-05-07 09:30:00 +02:00
6a9383403c wmstatus: don't try to spawn with setpgid(0, 0)
I cannot imagine a scenario where we want the child to be independent.

It didn't work anyway because *instead* of the call we should have
set a flag to call setpgid(), we were just reestablishing the defaults.
2017-05-06 22:30:54 +02:00
ba8657d8fe wmstatus: simplify spawning
MPD and NUT sockets are FD_CLOEXEC already, do the same with Xlib.
2017-05-06 22:10:05 +02:00
3d855284ec wmstatus: integrate input-source 2017-02-09 20:17:49 +01:00
db16f5d1da Bump liberty 2017-01-23 23:39:01 +01:00
53f474c05e wmstatus: errors must go to stderr 2017-01-11 08:13:48 +01:00
662945360e wmstatus: use bold formatting in i3
Instead of that fuck ugly quoting.

Keep using quoting in dwm as I still may want to decide to run it.
2017-01-03 17:53:57 +01:00
7c16d99758 wmstatus: don't show battery percentage >= 100% 2017-01-03 17:32:41 +01:00
833ef8fe97 wmstatus: nicer MPD player status chars 2017-01-03 17:32:36 +01:00
5fdeaa3531 wmstatus: fix invocation of "brightness" 2017-01-01 13:58:27 +01:00
047db4eb8c Fix battery reporting on Dells 2017-01-01 05:01:57 +01:00
ae0c29559c Try to fix OBS build 2016-12-30 15:52:59 +01:00
617bc12ea2 dwmstatus: add i3bar support, rename to wmstatus 2016-12-30 13:00:20 +01:00