2019-09-16 07:35:57 +00:00
|
|
|
/*
|
|
|
|
* This file contains patch control flags.
|
|
|
|
*
|
|
|
|
* In principle you should be able to mix and match any patches
|
|
|
|
* you may want. In cases where patches are logically incompatible
|
|
|
|
* one patch may take precedence over the other as noted in the
|
|
|
|
* relevant descriptions.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Patches */
|
|
|
|
|
|
|
|
/* The alpha patch adds transparency for the terminal.
|
2020-06-05 11:43:14 +00:00
|
|
|
* You need to uncomment the corresponding line in config.mk to use the -lXrender library
|
|
|
|
* when including this patch.
|
2019-09-16 07:35:57 +00:00
|
|
|
* https://st.suckless.org/patches/alpha/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define ALPHA_PATCH 0
|
2019-09-16 07:35:57 +00:00
|
|
|
|
2021-05-09 12:40:30 +00:00
|
|
|
/* The alpha focus highlight patch allows the user to specify two distinct opacity values or
|
|
|
|
* background colors in order to easily differentiate between focused and unfocused terminal
|
|
|
|
* windows. This depends on the alpha patch.
|
|
|
|
* https://github.com/juliusHuelsmann/st-focus/
|
|
|
|
* https://st.suckless.org/patches/alpha_focus_highlight/
|
|
|
|
*/
|
|
|
|
#define ALPHA_FOCUS_HIGHLIGHT_PATCH 0
|
|
|
|
|
2021-02-15 13:38:06 +00:00
|
|
|
/* Adds gradient transparency to st, depends on the alpha patch.
|
|
|
|
* https://st.suckless.org/patches/gradient/
|
|
|
|
*/
|
|
|
|
#define ALPHA_GRADIENT_PATCH 0
|
|
|
|
|
2021-10-14 09:57:44 +00:00
|
|
|
/* This patch allows st to resize to any pixel size rather than snapping to character width/height.
|
2019-09-16 07:35:57 +00:00
|
|
|
* https://st.suckless.org/patches/anysize/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define ANYSIZE_PATCH 0
|
2019-09-16 07:40:40 +00:00
|
|
|
|
2020-10-23 08:14:00 +00:00
|
|
|
/* This patch aims to prevent black bars being drawn on the edges of st terminals using the anysize
|
|
|
|
* patch. This generally only occurs when the terminal background color doesn't match the colors
|
|
|
|
* set in st's config.h file, for example when using terminal theming scripts such as base16.
|
|
|
|
* (I have not found this to be working, but adding for reference. May reduce flickering on
|
|
|
|
* terminal resizes.)
|
|
|
|
* https://github.com/connor-brooks/st-anysize-nobar
|
|
|
|
*/
|
|
|
|
#define ANYSIZE_NOBAR_PATCH 0
|
|
|
|
|
2021-07-29 10:22:44 +00:00
|
|
|
/* A simple variant of the anysize patch that only changes the resize hints to allow the window to
|
|
|
|
* be resized to any size.
|
|
|
|
*/
|
|
|
|
#define ANYSIZE_SIMPLE_PATCH 0
|
|
|
|
|
2022-03-10 10:37:49 +00:00
|
|
|
/* Draws a background image in farbfeld format in place of the defaultbg color allowing for pseudo
|
|
|
|
* transparency.
|
|
|
|
* https://st.suckless.org/patches/background_image/
|
|
|
|
*/
|
|
|
|
#define BACKGROUND_IMAGE_PATCH 0
|
|
|
|
|
2021-05-08 08:13:20 +00:00
|
|
|
/* This patch allows the use of a blinking cursor.
|
|
|
|
* Only cursor styles 0, 1, 3, 5, and 7 blink. Set cursorstyle accordingly.
|
|
|
|
* Cursor styles are defined here:
|
|
|
|
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
|
|
|
|
* https://st.suckless.org/patches/blinking_cursor/
|
|
|
|
*/
|
|
|
|
#define BLINKING_CURSOR_PATCH 0
|
|
|
|
|
2019-09-16 07:40:40 +00:00
|
|
|
/* By default bold text is rendered with a bold font in the bright variant of the current color.
|
|
|
|
* This patch makes bold text rendered simply as bold, leaving the color unaffected.
|
|
|
|
* https://st.suckless.org/patches/bold-is-not-bright/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define BOLD_IS_NOT_BRIGHT_PATCH 0
|
|
|
|
|
2021-06-27 06:58:14 +00:00
|
|
|
/* This patch adds custom rendering of lines/blocks/braille characters for gapless alignment.
|
2019-09-17 06:53:00 +00:00
|
|
|
* https://st.suckless.org/patches/boxdraw/
|
|
|
|
*/
|
|
|
|
#define BOXDRAW_PATCH 0
|
2019-09-16 07:51:41 +00:00
|
|
|
|
|
|
|
/* By default st only sets PRIMARY on selection.
|
|
|
|
* This patch makes st set CLIPBOARD on selection.
|
|
|
|
* https://st.suckless.org/patches/clipboard/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define CLIPBOARD_PATCH 0
|
2019-09-16 08:40:16 +00:00
|
|
|
|
2021-07-26 08:16:54 +00:00
|
|
|
/* This patch allows st to be resized without cutting off text when the terminal window is
|
|
|
|
* made larger again. Text does not wrap when the terminal window is made smaller.
|
|
|
|
*
|
|
|
|
* The vim browse patch takes precedence over this patch.
|
|
|
|
*
|
|
|
|
* https://github.com/bakkeby/st-flexipatch/issues/34
|
|
|
|
*/
|
|
|
|
#define COLUMNS_PATCH 0
|
|
|
|
|
2019-09-16 08:40:16 +00:00
|
|
|
/* Select and copy the last URL displayed with Mod+l. Multiple invocations cycle through the
|
|
|
|
* available URLs.
|
|
|
|
* https://st.suckless.org/patches/copyurl/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define COPYURL_PATCH 0
|
2019-09-16 08:40:16 +00:00
|
|
|
|
|
|
|
/* Select and copy the last URL displayed with Mod+l. Multiple invocations cycle through the
|
|
|
|
* available URLs. This variant also highlights the selected URLs.
|
|
|
|
* https://st.suckless.org/patches/copyurl/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH 0
|
2019-09-16 08:40:16 +00:00
|
|
|
|
2021-08-18 08:07:42 +00:00
|
|
|
/* This patch adds support for CSI escape sequences 22 and 23, which save and
|
|
|
|
* restores the window title (for instance nvim does this when opening and closing).
|
|
|
|
* https://st.suckless.org/patches/csi_22_23/
|
|
|
|
*/
|
|
|
|
#define CSI_22_23_PATCH 0
|
|
|
|
|
2021-05-11 14:35:30 +00:00
|
|
|
/* According to the specification (see link in BLINKING_CURSOR_PATCH) the "Set cursor style
|
|
|
|
* (DECSCUSR), VT520." escape sequences define both values of 0 and 1 as a blinking block,
|
|
|
|
* with 1 being the default.
|
|
|
|
*
|
|
|
|
* This patch allows the default cursor to be set when value 0 is used, as opposed to
|
|
|
|
* setting the cursor to a blinking block.
|
|
|
|
*
|
|
|
|
* This allows a command like this to restore the cursor to what st is configured with:
|
|
|
|
* $ echo -ne "\e[ q"
|
|
|
|
*
|
|
|
|
* While many terminal emulators do this it is not adhering to specification. xterm is an
|
|
|
|
* example terminal that sets a blinking block instead of the configured one, same as st.
|
|
|
|
*/
|
|
|
|
#define DEFAULT_CURSOR_PATCH 0
|
|
|
|
|
2021-05-08 14:57:59 +00:00
|
|
|
/* Return BS on pressing backspace and DEL on pressing the delete key.
|
|
|
|
* https://st.suckless.org/patches/delkey/
|
|
|
|
*/
|
|
|
|
#define DELKEY_PATCH 0
|
|
|
|
|
2019-09-16 08:40:16 +00:00
|
|
|
/* This patch adds the option of disabling bold fonts globally.
|
|
|
|
* https://st.suckless.org/patches/disable_bold_italic_fonts/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define DISABLE_BOLD_FONTS_PATCH 0
|
2019-09-16 08:40:16 +00:00
|
|
|
|
|
|
|
/* This patch adds the option of disabling italic fonts globally.
|
|
|
|
* https://st.suckless.org/patches/disable_bold_italic_fonts/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define DISABLE_ITALIC_FONTS_PATCH 0
|
2019-09-16 08:40:16 +00:00
|
|
|
|
|
|
|
/* This patch adds the option of disabling roman fonts globally.
|
|
|
|
* https://st.suckless.org/patches/disable_bold_italic_fonts/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define DISABLE_ROMAN_FONTS_PATCH 0
|
2019-09-16 10:40:07 +00:00
|
|
|
|
2021-02-26 13:33:03 +00:00
|
|
|
/* This patch makes the cursor color the inverse of the current cell color.
|
|
|
|
* https://st.suckless.org/patches/dynamic-cursor-color/
|
|
|
|
*/
|
|
|
|
#define DYNAMIC_CURSOR_COLOR_PATCH 0
|
|
|
|
|
2019-09-16 23:18:44 +00:00
|
|
|
/* Reading and writing st's screen through a pipe, e.g. pass info to dmenu.
|
|
|
|
* https://st.suckless.org/patches/externalpipe/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define EXTERNALPIPE_PATCH 0
|
2019-09-16 23:18:44 +00:00
|
|
|
|
2020-04-20 11:06:39 +00:00
|
|
|
/* This patch improves and extends the externalpipe patch in two ways:
|
|
|
|
* - it prevents the reset of the signal handler set on SIGCHILD, when
|
|
|
|
* the forked process that executes the external process exits and
|
|
|
|
* - it adds the externalpipein function to redirect the standard output
|
|
|
|
* of the external command to the slave size of the pty, that is, as if
|
|
|
|
* the external program had been manually executed on the terminal
|
|
|
|
*
|
|
|
|
* It can be used to send desired escape sequences to the terminal with a
|
|
|
|
* keyboard shortcut. The patch was created to make use of the dynamic-colors
|
|
|
|
* tool that uses the OSC escape sequences to change the colors of the terminal.
|
|
|
|
*
|
2020-04-20 10:43:04 +00:00
|
|
|
* This patch depends on EXTERNALPIPE_PATCH being enabled.
|
2020-04-20 11:06:39 +00:00
|
|
|
*
|
|
|
|
* https://github.com/sos4nt/dynamic-colors
|
|
|
|
* https://lists.suckless.org/hackers/2004/17218.html
|
2020-04-20 10:43:04 +00:00
|
|
|
*/
|
2020-04-20 11:06:39 +00:00
|
|
|
#define EXTERNALPIPEIN_PATCH 0
|
2020-04-20 10:43:04 +00:00
|
|
|
|
2019-11-21 09:18:47 +00:00
|
|
|
/* This patch allows command line applications to use all the fancy key combinations
|
|
|
|
* that are available to GUI applications.
|
2019-09-17 06:53:00 +00:00
|
|
|
* https://st.suckless.org/patches/fix_keyboard_input/
|
|
|
|
*/
|
|
|
|
#define FIXKEYBOARDINPUT_PATCH 0
|
2019-09-16 10:40:07 +00:00
|
|
|
|
2020-03-21 15:41:43 +00:00
|
|
|
/* This patch allows you to add spare font besides the default. Some glyphs can be not present in
|
|
|
|
* the default font. For this glyphs st uses font-config and try to find them in font cache first.
|
|
|
|
* This patch append fonts defined in font2 variable to the beginning of the font cache.
|
|
|
|
* So they will be used first for glyphs that are absent in the default font.
|
|
|
|
* https://st.suckless.org/patches/font2/
|
|
|
|
*/
|
|
|
|
#define FONT2_PATCH 0
|
|
|
|
|
2019-09-16 10:40:07 +00:00
|
|
|
/* Hide the X cursor whenever a key is pressed and show it back when the mouse is moved in
|
|
|
|
* the terminal window.
|
|
|
|
* https://st.suckless.org/patches/hidecursor/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define HIDECURSOR_PATCH 0
|
|
|
|
|
2021-06-09 07:54:50 +00:00
|
|
|
/* This patch hides the terminal cursor when the window loses focus (as opposed to showing a hollow
|
|
|
|
* cursor).
|
|
|
|
* https://www.reddit.com/r/suckless/comments/nvee8h/how_to_hide_cursor_in_st_is_there_a_patch_for_it/
|
|
|
|
*/
|
|
|
|
#define HIDE_TERMINAL_CURSOR_PATCH 0
|
|
|
|
|
2020-03-29 13:38:16 +00:00
|
|
|
/* This patch adds a keybinding that lets you invert the current colorscheme of st.
|
|
|
|
* This provides a simple way to temporarily switch to a light colorscheme if you use a dark
|
|
|
|
* colorscheme or visa-versa.
|
|
|
|
* https://st.suckless.org/patches/invert/
|
|
|
|
*/
|
|
|
|
#define INVERT_PATCH 0
|
|
|
|
|
2019-09-17 06:53:00 +00:00
|
|
|
/* Pressing the default binding Ctrl+Shift-i will popup dmenu, asking you to enter a unicode
|
|
|
|
* codepoint that will be converted to a glyph and then pushed to st.
|
|
|
|
* https://st.suckless.org/patches/iso14755/
|
|
|
|
*/
|
|
|
|
#define ISO14755_PATCH 0
|
|
|
|
|
|
|
|
/* This patch allows you to select text on the terminal using keyboard shortcuts.
|
|
|
|
* https://st.suckless.org/patches/keyboard_select/
|
|
|
|
*/
|
|
|
|
#define KEYBOARDSELECT_PATCH 0
|
2019-09-16 10:40:07 +00:00
|
|
|
|
2020-06-05 11:43:14 +00:00
|
|
|
/* This patch adds support for drawing ligatures using the Harfbuzz library to transform
|
|
|
|
* original text of a single line to a list of glyphs with ligatures included.
|
|
|
|
* This patch depends on the Harfbuzz library and headers to compile.
|
2021-05-09 13:06:02 +00:00
|
|
|
* You need to uncomment the corresponding lines in config.mk to use the harfbuzz library
|
2020-06-05 11:43:14 +00:00
|
|
|
* when including this patch.
|
|
|
|
* https://github.com/cog1to/st-ligatures
|
|
|
|
* https://st.suckless.org/patches/ligatures/
|
|
|
|
*/
|
|
|
|
#define LIGATURES_PATCH 0
|
|
|
|
|
2020-10-23 08:14:00 +00:00
|
|
|
/* This patch makes st ignore terminal color attributes by forcing display of the default
|
|
|
|
* foreground and background colors only - making for a monochrome look. Idea ref.
|
|
|
|
* https://www.reddit.com/r/suckless/comments/ixbx6z/how_to_use_black_and_white_only_for_st/
|
|
|
|
*/
|
|
|
|
#define MONOCHROME_PATCH 0
|
|
|
|
|
2021-05-08 12:49:59 +00:00
|
|
|
/* This patch sets the _NET_WM_ICON X property with a hardcoded icon for st.
|
|
|
|
* https://st.suckless.org/patches/netwmicon/
|
|
|
|
*/
|
|
|
|
#define NETWMICON_PATCH 0
|
|
|
|
|
2019-09-16 10:40:07 +00:00
|
|
|
/* This patch allows you to spawn a new st terminal using Ctrl-Shift-Return. It will have the
|
|
|
|
* same CWD (current working directory) as the original st instance.
|
|
|
|
* https://st.suckless.org/patches/newterm/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define NEWTERM_PATCH 0
|
2019-09-16 10:40:07 +00:00
|
|
|
|
|
|
|
/* Open contents of the clipboard in a user-defined browser.
|
|
|
|
* https://st.suckless.org/patches/open_copied_url/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define OPENCOPIED_PATCH 0
|
|
|
|
|
2021-07-07 08:08:43 +00:00
|
|
|
/* This patch allows for URLs to be opened directly when you click on them. This may not work with
|
|
|
|
* all terminal applications.
|
|
|
|
*
|
|
|
|
* https://www.reddit.com/r/suckless/comments/cc83om/st_open_url/
|
|
|
|
*/
|
|
|
|
#define OPENURLONCLICK_PATCH 0
|
|
|
|
|
2019-09-17 06:53:00 +00:00
|
|
|
/* This patch allows you to specify a border that is relative in size to the width of a cell
|
|
|
|
* in the terminal.
|
|
|
|
* https://st.suckless.org/patches/relativeborder/
|
|
|
|
*/
|
|
|
|
#define RELATIVEBORDER_PATCH 0
|
|
|
|
|
|
|
|
/* This patch allows you to right-click on some selected text to send it to the plumbing
|
|
|
|
* program of choice, e.g. open a file, view an image, open a URL.
|
|
|
|
* https://st.suckless.org/patches/right_click_to_plumb/
|
|
|
|
*/
|
|
|
|
#define RIGHTCLICKTOPLUMB_PATCH 0
|
2019-09-16 10:40:07 +00:00
|
|
|
|
2019-09-16 13:31:58 +00:00
|
|
|
/* Scroll back through terminal output using Shift+{PageUp, PageDown}.
|
|
|
|
* https://st.suckless.org/patches/scrollback/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define SCROLLBACK_PATCH 0
|
2019-09-16 13:31:58 +00:00
|
|
|
|
|
|
|
/* Scroll back through terminal output using Shift+MouseWheel.
|
|
|
|
* This variant depends on SCROLLBACK_PATCH being enabled.
|
|
|
|
* https://st.suckless.org/patches/scrollback/
|
|
|
|
*/
|
|
|
|
#define SCROLLBACK_MOUSE_PATCH 0
|
|
|
|
|
|
|
|
/* Scroll back through terminal output using mouse wheel (when not in MODE_ALTSCREEN).
|
|
|
|
* This variant depends on SCROLLBACK_PATCH being enabled.
|
|
|
|
* https://st.suckless.org/patches/scrollback/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define SCROLLBACK_MOUSE_ALTSCREEN_PATCH 0
|
2019-09-16 13:31:58 +00:00
|
|
|
|
2020-06-26 13:01:30 +00:00
|
|
|
/* This is the single drawable buffer patch as outlined in the FAQ to get images
|
|
|
|
* in w3m to display. While this patch does not break the alpha patch it images
|
|
|
|
* are not shown in w3m if the alpha patch is applied.
|
|
|
|
*/
|
|
|
|
#define SINGLE_DRAWABLE_BUFFER_PATCH 0
|
|
|
|
|
2021-03-10 17:09:47 +00:00
|
|
|
/* This patch adds SIXEL graphics support for st.
|
|
|
|
* Note that patch/sixel.c/sixel_hls.c come from mintty, licensed under GPL.
|
|
|
|
* Known issues:
|
|
|
|
* - Rendering sixel graphics may cause unusual cursor placement, this is
|
|
|
|
* not specific to this variant of st - the same issue is present in
|
|
|
|
* the xterm implementation. This is likely an issue of sixel height
|
|
|
|
* not being detected correctly.
|
|
|
|
*
|
2021-08-05 08:17:38 +00:00
|
|
|
* Note that you need to uncomment the corresponding lines in config.mk when including this patch.
|
2022-03-06 11:30:56 +00:00
|
|
|
* This patch is incompatible with the W3M patch.
|
2021-03-10 17:09:47 +00:00
|
|
|
*
|
|
|
|
* https://gist.github.com/saitoha/70e0fdf22e3e8f63ce937c7f7da71809
|
|
|
|
*/
|
|
|
|
#define SIXEL_PATCH 0
|
|
|
|
|
2020-01-07 07:05:00 +00:00
|
|
|
/* This patch allows clients to embed into the st window and is useful if you tend to
|
|
|
|
* start X applications from the terminal. For example:
|
|
|
|
*
|
|
|
|
* $ surf -e $WINDOWID
|
|
|
|
*
|
|
|
|
* The behavior is similar to Plan 9 where applications can take over windows.
|
|
|
|
* URL TBC
|
|
|
|
*/
|
|
|
|
#define ST_EMBEDDER_PATCH 0
|
|
|
|
|
2019-09-16 23:18:44 +00:00
|
|
|
/* Use inverted defaultbg/fg for selection when bg/fg are the same.
|
|
|
|
* https://st.suckless.org/patches/spoiler/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define SPOILER_PATCH 0
|
2019-09-16 23:18:44 +00:00
|
|
|
|
2021-05-16 09:40:15 +00:00
|
|
|
/* This patch changes the mouse shape to the global default when the running program subscribes
|
|
|
|
* for mouse events, for instance, in programs like ranger and fzf. It emulates the behaviour
|
|
|
|
* shown by vte terminals like termite.
|
|
|
|
* https://st.suckless.org/patches/swapmouse/
|
|
|
|
*/
|
|
|
|
#define SWAPMOUSE_PATCH 0
|
|
|
|
|
2021-05-09 07:25:22 +00:00
|
|
|
/* This patch adds synchronized-updates/application-sync support in st.
|
|
|
|
* This will have no effect except when an application uses the synchronized-update escape
|
|
|
|
* sequences. With this patch nearly all cursor flicker is eliminated in tmux, and tmux detects
|
|
|
|
* it automatically via terminfo.
|
|
|
|
*
|
|
|
|
* Note: this patch alters st.info to promote support for extra escape sequences, which can
|
|
|
|
* potentially cause application misbehaviour if you do not use this patch. Try removing or
|
|
|
|
* commenting out the corresponding line in st.info if this is causing issues.
|
|
|
|
*
|
|
|
|
* https://st.suckless.org/patches/sync/
|
|
|
|
*/
|
|
|
|
#define SYNC_PATCH 0
|
|
|
|
|
2019-09-16 23:18:44 +00:00
|
|
|
/* Instead of a default X cursor, use the xterm cursor from your cursor theme.
|
2020-05-09 12:02:24 +00:00
|
|
|
* You need to uncomment the corresponding line in config.mk to use the -lXcursor library
|
|
|
|
* when including this patch.
|
2019-09-16 23:18:44 +00:00
|
|
|
* https://st.suckless.org/patches/themed_cursor/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define THEMED_CURSOR_PATCH 0
|
2019-09-16 23:18:44 +00:00
|
|
|
|
2021-05-08 08:53:46 +00:00
|
|
|
/* Adds support for special underlines.
|
|
|
|
*
|
|
|
|
* Example test command:
|
|
|
|
* $ echo -e "\e[4:3m\e[58:5:10munderline\e[0m"
|
|
|
|
* ^ ^ ^ ^ ^- sets terminal color 10
|
|
|
|
* | | | \- indicates that terminal colors should be used
|
|
|
|
* | | \- indicates that underline color is being set
|
|
|
|
* | \- sets underline style to curvy
|
|
|
|
* \- set underline
|
|
|
|
*
|
2021-05-09 07:25:22 +00:00
|
|
|
* Note: this patch alters st.info to promote support for extra escape sequences, which can
|
|
|
|
* potentially cause application misbehaviour if you do not use this patch. Try removing or
|
|
|
|
* commenting out the corresponding line in st.info if this is causing issues.
|
|
|
|
*
|
2021-05-08 08:53:46 +00:00
|
|
|
* https://st.suckless.org/patches/undercurl/
|
|
|
|
*/
|
|
|
|
#define UNDERCURL_PATCH 0
|
|
|
|
|
2021-05-08 15:49:04 +00:00
|
|
|
/* Allows mouse scroll without modifier keys for regardless of alt screen using the external
|
|
|
|
* scroll program.
|
|
|
|
* https://st.suckless.org/patches/universcroll/
|
|
|
|
*/
|
|
|
|
#define UNIVERSCROLL_PATCH 0
|
|
|
|
|
2020-06-14 18:04:27 +00:00
|
|
|
/* Vertically center lines in the space available if you have set a larger chscale in config.h
|
2019-09-16 13:31:58 +00:00
|
|
|
* https://st.suckless.org/patches/vertcenter/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define VERTCENTER_PATCH 0
|
|
|
|
|
2021-05-09 15:48:28 +00:00
|
|
|
/* The vim-browse patch offers the possibility to move through the terminal history-buffer,
|
|
|
|
* search for strings using VIM-like motions, operations and quantifiers. It overlays the
|
|
|
|
* screen with highlighted search results and displays the current operation / motions / search
|
|
|
|
* string in the bottom right corner.
|
|
|
|
*
|
|
|
|
* https://github.com/juliusHuelsmann/st-history-vim
|
|
|
|
* https://st.suckless.org/patches/vim_browse/
|
|
|
|
*/
|
|
|
|
#define VIM_BROWSE_PATCH 0
|
|
|
|
|
2020-08-08 16:09:00 +00:00
|
|
|
/* Briefly inverts window content on terminal bell event.
|
|
|
|
* https://st.suckless.org/patches/visualbell/
|
|
|
|
*/
|
|
|
|
#define VISUALBELL_1_PATCH 0
|
|
|
|
|
2020-06-14 18:04:27 +00:00
|
|
|
/* Adds support for w3m images.
|
|
|
|
* https://st.suckless.org/patches/w3m/
|
|
|
|
*/
|
|
|
|
#define W3M_PATCH 0
|
|
|
|
|
2020-11-14 15:24:07 +00:00
|
|
|
/* Adds proper glyphs rendering in st allowing wide glyphs to be drawn as-is as opposed to
|
|
|
|
* smaller or cut glyphs being rendered.
|
|
|
|
* https://github.com/Dreomite/st/commit/e3b821dcb3511d60341dec35ee05a4a0abfef7f2
|
|
|
|
* https://www.reddit.com/r/suckless/comments/jt90ai/update_support_for_proper_glyph_rendering_in_st/
|
|
|
|
*/
|
|
|
|
#define WIDE_GLYPHS_PATCH 0
|
|
|
|
|
2021-04-21 13:48:31 +00:00
|
|
|
/* There is a known issue that Google's Variable Fonts (VF) can end up with letter spacing
|
|
|
|
* that is too wide in programs that use Xft, for example Inconsolata v3.000.
|
|
|
|
*
|
|
|
|
* This is intended as a temporary patch / hack until (if) this is fixed in the Xft library
|
|
|
|
* itself.
|
|
|
|
*
|
|
|
|
* https://github.com/googlefonts/Inconsolata/issues/42#issuecomment-737508890
|
|
|
|
*/
|
|
|
|
#define WIDE_GLYPH_SPACING_PATCH 0
|
|
|
|
|
2020-03-29 14:46:38 +00:00
|
|
|
/* This patch allows user to specify the initial path st should use as the working directory.
|
|
|
|
* https://st.suckless.org/patches/workingdir/
|
|
|
|
*/
|
|
|
|
#define WORKINGDIR_PATCH 0
|
|
|
|
|
2019-09-16 12:21:09 +00:00
|
|
|
/* This patch adds the ability to configure st via Xresources. At startup, st will read and
|
|
|
|
* apply the resources named in the resources[] array in config.h.
|
|
|
|
* https://st.suckless.org/patches/xresources/
|
|
|
|
*/
|
2019-09-17 06:53:00 +00:00
|
|
|
#define XRESOURCES_PATCH 0
|
2021-04-23 22:17:23 +00:00
|
|
|
|
|
|
|
/* This patch adds the ability to reload the Xresources config when a SIGUSR1 signal is received
|
2021-05-07 07:27:05 +00:00
|
|
|
* e.g.: killall -USR1 st
|
|
|
|
* Depends on the XRESOURCES_PATCH.
|
2021-04-23 22:17:23 +00:00
|
|
|
*/
|
|
|
|
#define XRESOURCES_RELOAD_PATCH 0
|