add emojicopy

This commit is contained in:
speedie 2022-12-21 20:42:19 +01:00
parent 2ff761e7f7
commit 87a4dba0de
3 changed files with 1773 additions and 6 deletions

View file

@ -24,7 +24,6 @@ static Shortcut shortcuts[] = {
{ CONTROL, XK_Num_Lock, numlock, {.i = 0} },
{ CONTROL, XK_Escape, keyboardselect, {.i = 0} },
{ CONTROL|SHIFT, XK_H, kexec, {.scmd = ";st_help" } },
{ CONTROL|SHIFT, XK_E, kexec, {.scmd = ";$EDITOR" } },
{ CONTROL|SHIFT, XK_D, kexec, {.scmd = ";$PERM !!" } },
{ CONTROL|SHIFT, XK_F, kexec, {.scmd = ";$EDITOR $(find $HOME/.config -type f | fzf)" } },
{ CONTROL|SHIFT, XK_S, kexec, {.scmd = ";$EDITOR $(find $HOME/Scripts -type f | fzf)" } },
@ -33,4 +32,5 @@ static Shortcut shortcuts[] = {
{ CONTROL|SHIFT, XK_J, kscrolldown, {.i = -1} },
{ CONTROL|SHIFT, XK_U, externalpipeout,{.v = listurl } },
{ CONTROL|SHIFT, XK_C, externalpipeout,{.v = copyout } },
{ CONTROL|SHIFT, XK_E, externalpipeout,{.v = emojicopy } },
};

View file

@ -2,7 +2,7 @@
*
* This is a fork of suckless's st, a minimal in design, just works terminal emulator that by default does nothing more.
* Note that this terminal has a list of fonts (See 'Font options') that must be changed before installing.
*
*
* Additionally, if you use OpenBSD or FreeBSD, you must edit 'options.mk'.
* If you use GNU/Linux, you should be able to recompile st provided all dependencies are installed.
*
@ -10,11 +10,11 @@
*
* Font options
*/
static char *font[] = {
static char *font[] = {
"Fantasque Sans Mono:size=8:style=Bold:antialias=true:autohint=true",
"Terminus:size=8:style=Bold:antialias=true:autohint=true",
"DejaVu Sans Mono:size=8:antialias=true:autohint=true",
"Noto Color Emoji:size=7:antialias=true:autohint=true",
"Noto Color Emoji:size=7:antialias=true:autohint=true",
"fontawesome:size=8:antialias=true:autohint=true",
};
@ -69,7 +69,7 @@ int boxdraw_bold = 1; /* Draw boxdraw bold */
int boxdraw_braille = 0; /* Render braille as adjecent pixels */
/* Undercurl options
*
*
* Undercurl allows your terminal to draw undercurl instead of an underline.
* This looks nice to a lot of people.
*
@ -121,7 +121,7 @@ static int graddirection = 0; /* Direction of the gradient (0: down, 1: up)
*
* These should be in HTML color format.
* Most terminals will have 8 regular colors followed by 8 (usually) bright colors.
*
*
* Bright colors have the 'b' prefix and normal colors have the 'n' prefix.
* You can also set these through .Xresources.
*
@ -184,6 +184,7 @@ static unsigned int mousebg = 0; /* Background cursor color */
/* Externalpipe commands */
static char *listurl[] = { "/bin/sh", "-c", "st_urllist", NULL };
static char *copyout[] = { "/bin/sh", "-c", "st_copyout", NULL };
static char *emojicopy[] = { "/bin/sh", "-c", "st_emojicopy", NULL };
/* URL click command
*

1766
scripts/st_emojicopy Executable file

File diff suppressed because it is too large Load diff