Carl Klemm 569ce05dbb Split source into multiple files
SIGUSR1 now causes reload of blacklist
sigstoped now resumes all processes it stoped upon reciving SIGINT or SIGTERM
sigstoped avoids stopping processes that have no top level window left TODO: is this enough?
2020-06-05 12:14:37 +02:00
2020-06-05 12:14:37 +02:00
2020-06-05 12:14:37 +02:00
2020-06-05 12:14:37 +02:00
2020-06-05 12:14:37 +02:00
2020-06-04 18:41:22 +02:00
2020-06-05 12:14:37 +02:00
2020-06-05 12:14:37 +02:00
2020-06-05 12:14:37 +02:00

sigstoped

a user deamon that stops processes associated with background windows uses _NET_ACTIVE_WINDOW _NET_WM_PID WM_CLIENT_MACHINE and a blacklist to determine whitch processes to stop via SIGSTOP upon window swtich

usage:

  1. build
  2. create ~/.config/sigstoped/blacklist
  3. one proces name per line, nothing else
  4. run
Description
A user session deamon that stops processes associated with background X11 windows.
Readme 71 KiB
Languages
C++ 92.5%
C 5.6%
CMake 1.9%