A user session deamon that stops processes associated with background X11 windows.
Find a file
2020-06-05 13:14:11 +02:00
CMakeLists.txt Link to -lstdc++fs 2020-06-05 12:58:43 +02:00
debug.h Split source into multiple files 2020-06-05 12:14:37 +02:00
main.cpp increase timeout 2020-06-05 13:14:11 +02:00
process.cpp Split source into multiple files 2020-06-05 12:14:37 +02:00
process.h Split source into multiple files 2020-06-05 12:14:37 +02:00
README.md Create README.md 2020-06-04 18:41:22 +02:00
split.h Split source into multiple files 2020-06-05 12:14:37 +02:00
xinstance.cpp Split source into multiple files 2020-06-05 12:14:37 +02:00
xinstance.h Split source into multiple files 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