Skip to content
/ xmonitor Public

Simple utility to run scripts when monitors attach or detach

Notifications You must be signed in to change notification settings

Fuco1/xmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xmonitor

Simple utility deamon that listens to XRRScreenChangeNotifyEvent and runs scripts when external monitors are attached or detached.

Scripts are searched for in ~/.screenlayout/attach.d or ~/.screenlayout/detach.d; these directories are run with run-parts.

Usage

After you git-clone this repository run

make

Place your scripts in ~/.screenlayout/<event>.d (where <event> is either attach or detach), then run

./xmonitor

About

Simple utility to run scripts when monitors attach or detach

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published