Add copy last url on Alt+L

This commit is contained in:
2023-04-28 20:57:22 +05:00
parent b7726da6ef
commit 63d3bdd5ae
7 changed files with 89 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ char *termname = "st-256color";
*
* stty tabs
*/
unsigned int tabspaces = 8;
unsigned int tabspaces = 4;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
@@ -219,6 +219,7 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
{ MODKEY, XK_l, copyurl, {.i = 0} },
};
/*