Skip to content

Commit

Permalink
released at 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpcpc authored Mar 14, 2021
1 parent bfefa23 commit 10ebcac
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 239 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.8] - 2021-03-14
### Fixed
- free(ev), which is called erroneously when ev might equal NULL.

## [0.1.7] - 2021-03-03
### Fixed
- Memory leak due to xcb_wait_for_event() not being freed.
Expand Down
20 changes: 10 additions & 10 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@

/* ALIASED COMMANDS
* Each space delimited argument should be passed as an additional
* value to the character pointer array. For example, to run
* value to the character pointer array. For example, to run
* "foo -a bar", the array would be "{ "foo", "-a", "bar", NULL }".
* Since execvp() is a variadic functions, each argument pointer must
* be terminated by a NULL pointer.
*/

static char * termcmd[] = { "st", NULL };
static char * menucmd[] = { "dmenu_run", NULL };
static char * browcmd[] = { "surf", "https://startpage.com", NULL };
static char *termcmd[] = { "st", NULL };
static char *menucmd[] = { "dmenu_run", NULL };
static char *browcmd[] = { "surf", "https://startpage.com", NULL };

/* KEY ALIASES
* In general, one shortcut key should exist per alias. For more key
* definitions, refer to the keysymdef.h and XF86keysym.h headers.
*/

static Key keys[] = {
{ MOD1, 0x0062, spawn, browcmd }, /* 0x0062 = XK_b */
{ MOD1, 0xff0d, spawn, termcmd }, /* 0xff0d = XK_Enter */
{ MOD1, 0x0020, spawn, menucmd }, /* 0x0020 = XK_space */
{ MOD1, 0x0066, fullclient, NULL }, /* 0x0066 = XK_f */
{ MOD1, 0x0071, killclient, NULL }, /* 0x0071 = XK_q */
{ MOD1|MOD2, 0x0071, closewm, NULL } /* 0x0071 = XK_q */
{ MOD1, 0x0062, spawn, browcmd }, /* 0x0062 = XK_b */
{ MOD1, 0xff0d, spawn, termcmd }, /* 0xff0d = XK_Enter */
{ MOD1, 0x0020, spawn, menucmd }, /* 0x0020 = XK_space */
{ MOD1, 0x0066, fullclient, NULL }, /* 0x0066 = XK_f */
{ MOD1, 0x0071, killclient, NULL }, /* 0x0071 = XK_q */
{ MOD1|MOD2, 0x0071, closewm, NULL } /* 0x0071 = XK_q */
};
Loading

0 comments on commit 10ebcac

Please sign in to comment.