Desktop tools
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Přemysl Eric Janouch 37b6ce3560
wmstatus: try a bit harder to get openat()
4 months ago
liberty@d01a1ff034 Bump liberty 6 months ago
.clang-format Add clang-format configuration 2 years ago
.gitignore Update .gitignore 2 years ago
.gitmodules Bump liberty 6 years ago
CMakeLists.txt Don't install orphan supplementary files 5 months ago
LICENSE iexec: enable watching a different path 6 months ago
README.adoc CMakeLists.txt: improve portability 2 years ago
big-brother.c Bump liberty 3 years ago
brightness.c Name change 3 years ago
config.h.in Bump minimum CMake version to 3.0 3 years ago
ddc-ci.c Name change 3 years ago
fancontrol-ng.c Bump liberty 3 years ago
fancontrol-ng.conf.example Add fancontrol-ng 8 years ago
fancontrol-ng.service.in Add fancontrol-ng 8 years ago
gdm-switch-user.c Add gdm-switch-user, run by dwmstatus 8 years ago
iexec.c iexec: enable not exitting together with the child 6 months ago
input-switch.c input-switch: enable requesting current values 1 year ago
paswitch.c Punt poller-pa.c to liberty 2 years ago
priod.c Name change 3 years ago
priod.conf.example priod: systemd unit, configuration 7 years ago
priod.service.in priod: systemd unit, configuration 7 years ago
shellify shellify: avoid duplicating history entries 8 years ago
siprandom.c Name change 3 years ago
wmstatus-weather.pl wmstatus-weather.pl: update to use a newer API 2 years ago
wmstatus.c wmstatus: try a bit harder to get openat() 4 months ago

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.

Few of them are useful outside of Linux.

Packages

Regular releases are sporadic. git master should be stable enough.

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.