Desktop tools
Go to file
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
liberty@34f86651f6 Bump liberty 2021-11-05 14:29:23 +01:00
.clang-format Add clang-format configuration 2021-10-30 02:58:28 +02:00
.gitignore Update .gitignore 2021-10-30 03:33:46 +02:00
.gitmodules Bump liberty 2018-06-24 03:15:20 +02:00
CMakeLists.txt CMakeLists.txt: slightly modernize 2021-11-07 14:44:16 +01:00
LICENSE wmstatus: add brown noise generation capabilities 2021-06-21 00:53:52 +02:00
README.adoc It turns out wmstatus works with sway as well 2021-07-24 23:18:06 +02:00
big-brother.c Bump liberty 2020-10-19 19:54:14 +02:00
brightness.c Name change 2020-09-28 05:02:35 +02:00
config.h.in Bump minimum CMake version to 3.0 2020-10-26 18:44:08 +01:00
ddc-ci.c Name change 2020-09-28 05:02:35 +02:00
fancontrol-ng.c Bump liberty 2020-10-19 19:54:14 +02:00
fancontrol-ng.conf.example Add fancontrol-ng 2016-01-26 21:52:15 +01:00
fancontrol-ng.service.in Add fancontrol-ng 2016-01-26 21:52:15 +01:00
gdm-switch-user.c Add gdm-switch-user, run by dwmstatus 2016-01-27 20:22:49 +01:00
iexec.c Bump liberty 2020-10-19 19:54:14 +02:00
input-switch.c Re-evaluate BenQ input switching 2021-11-06 03:32:07 +01:00
paswitch.c Bump liberty 2020-10-19 19:54:14 +02:00
poller-pa.c Name change 2020-09-28 05:02:35 +02:00
priod.c Name change 2020-09-28 05:02:35 +02:00
priod.conf.example priod: systemd unit, configuration 2017-07-05 22:05:07 +02:00
priod.service.in priod: systemd unit, configuration 2017-07-05 22:05:07 +02:00
shellify shellify: avoid duplicating history entries 2016-02-10 23:08:09 +01:00
siprandom.c Name change 2020-09-28 05:02:35 +02:00
wmstatus-weather.pl wmstatus-weather.pl: update to use a newer API 2021-10-08 23:09:19 +02:00
wmstatus.c Re-evaluate BenQ input switching 2021-11-06 03:32:07 +01:00

README.adoc

desktop-tools

desktop-tools is a collection of tools to run my desktop that might be useful to other people as well:

  • 'wmstatus' does literally everything i3/sway dont but Id like them to. It includes PulseAudio volume management and custom-made NUT and MPD clients, all in the name of liberation from GPL-licensed software, of course

  • 'paswitch' displays a list of all PulseAudio sinks and ports and allows switching between them, moving all playing inputs

  • 'brightness' allows me to change the brightness of w/e display device I have

  • 'input-switch' likewise switches the input source of external displays

  • 'fancontrol-ng' is a clone of fancontrol that can handle errors on resume from suspend instead of setting fans to maximum speed and quitting; in general it doesnt handle everything the original does

  • 'priod' sets process CPU, I/O and OOM killer priorities automatically according to configuration

  • 'shellify' is a simple script that sets up a shell for commands like vgdb and nmcli that are painfully lacking it

  • 'iexec' runs a program and attempts to restart it cleanly when the executable file is replaced on the disk

  • 'gdm-switch-user' tells the running GDM daemon, if any, to show the switch user screen

  • 'siprandom' uses the SipHash 2-4 algorithm to produce a stream of pseudo-random data; it should be fast enough to saturate most devices

  • 'big-brother' tracks the title of the active window and the idle state of the user and writes these events to standard output.

Dont expect them to work under any OS that isnt Linux.

Packages

Regular releases are sporadic. git master should be stable enough. You can get a package with the latest development version from Archlinuxs AUR.

Building

Build dependencies: CMake, pkg-config, liberty (included)
Runtime dependencies: libpulse, libx11, dbus-1, libgdm (optional)

$ git clone --recursive https://git.janouch.name/p/desktop-tools.git
$ mkdir desktop-tools/build
$ cd desktop-tools/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
$ make

To install the applications, you can do either the usual:

# make install

Or you can try telling CMake to make a package for you. For Debian it is:

$ cpack -G DEB
# dpkg -i desktop-tools-*.deb

Contributing and Support

Use https://git.janouch.name/p/desktop-tools to report bugs, request features, or submit pull requests. git send-email is tolerated. If you want to discuss the project, feel free to join me at ircs://irc.janouch.name, channel #dev.

Bitcoin donations are accepted at: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9

License

This software is released under the terms of the 0BSD license, the text of which is included within the package along with the list of authors.