An open API service indexing awesome lists of open source software.

https://github.com/zevlg/x-agent

Xorg session agent
https://github.com/zevlg/x-agent

Last synced: about 2 months ago
JSON representation

Xorg session agent

Awesome Lists containing this project

README

          

# x-agent
Xorg session agent

`x-agent` starts sibling window manager process(`WM`) and provides
keybinds to control this process. If `WM` crashes or exits for some
reason, `x-agent` starts `WM` again.

Handy for window manager developers.

## x-agent keybindings

* C-Sh-F6 - Kill `WM` with SIGABORT signal, this will cause
`WM` to dump core for futher investigation.
* C-Sh-F9 - Kill `WM` with SIGKILL signal, this will cause
`WM` to always exit.
* C-Sh-F11 - Kill `WM` with SIGTERM signal, this will cause
`WM` to terminate normally.
* C-Sh-ESC - Exit x-agent.

## Example of using x-agent with [EXWM](https://github.com/ch11ng/exwm)

`$ cat ~/.xinitrc`
```console
xrdb -merge $HOME/.Xdefaults
xmodmap $HOME/.Xmodmap

xset s off -dpms
xset m 5 3
xset r rate 250 50

unclutter -idle 1 &
xterm &
exec x-agent -f $HOME/.emacs.d/emacs.log -- emacs -L $HOME/.emacs.d/modules
```