Let's try live with kitty for a bit.

This commit is contained in:
Bartek Stalewski 2021-10-10 00:45:52 +02:00
parent 06eb30b3e7
commit 3916ce2a70
6 changed files with 1317 additions and 1490 deletions

View file

@ -30,7 +30,7 @@ typedef struct {
const char *name;
const void *cmd;
} Sp;
const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
const char *spcmd1[] = {"kitty", "--name", "spterm", "-g", "120x34", NULL };
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
@ -85,7 +85,7 @@ static const Layout layouts[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static const char *termcmd[] = { "st", NULL };
static const char *termcmd[] = { "kitty", NULL };
#include <X11/XF86keysym.h>
@ -120,8 +120,8 @@ static Key keys[] = {
{ SHTKEY, XK_m, zoom, {0} },
{ SHTKEY, XK_h, setmfact, {.f = -0.05} },
{ SHTKEY, XK_l, setmfact, {.f = +0.05} },
{ SHTKEY, XK_j, focusstack, {.i = +1 } },
{ SHTKEY, XK_k, focusstack, {.i = -1 } },
{ SHTKEY, XK_j, focusstack, {.i = -1 } },
{ SHTKEY, XK_k, focusstack, {.i = 11 } },
{ SHTKEY, XK_f, togglefloating, {0} },
{ SHTKEY, XK_equal, incnmaster, {.i = +1 } },
{ SHTKEY, XK_minus, incnmaster, {.i = -1 } },