diff --git a/dotfiles/.homepage.html b/dotfiles/.homepage.html new file mode 100644 index 00000000..a8140db1 --- /dev/null +++ b/dotfiles/.homepage.html @@ -0,0 +1 @@ +TEST HOMEPAGE diff --git a/programs/dwm/config.def.h b/programs/dwm/config.def.h index 5aaba32e..fa4eba0f 100644 --- a/programs/dwm/config.def.h +++ b/programs/dwm/config.def.h @@ -67,9 +67,10 @@ static const char *mutevol[] = { "/usr/bin/wpctl", "set-mute", "@DEFAULT_ /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; -static const char *termcmd[] = { "st", NULL }; +static const char *termcmd[] = { "tabbed", "-r", "2", "st", "-w", "''", NULL }; static const char *slockcmd[] = { "slock", NULL }; static const char *screenshotcmd[] = { "scrot", "--select", "--line", "mode=edge", NULL }; +static const char *surfcmd[] = { "tabbed", "-c", "-r", "2", "surf", "-e", "ID", ".homepage.html" }; static const Key keys[] = { /* Volume keys support */ @@ -82,6 +83,7 @@ static const Key keys[] = { { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = slockcmd } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } }, + { MODKEY, XK_w, spawn, {.v = surfcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, diff --git a/programs/dwm/config.h b/programs/dwm/config.h index 5aaba32e..fa4eba0f 100644 --- a/programs/dwm/config.h +++ b/programs/dwm/config.h @@ -67,9 +67,10 @@ static const char *mutevol[] = { "/usr/bin/wpctl", "set-mute", "@DEFAULT_ /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; -static const char *termcmd[] = { "st", NULL }; +static const char *termcmd[] = { "tabbed", "-r", "2", "st", "-w", "''", NULL }; static const char *slockcmd[] = { "slock", NULL }; static const char *screenshotcmd[] = { "scrot", "--select", "--line", "mode=edge", NULL }; +static const char *surfcmd[] = { "tabbed", "-c", "-r", "2", "surf", "-e", "ID", ".homepage.html" }; static const Key keys[] = { /* Volume keys support */ @@ -82,6 +83,7 @@ static const Key keys[] = { { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = slockcmd } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } }, + { MODKEY, XK_w, spawn, {.v = surfcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, diff --git a/programs/dwm/dwm b/programs/dwm/dwm index a4501770..bb3aa18f 100755 Binary files a/programs/dwm/dwm and b/programs/dwm/dwm differ