From 0c466fc0505f3c59c6c902d685ec808af73018d1 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Fri, 20 Oct 2023 00:01:03 +0800 Subject: [PATCH] Improvements on st and dwm --- dwm-flexipatch/config.def.h | 32 ++++++++++++++++---------------- st-flexipatch/config.def.h | 2 +- st-flexipatch/patches.def.h | 10 +++++----- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index fc55361..7306d8c 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -722,7 +722,7 @@ static const Layout layouts[] = { { "󱒎", spiral, {0} }, #endif #if FIBONACCI_DWINDLE_LAYOUT - { "󰕴", dwindle, {0} }, + { "󰕴", dwindle, {0} }, #endif #if GRIDMODE_LAYOUT { "󰾍", grid, {0} }, @@ -741,47 +741,47 @@ static const Layout layouts[] = { static const Layout layouts[] = { /* symbol arrange function */ #if TILE_LAYOUT - { "[]=", tile }, /* first entry is default */ + { "󰯌", tile }, /* first entry is default */ #endif - { "><>", NULL }, /* no layout function means floating behavior */ + { "󱂬", NULL }, /* no layout function means floating behavior */ #if MONOCLE_LAYOUT - { "[M]", monocle }, + { "󱟱", monocle }, #endif #if BSTACK_LAYOUT - { "TTT", bstack }, + { "󱢈", bstack }, #endif #if BSTACKHORIZ_LAYOUT - { "===", bstackhoriz }, + { "󰯋", bstackhoriz }, #endif #if CENTEREDMASTER_LAYOUT - { "|M|", centeredmaster }, + { "󰕫", centeredmaster }, #endif #if CENTEREDFLOATINGMASTER_LAYOUT - { ">M>", centeredfloatingmaster }, + { "󰕬", centeredfloatingmaster }, #endif #if COLUMNS_LAYOUT - { "|||", col }, + { "󰕭", col }, #endif #if DECK_LAYOUT - { "[D]", deck }, + { "󱒇", deck }, #endif #if FIBONACCI_SPIRAL_LAYOUT - { "(@)", spiral }, + { "󱒎", spiral }, #endif #if FIBONACCI_DWINDLE_LAYOUT - { "[\\]", dwindle }, + { "󰕴", dwindle }, #endif #if GRIDMODE_LAYOUT - { "HHH", grid }, + { "󰾍", grid }, #endif #if HORIZGRID_LAYOUT - { "---", horizgrid }, + { "󱇙", horizgrid }, #endif #if GAPPLESSGRID_LAYOUT - { ":::", gaplessgrid }, + { "󰕰", gaplessgrid }, #endif #if NROWGRID_LAYOUT - { "###", nrowgrid }, + { "󰕳", nrowgrid }, #endif }; #endif // FLEXTILE_DELUXE_LAYOUT diff --git a/st-flexipatch/config.def.h b/st-flexipatch/config.def.h index 366628d..340cc3b 100644 --- a/st-flexipatch/config.def.h +++ b/st-flexipatch/config.def.h @@ -418,7 +418,7 @@ static Shortcut shortcuts[] = { #endif // CLIPBOARD_PATCH { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, #if COPYURL_PATCH || COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH - { MODKEY|ShiftMask, XK_L, copyurl, {.i = 0} }, + { TERMMOD, XK_D, copyurl, {.i = 0} }, #endif // COPYURL_PATCH #if OPENCOPIED_PATCH { MODKEY, XK_o, opencopied, {.v = "xdg-open"} }, diff --git a/st-flexipatch/patches.def.h b/st-flexipatch/patches.def.h index a810429..1ab5fd7 100644 --- a/st-flexipatch/patches.def.h +++ b/st-flexipatch/patches.def.h @@ -89,13 +89,13 @@ * available URLs. * 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 * available URLs. This variant also highlights the selected URLs. * 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 * restores the window title (for instance nvim does this when opening and closing). @@ -197,7 +197,7 @@ * 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 +#define HIDE_TERMINAL_CURSOR_PATCH 1 /* 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 @@ -262,7 +262,7 @@ * * 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 * in the terminal. @@ -327,7 +327,7 @@ /* Use inverted defaultbg/fg for selection when bg/fg are the same. * 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 * for mouse events, for instance, in programs like ranger and fzf. It emulates the behaviour