Commits
- Commit:
aedcc736985355c4444e7374d135a81df843b622- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
Makefile: Start preparing for compiling bxhkd with cproc.
- Add -std=c11 and -pedantic to CFLAGS
- Commit:
7d97a979175c3927126801f0475fbf234aa3c594- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
Makefile: Add man page install and uninstall.
- Commit:
d3cbf80c83fcfe278fc82b7d0ee16307f08b2a19- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
bxhkd.c: Reorder functions and add comments
- Edit existing comments for brevity and readability
- Organize forward function declarations based on function purpose
- Reorder functions to match order in forward declarations
- Commit:
e79c0991d924dd894c2c5d070736e1df9198beef- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
bxhkd.1: Initial commit.
- Commit:
44dbec001e057ba20d7cdd329cfe846a84c24f39- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
README.md: Initial commit.
- Commit:
9354c05637051b86f036acfea212e56eeb9f05c1- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
LICENSE.md: Add license.
- Commit:
de4513600176c4f91259db07d6173926bf19ed43- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
config.def.h: Reorder hotkeys.
- Commit:
f27627444f26a44ebcfce4a73dc9808b51463d9a- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
config.def.h: Add local flag to Hotkey struct for command dispatch.
- Add `local` field to Hotkey to distinguish between commands
executed locally by bxhkd (spawn) and commands sent to bxwm
over the socket (send_cmd).
- Replace abstract labels like "spawn_terminal" with actual
program names ("st", "st -e launchprogram") so the command
string is always the real thing to execute.
- Route "quit" to bxwm via socket (local=0) rather than
attempting local exec.
- Commit:
6a492bc4c54d87f4fa8e767141d0eba9d3f12e5f- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
bxhkd.c: Implement command dispatch and harden socket logic.
- Add dispatch logic in keypress() to route local commands
to spawn() and socket commands to send_cmd(), using the local
flag from theHotkey struct.
- Fix -Wsign-compare warning by changing loop variable to size_t.
- Add NULL check on getenv("HOME") in send_cmd().
- Mark send_cmd parameter as const.
- Replace hardcoded socket path with SOCKET_SUFFIX macro.
- Commit:
9b45b37e8940d2b156170ef7b6b9248d5119cd00- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
bxhkd.c:
- Add comments
- Add missing semi-colon in send_cmd() forward declaration
- Add functions to forward declarations
- Move main() from last position in functions to first position
- Consistent with main() first in other basix X programs
- Commit:
89fe2378e3abfb37b9da04e217741cbd48912050- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
bxhkd.c: Removed redundant comment.
- Commit:
91009a76b6a0313a1be930d77b9c79c312d0da61- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
bxhkd.c:
- Add included C header files.
- Create macros for LENGTH and SOCKET_SUFFIX.
- Set global variables.
- Set function forward declarations.
- Create functions for for key handling
- Create function for sending keypress commands
to window manager socket.
- Create functions for gracefully terminating and cleanup
(releasing keys and closing the X display).
- Create the main() function.
- Commit:
193276b680731f03b45f7fe6d86fcfe75f573466- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
config.def.h:
- Set standard and nonstandard modifier keys for
keyboard shortcuts.
- Create alias Hotkey for data types.
- Set key press commands.
- Commit:
a244005b82e8763a246451a035d0372e5aa1c4dc- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
Makefile: Set variables and build rules.
- Commit:
c0187e8710c518d632c35ae4f56cf9d12c3292c9- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
.gitignore: created file.
- Commit:
22b7fa8d1d94cea6e1497b844e3ce8d2d1ce6d7d- From:
- Brett Fisher <code@brettfisher.xyz>
- Date:
Initial import bxhkd project.
