From 5054d0060c0226509d40e3429a573b7e912a72a8 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 16 Jun 2020 21:41:58 +0530 Subject: Docs --- README.md | 14 ++++++++++++++ TODO.md | 3 +++ config.h | 6 +++--- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8313e66 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# 😈 Daemonic Keys +X-server Hot key daemon inspired by the suckless philosophy. + +## Installation + +Clone the repo and run + +``` +sudo make install +``` + +## Configuring + + diff --git a/TODO.md b/TODO.md index 4fb2d18..507fb60 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,8 @@ # TODO + - [ ] Some magic helpers for clean config - [ ] Add modes + - [ ] KeyPress and KeyRelease options + - [ ] Document stuff - [ ] Clean up build system - [ ] Fix installation - [ ] Create man page diff --git a/config.h b/config.h index 65e0766..1989e9b 100644 --- a/config.h +++ b/config.h @@ -1,10 +1,10 @@ // Shell static char shell[] = "sh"; -#define MOD Mod1Mask|ShiftMask +#define MOD Mod1Mask static Key keys[] = { - { MOD, XK_y, "notify-send hello" }, - { MOD, XK_z, "~/scripts/notify.sh wow" }, + { MOD|ShiftMask, XK_y, "notify-send hello" }, + { MOD|ShiftMask, XK_z, "~/scripts/notify.sh wow" }, }; -- cgit v1.3.1