sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit 676e1bd07e279790d44987cc6792ca6a3134c851
parent ad90a6045ad45ed73583b61e1be9f112f9e95eca
Author: Bastien Dejean <nihilhill@gmail.com>
Date:   Sat, 16 Mar 2013 19:21:28 +0100

Remove trailing spaces

Diffstat:
Mhotkeys.c | 2+-
Msxhkd.1 | 16++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/hotkeys.c b/hotkeys.c @@ -2384,7 +2384,7 @@ void grab_key_button_checked(xcb_keycode_t keycode, xcb_button_t button, uint16_ else err = xcb_request_check(dpy, xcb_grab_button_checked(dpy, false, root, XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION, XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC, XCB_NONE, XCB_NONE, button, modfield)); unsigned int value = (button == XCB_NONE ? keycode : button); - char *type = (button == XCB_NONE ? "key" : "button"); + char *type = (button == XCB_NONE ? "key" : "button"); if (err != NULL) { warn("Could not grab %s %u with modfield %u: ", type, value, modfield); if (err->error_code == XCB_ACCESS) diff --git a/sxhkd.1 b/sxhkd.1 @@ -41,23 +41,23 @@ General Syntax: COMMAND .EE .PP -Where +Where .I MODIFIER is one of the following names: .BR super , " hyper", " meta", " alt", " control", " ctrl", " shift", " mode_switch", " lock", " mod1", " mod2", " mod3", " mod4", " mod5" . .PP -If +If .I @ is added at the beginning of the keysym, the command will be run on key release events, otherwise on key press events. .PP -If +If .I ! is added at the beginning of the keysym, the command will be run on motion notify events and must contain two integer conversion specifications which will be replaced by the .BR x " and " y coordinates of the pointer relative to the root window referential (the only valid button keysyms for this type of hotkeys are: .BR button1 ",…, " button5 ). .PP -The keysym names are those your will get from +The keysym names are those your will get from .BR xev (1). .PP Mouse hotkeys can be defined by using one of the following special keysym names: @@ -77,10 +77,10 @@ where .IR A " and " Z are alphanumeric characters. .PP -What is actually executed is +What is actually executed is .IB SHELL " -c " .IR COMMAND , -which means you can use environment variables in +which means you can use environment variables in .IR COMMAND . .PP .I SHELL @@ -89,13 +89,13 @@ will be the content of the first defined environment variable in the following l .PP If .B sxhkd -receives a +receives a .I SIGUSR1 signal, it will reload its configuration file. .PP If no configuration file is specified through the .B -c -option, the following is used: +option, the following is used: .IR $XDG_CONFIG_HOME/sxhkd/sxhkdrc . .SH AUTHOR .MT baskerville@lavabit.com