Move to urxvt.

This commit is contained in:
Bartek Stalewski 2022-03-31 01:11:51 +02:00
parent 6a3d977f85
commit 1074c0acc2
3 changed files with 40 additions and 6 deletions

View file

@ -31,8 +31,8 @@ typedef struct {
const char *name;
const void *cmd;
} Sp;
const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
const char *spcmd2[] = {"st", "-n", "spwork", "-g", "120x34", NULL };
const char *spcmd1[] = {"urxvt", "-n", "spterm", "-g", "120x34", NULL };
const char *spcmd2[] = {"urxvt", "-n", "spwork", "-g", "120x34", NULL };
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
@ -48,7 +48,7 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating isterminal noswallow monitor */
{ NULL, NULL, "st", 0, 0, 1, 0, -1 },
{ NULL, NULL, "urxvt", 0, 0, 1, 0, -1 },
{ "firefox", NULL, NULL, 2, 0, 0, 1, -1 },
{ "Ferdi", NULL, NULL, 1 << 2, 0, 0, 0, -1 },
{ "Slack", NULL, NULL, 1 << 7, 0, 0, 0, -1 },
@ -103,8 +103,8 @@ static Key keys[] = {
TAGKEYS( XK_0, 9)
/* apps n'shit */
//{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_Return, spawn, SHCMD("BROWSER=firefox st") },
{ SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workfx st -n stwork") },
{ MODKEY, XK_Return, spawn, SHCMD("urxvt") },
{ SHTKEY, XK_Return, spawn, SHCMD("urxvt -name work") },
{ MODKEY, XK_space, spawn, SHCMD("dmenu_run -c -i -l 20") },
{ MODKEY, XK_i, spawn, SHCMD("scrot -f -s 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") },
{ SHTKEY, XK_i, spawn, SHCMD("scrot 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") },