X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=util%2Fepist%2Fepist.cc;fp=util%2Fepist%2Fepist.cc;h=6d122807c06d642dc06acd73ed5965955c43fd45;hb=3fd35d37e692edc703291a594de1928439de82eb;hp=7f8746342101387909dd4b98ad8a55705b795464;hpb=7493785c1710ae5e2695b58e3c8e2f9f3f922140;p=chaz%2Fopenbox diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 7f874634..6d122807 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -202,6 +202,11 @@ epist::epist(char **argv, char *dpy_name, char *rc_file) XKeysymToKeycode(getXDisplay(), XStringToKeysym("4")), Mod1Mask | ControlMask | ShiftMask, 3)); + _actions.push_back(Action(Action::execute, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("Escape")), + Mod1Mask | ControlMask, + "sleep 1 && xset dpms force off")); _actions.push_back(Action(Action::execute, XKeysymToKeycode(getXDisplay(), XStringToKeysym("space")),