diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 14:23:09 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 14:23:09 +0100 |
| commit | 5d331ca804c730065a9e82dd262f634fed5b84fb (patch) | |
| tree | 4d7dab20a8d6cad74a56c613306ac7161e351634 | |
| parent | Update e-mail (diff) | |
| download | xkbdbind-master.tar.gz xkbdbind-master.tar.bz2 xkbdbind-master.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | README | 4 | ||||
| -rw-r--r-- | config.h | 4 | ||||
| -rw-r--r-- | config.mk | 4 | ||||
| -rw-r--r-- | xkbdbind.1 | 4 |
5 files changed, 12 insertions, 12 deletions
@@ -13,12 +13,12 @@ xkbdbind: $(OBJ) $(HDR) $(CC) -o $@ $(OBJ) $(LDFLAGS) .c.o: - $(CC) -c -o $@ $< $(CFLAGS) + $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) install: xkbdbind - mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" - mkdir -p -- "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)" - mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" + mkdir -p -- "$(DESTDIR)$(PREFIX)/bin/" + mkdir -p -- "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)/" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/" cp -- xkbdbind "$(DESTDIR)$(PREFIX)/bin/" cp -- $(OBJ:.o=.c) $(HDR) Makefile "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)/" test ! -e -- "$(DESTDIR)$(PREFIX)/src/$(PACKAGE)/config.mk" @@ -8,7 +8,7 @@ DESCRIPTION xkbdbind lets the user configure keybindings to start programs. - xkbdbind is a configured by the user by editing the + xkbdbind is configured by the user by editing the config.h source file and recompiling the program. The user shall therefore have a local copy of the software, and a personal installation of it. Thus, xkbdbind is @@ -17,4 +17,4 @@ DESCRIPTION Download xkbdbind to ~/.local/src/xkbdbind, run make(1) in ~/.local/src/xkbdbind, link ~/.local/bin/xkbdbind to ~/.local/src/xkbdbind/xkbdbind, and add ~/.local/bin to - PATthe H environment variable if you haven't already. + the PATH environment variable if you haven't already. @@ -3,10 +3,10 @@ /* Column 1: Key to press (definitions are available in /usr/include/X11/keysymdef.h) * - * Column 2: Modifies to combine with the keypress + * Column 2: Modifiers to combine with the keypress * (OR of MOD_SHIFT, MOD_CTRL, MOD_ALT, MOD_HYPER, MOD_SUPER, MOD_ALTGR) * - * Column 3: Non-zero if the command shall be spawn repeatedly if the key is held down + * Column 3: Non-zero if the command shall be spawned repeatedly if the key is held down * * Column 4: The command to spawn. Each argument shall be its own string, there is * no shell syntax, and all arguments shall be wrapped in a CMD, e.g. @@ -1,4 +1,4 @@ -PREFIX = /usr +PREFIX = /usr MANPREFIX = $(PREFIX)/share/man PACKAGE = xkbdbind @@ -6,5 +6,5 @@ PACKAGE = xkbdbind CC = c99 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -CFLAGS = -Wall -O2 $(CPPFLAGS) +CFLAGS = LDFLAGS = -lxcb -lxcb-keysyms @@ -1,4 +1,4 @@ -.TH XKBDBIND 1 xkbdbind +.TH XKBDBIND 1 XKBDBIND .SH NAME xkbdbind - global hotkeys for X .SH SYNOPSIS @@ -7,7 +7,7 @@ xkbdbind - global hotkeys for X .B xkbdbind lets the user configure keybindings to start programs. .PP -xkbdbind is a configured by the user by editing the +xkbdbind is configured by the user by editing the .I config.h source file and recompiling the program. The user shall therefore have a local copy of the software, and a personal |
