X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fepist.cc;h=13f663c92c3bd695f8e86b939a08992207f51129;hb=4aeca296e895bfe74d59d4732e740c2d49c10080;hp=eea8502d9889b0209aa2ea9eba32fad2b89d7102;hpb=a16ae8733983b7e4c7733512cf1c5b9f2cb0b2db;p=chaz%2Fopenbox diff --git a/util/epist/epist.cc b/util/epist/epist.cc index eea8502d..13f663c9 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -118,6 +118,22 @@ epist::epist(char **argv, char *dpy_name, char *rc_file) XKeysymToKeycode(getXDisplay(), XStringToKeysym("Down")), Mod1Mask)); + _actions.push_back(Action(Action::moveWindowUp, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("Up")), + Mod1Mask | ControlMask, 1)); + _actions.push_back(Action(Action::moveWindowDown, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("Down")), + Mod1Mask | ControlMask, 1)); + _actions.push_back(Action(Action::moveWindowLeft, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("Left")), + Mod1Mask | ControlMask, 1)); + _actions.push_back(Action(Action::moveWindowRight, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("Right")), + Mod1Mask | ControlMask, 1)); _actions.push_back(Action(Action::iconify, XKeysymToKeycode(getXDisplay(), XStringToKeysym("I")), @@ -126,6 +142,18 @@ epist::epist(char **argv, char *dpy_name, char *rc_file) XKeysymToKeycode(getXDisplay(), XStringToKeysym("O")), Mod1Mask | ControlMask)); + _actions.push_back(Action(Action::toggleMaximizeHorizontal, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("X")), + ShiftMask | Mod1Mask)); + _actions.push_back(Action(Action::toggleMaximizeVertical, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("X")), + ShiftMask | ControlMask)); + _actions.push_back(Action(Action::toggleMaximizeFull, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("X")), + Mod1Mask | ControlMask)); _actions.push_back(Action(Action::changeWorkspace, XKeysymToKeycode(getXDisplay(), XStringToKeysym("1")),