Skip to content

zevlg/x-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

$ cat ~/.xinitrc

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

About

Xorg session agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published