Commit Graph

93 Commits

Author SHA1 Message Date
34a0cedb1f Add clang-format configuration 2021-10-30 02:58:28 +02:00
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
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
aec905b291 CMakeLists.txt: omit end{if,foreach} expressions
Their usefulness was almost negative.
2020-10-29 16:11:29 +01:00
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
68dd99bc63 CMakeLists.txt: cleanup
Many executables had completely unnecessary dependencies.
2020-10-26 18:39:42 +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
ab135c58c4 Bump liberty 2020-09-28 05:02:08 +02:00
1e7857dfdd wmstatus: bind standby/insomnia also to F4 2019-02-13 12:55:16 +01:00
510a53b845 paswitch: fix M-Esc 2019-02-13 12:53:25 +01:00
6e67469e3f paswitch: actually exit the program on error 2018-11-10 07:06:03 +01:00
7143225fc5 paswitch: remember to install the binary 2018-10-28 19:19:40 +01:00
da2899f721 paswitch: add robustness 2018-10-28 19:16:22 +01:00
1f36351ab7 paswitch: avoid information duplication
And miscellaneous cleanup.
2018-10-28 19:04:51 +01:00
bdacb48fb9 Bump liberty 2018-10-28 15:42:32 +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
f19fca85ec Update README 2018-06-24 03:16:16 +02: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
157c002d2f Bump liberty 2018-06-24 03:15:20 +02:00
f155275d21 iexec: fix linkage 2017-08-30 00:22:22 +02:00
a6fe2c4c67 wmstatus: playlist controls for avrcp 2017-08-30 00:22:22 +02:00
902b06e84c iexec: wait until executability 2017-07-18 23:06:13 +02:00
5c46d82954 priod: make sure it compiles on older kernels 2017-07-18 23:05:43 +02:00
047a55640c Add iexec 2017-07-06 12:45:58 +02:00
38300c0375 CMakeLists.txt: suppress a new warning 2017-07-05 22:26:02 +02:00
dce2bb72a2 Bump liberty 2017-07-05 22:25:43 +02:00
22e259a680 CMakeLists.txt: fix variable name 2017-07-05 22:05:38 +02:00
f26e6eeba5 priod: initialize properly 2017-07-05 22:05:07 +02:00
1fa6f95135 priod: systemd unit, configuration 2017-07-05 22:05:07 +02:00
456c362811 priod: finish basic operation 2017-07-05 20:46:14 +02:00
7713850987 priod: in-kernel packet filtering 2017-07-05 15:02:29 +02:00
5b334e4111 priod: PoC skeleton 2017-07-05 03:22:24 +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
8fe6b1c8a9 Add wmstatus-weather.pl 2017-05-07 12:06:58 +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
9e437bd921 input-switch: fix typo in error message 2017-02-09 20:25:53 +01:00
f22283ae89 Fix a useless compiler warning 2017-02-09 20:20:32 +01:00
3d855284ec wmstatus: integrate input-source 2017-02-09 20:17:49 +01:00
fee703567f Add input-switch
Moving common stuff for DDC/CI communicating programs to ddc-ci.c.
2017-02-09 20:12:09 +01:00
dba39bb612 Fix and update LICENSE 2017-02-03 23:11:02 +01:00
db16f5d1da Bump liberty 2017-01-23 23:39:01 +01:00