Improvements on st and dwm

This commit is contained in:
Alexis Jhon Gaspar 2023-10-20 00:01:03 +08:00
parent 27790fc26d
commit 0c466fc050
3 changed files with 22 additions and 22 deletions

View file

@ -722,7 +722,7 @@ static const Layout layouts[] = {
{ "󱒎", spiral, {0} }, { "󱒎", spiral, {0} },
#endif #endif
#if FIBONACCI_DWINDLE_LAYOUT #if FIBONACCI_DWINDLE_LAYOUT
{ "󰕴", dwindle, {0} }, { "󰕴", dwindle, {0} },
#endif #endif
#if GRIDMODE_LAYOUT #if GRIDMODE_LAYOUT
{ "󰾍", grid, {0} }, { "󰾍", grid, {0} },
@ -741,47 +741,47 @@ static const Layout layouts[] = {
static const Layout layouts[] = { static const Layout layouts[] = {
/* symbol arrange function */ /* symbol arrange function */
#if TILE_LAYOUT #if TILE_LAYOUT
{ "[]=", tile }, /* first entry is default */ { "󰯌", tile }, /* first entry is default */
#endif #endif
{ "><>", NULL }, /* no layout function means floating behavior */ { "󱂬", NULL }, /* no layout function means floating behavior */
#if MONOCLE_LAYOUT #if MONOCLE_LAYOUT
{ "[M]", monocle }, { "󱟱", monocle },
#endif #endif
#if BSTACK_LAYOUT #if BSTACK_LAYOUT
{ "TTT", bstack }, { "󱢈", bstack },
#endif #endif
#if BSTACKHORIZ_LAYOUT #if BSTACKHORIZ_LAYOUT
{ "===", bstackhoriz }, { "󰯋", bstackhoriz },
#endif #endif
#if CENTEREDMASTER_LAYOUT #if CENTEREDMASTER_LAYOUT
{ "|M|", centeredmaster }, { "󰕫", centeredmaster },
#endif #endif
#if CENTEREDFLOATINGMASTER_LAYOUT #if CENTEREDFLOATINGMASTER_LAYOUT
{ ">M>", centeredfloatingmaster }, { "󰕬", centeredfloatingmaster },
#endif #endif
#if COLUMNS_LAYOUT #if COLUMNS_LAYOUT
{ "|||", col }, { "󰕭", col },
#endif #endif
#if DECK_LAYOUT #if DECK_LAYOUT
{ "[D]", deck }, { "󱒇", deck },
#endif #endif
#if FIBONACCI_SPIRAL_LAYOUT #if FIBONACCI_SPIRAL_LAYOUT
{ "(@)", spiral }, { "󱒎", spiral },
#endif #endif
#if FIBONACCI_DWINDLE_LAYOUT #if FIBONACCI_DWINDLE_LAYOUT
{ "[\\]", dwindle }, { "󰕴", dwindle },
#endif #endif
#if GRIDMODE_LAYOUT #if GRIDMODE_LAYOUT
{ "HHH", grid }, { "󰾍", grid },
#endif #endif
#if HORIZGRID_LAYOUT #if HORIZGRID_LAYOUT
{ "---", horizgrid }, { "󱇙", horizgrid },
#endif #endif
#if GAPPLESSGRID_LAYOUT #if GAPPLESSGRID_LAYOUT
{ ":::", gaplessgrid }, { "󰕰", gaplessgrid },
#endif #endif
#if NROWGRID_LAYOUT #if NROWGRID_LAYOUT
{ "###", nrowgrid }, { "󰕳", nrowgrid },
#endif #endif
}; };
#endif // FLEXTILE_DELUXE_LAYOUT #endif // FLEXTILE_DELUXE_LAYOUT

View file

@ -418,7 +418,7 @@ static Shortcut shortcuts[] = {
#endif // CLIPBOARD_PATCH #endif // CLIPBOARD_PATCH
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
#if COPYURL_PATCH || COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH #if COPYURL_PATCH || COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH
{ MODKEY|ShiftMask, XK_L, copyurl, {.i = 0} }, { TERMMOD, XK_D, copyurl, {.i = 0} },
#endif // COPYURL_PATCH #endif // COPYURL_PATCH
#if OPENCOPIED_PATCH #if OPENCOPIED_PATCH
{ MODKEY, XK_o, opencopied, {.v = "xdg-open"} }, { MODKEY, XK_o, opencopied, {.v = "xdg-open"} },

View file

@ -89,13 +89,13 @@
* available URLs. * available URLs.
* https://st.suckless.org/patches/copyurl/ * https://st.suckless.org/patches/copyurl/
*/ */
#define COPYURL_PATCH 0 #define COPYURL_PATCH 1
/* Select and copy the last URL displayed with Mod+l. Multiple invocations cycle through the /* Select and copy the last URL displayed with Mod+l. Multiple invocations cycle through the
* available URLs. This variant also highlights the selected URLs. * available URLs. This variant also highlights the selected URLs.
* https://st.suckless.org/patches/copyurl/ * https://st.suckless.org/patches/copyurl/
*/ */
#define COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH 0 #define COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH 1
/* This patch adds support for CSI escape sequences 22 and 23, which save and /* 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). * restores the window title (for instance nvim does this when opening and closing).
@ -197,7 +197,7 @@
* cursor). * cursor).
* https://www.reddit.com/r/suckless/comments/nvee8h/how_to_hide_cursor_in_st_is_there_a_patch_for_it/ * 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 #define HIDE_TERMINAL_CURSOR_PATCH 1
/* This patch adds a keybinding that lets you invert the current colorscheme of st. /* 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 * This provides a simple way to temporarily switch to a light colorscheme if you use a dark
@ -262,7 +262,7 @@
* *
* https://www.reddit.com/r/suckless/comments/cc83om/st_open_url/ * https://www.reddit.com/r/suckless/comments/cc83om/st_open_url/
*/ */
#define OPENURLONCLICK_PATCH 0 #define OPENURLONCLICK_PATCH 1
/* This patch allows you to specify a border that is relative in size to the width of a cell /* This patch allows you to specify a border that is relative in size to the width of a cell
* in the terminal. * in the terminal.
@ -327,7 +327,7 @@
/* Use inverted defaultbg/fg for selection when bg/fg are the same. /* Use inverted defaultbg/fg for selection when bg/fg are the same.
* https://st.suckless.org/patches/spoiler/ * https://st.suckless.org/patches/spoiler/
*/ */
#define SPOILER_PATCH 0 #define SPOILER_PATCH 1
/* This patch changes the mouse shape to the global default when the running program subscribes /* 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 * for mouse events, for instance, in programs like ranger and fzf. It emulates the behaviour