From d834b3d2eeadc0d198ee052b468b382a687f6a77 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 31 Aug 2022 18:59:34 +0200 Subject: [PATCH] x11-wm/dwm: update patches --- x11-wm/dwm/dwm-9999.ebuild | 3 +- .../0001-set-up-my-patches-and-config.patch | 88 +++++++++---------- x11-wm/dwm/files/0002-set-urgent-color.patch | 10 +-- x11-wm/dwm/files/0003-more-config.patch | 30 +++---- .../0004-edit-cyclelayout-keybinding.patch | 12 +-- ...on-t-think-this-argument-is-required.patch | 10 +-- ...nt-libraries-used-by-enabled-patches.patch | 10 +-- .../dwm/files/0007-runsvdir-on-startup.patch | 10 +-- x11-wm/dwm/files/0008-browser-config.patch | 16 ++-- .../dwm/files/0009-discord-window-rules.patch | 10 +-- .../dwm/files/0010-apply-one-rule-patch.patch | 10 +-- x11-wm/dwm/files/0011-add-agordejo-rule.patch | 10 +-- .../0012-start-easyeffects-on-tag-9.patch | 10 +-- .../dwm/files/0013-set-carla-to-tag-9.patch | 10 +-- .../dwm/files/0014-set-dmenucmd-to-rofi.patch | 21 ++--- .../files/0015-enable-no-border-patch.patch | 14 +-- .../0016-force-swallow-from-alacritty.patch | 10 +-- ...move-browser-rules-and-add-permanent.patch | 14 +-- .../files/0018-sendmon-keeptag-patch.patch | 14 +-- x11-wm/dwm/files/0019-taglabels.patch | 10 +-- x11-wm/dwm/files/0020-better-taglabels.patch | 22 ++--- .../files/0021-no-swallow-syncplay-mpv.patch | 10 +-- ...22-add-thunderbird-and-ardour-labels.patch | 12 +-- x11-wm/dwm/files/0023-use-rofi-run.patch | 14 +-- .../dwm/files/0024-add-st-as-terminal.patch | 10 +-- .../dwm/files/0025-add-discord-icon-ig.patch | 10 +-- ...orrect-fontawesome-discord-character.patch | 10 +-- x11-wm/dwm/files/0027-set-pid-to-rofi.patch | 25 ++++++ 28 files changed, 229 insertions(+), 206 deletions(-) create mode 100644 x11-wm/dwm/files/0027-set-pid-to-rofi.patch diff --git a/x11-wm/dwm/dwm-9999.ebuild b/x11-wm/dwm/dwm-9999.ebuild index ed9762b..9a3096c 100644 --- a/x11-wm/dwm/dwm-9999.ebuild +++ b/x11-wm/dwm/dwm-9999.ebuild @@ -26,7 +26,7 @@ DEPEND=" xinerama? ( x11-base/xorg-proto ) " PATCHES=( - "${FILESDIR}"/0001-set-up-my-patches-and-config.patch + "${FILESDIR}"/0001-set-up-my-patches-and-config.patch "${FILESDIR}"/0002-set-urgent-color.patch "${FILESDIR}"/0003-more-config.patch "${FILESDIR}"/0004-edit-cyclelayout-keybinding.patch @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}"/0024-add-st-as-terminal.patch "${FILESDIR}"/0025-add-discord-icon-ig.patch "${FILESDIR}"/0026-set-correct-fontawesome-discord-character.patch + "${FILESDIR}"/0027-set-pid-to-rofi.patch ) src_prepare() { diff --git a/x11-wm/dwm/files/0001-set-up-my-patches-and-config.patch b/x11-wm/dwm/files/0001-set-up-my-patches-and-config.patch index b9f79a9..27a58d4 100644 --- a/x11-wm/dwm/files/0001-set-up-my-patches-and-config.patch +++ b/x11-wm/dwm/files/0001-set-up-my-patches-and-config.patch @@ -1,7 +1,7 @@ -From 0156c667ffa9185896bed2fffcf15077b599c826 Mon Sep 17 00:00:00 2001 +From f1c3454bef1369d6cf5fa1988f1549025c91dccb Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 27 Mar 2021 18:56:05 +0100 -Subject: [PATCH 01/26] set up my patches and config +Subject: [PATCH 01/27] set up my patches and config --- config.def.h | 120 +++++++++++++++++++++++++++++--------------------- @@ -9,10 +9,10 @@ Subject: [PATCH 01/26] set up my patches and config 2 files changed, 95 insertions(+), 75 deletions(-) diff --git a/config.def.h b/config.def.h -index 40c9f46..bcf19a2 100644 +index 1b06f0d..e7dd706 100644 --- a/config.def.h +++ b/config.def.h -@@ -125,11 +125,11 @@ static void (*bartabmonfns[])(Monitor *) = { NULL /* , customlayoutfn */ }; +@@ -144,11 +144,11 @@ static void (*bartabmonfns[])(Monitor *) = { NULL /* , customlayoutfn */ }; #endif // MONOCLE_LAYOUT #endif // BAR_TABGROUPS_PATCH #if BAR_PANGO_PATCH @@ -27,7 +27,7 @@ index 40c9f46..bcf19a2 100644 static char c000000[] = "#000000"; // placeholder value -@@ -139,9 +139,9 @@ static char normbordercolor[] = "#444444"; +@@ -158,9 +158,9 @@ static char normbordercolor[] = "#444444"; static char normfloatcolor[] = "#db8fd9"; static char selfgcolor[] = "#eeeeee"; @@ -40,7 +40,7 @@ index 40c9f46..bcf19a2 100644 static char titlenormfgcolor[] = "#bbbbbb"; static char titlenormbgcolor[] = "#222222"; -@@ -149,9 +149,9 @@ static char titlenormbordercolor[] = "#444444"; +@@ -168,9 +168,9 @@ static char titlenormbordercolor[] = "#444444"; static char titlenormfloatcolor[] = "#db8fd9"; static char titleselfgcolor[] = "#eeeeee"; @@ -53,7 +53,7 @@ index 40c9f46..bcf19a2 100644 static char tagsnormfgcolor[] = "#bbbbbb"; static char tagsnormbgcolor[] = "#222222"; -@@ -159,14 +159,14 @@ static char tagsnormbordercolor[] = "#444444"; +@@ -178,14 +178,14 @@ static char tagsnormbordercolor[] = "#444444"; static char tagsnormfloatcolor[] = "#db8fd9"; static char tagsselfgcolor[] = "#eeeeee"; @@ -75,7 +75,7 @@ index 40c9f46..bcf19a2 100644 static char urgfgcolor[] = "#bbbbbb"; static char urgbgcolor[] = "#222222"; -@@ -366,7 +366,7 @@ static const char *layoutmenu_cmd = "layoutmenu.sh"; +@@ -385,7 +385,7 @@ static const char *layoutmenu_cmd = "layoutmenu.sh"; #if COOL_AUTOSTART_PATCH static const char *const autostart[] = { @@ -84,7 +84,7 @@ index 40c9f46..bcf19a2 100644 NULL /* terminate */ }; #endif // COOL_AUTOSTART_PATCH -@@ -457,11 +457,10 @@ static const Rule rules[] = { +@@ -481,11 +481,10 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "UTILITY", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) @@ -100,7 +100,7 @@ index 40c9f46..bcf19a2 100644 RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1) #endif // SCRATCHPADS_PATCH }; -@@ -615,13 +614,13 @@ static const int scrollargs[][2] = { +@@ -639,13 +638,13 @@ static const int scrollargs[][2] = { static const Layout layouts[] = { /* symbol arrange function, { nmaster, nstack, layout, master axis, stack axis, secondary stack axis, symbol func } */ { "[]=", flextile, { -1, -1, SPLIT_VERTICAL, TOP_TO_BOTTOM, TOP_TO_BOTTOM, 0, NULL } }, // default tile layout @@ -119,7 +119,7 @@ index 40c9f46..bcf19a2 100644 { "|M|", flextile, { -1, -1, SPLIT_CENTERED_VERTICAL, LEFT_TO_RIGHT, TOP_TO_BOTTOM, TOP_TO_BOTTOM, NULL } }, // centeredmaster { "-M-", flextile, { -1, -1, SPLIT_CENTERED_HORIZONTAL, TOP_TO_BOTTOM, LEFT_TO_RIGHT, LEFT_TO_RIGHT, NULL } }, // centeredmaster horiz { ":::", flextile, { -1, -1, NO_SPLIT, GAPPLESSGRID, GAPPLESSGRID, 0, NULL } }, // gappless grid -@@ -680,7 +679,7 @@ static const Layout layouts[] = { +@@ -704,7 +703,7 @@ static const Layout layouts[] = { #if TILE_LAYOUT { "[]=", tile }, /* first entry is default */ #endif @@ -128,7 +128,7 @@ index 40c9f46..bcf19a2 100644 #if MONOCLE_LAYOUT { "[M]", monocle }, #endif -@@ -735,7 +734,7 @@ static const char *xkb_layouts[] = { +@@ -759,7 +758,7 @@ static const char *xkb_layouts[] = { #endif // XKB_PATCH /* key definitions */ @@ -137,7 +137,7 @@ index 40c9f46..bcf19a2 100644 #if COMBO_PATCH && SWAPTAGS_PATCH && TAGOTHERMONITOR_PATCH #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, comboview, {.ui = 1 << TAG} }, \ -@@ -836,6 +835,10 @@ static const char *dmenucmd[] = { +@@ -854,6 +853,10 @@ static const char *dmenucmd[] = { NULL }; static const char *termcmd[] = { "st", NULL }; @@ -148,7 +148,7 @@ index 40c9f46..bcf19a2 100644 #if BAR_STATUSCMD_PATCH #if BAR_DWMBLOCKS_PATCH -@@ -866,7 +869,7 @@ static Key keys[] = { +@@ -884,7 +887,7 @@ static const Key keys[] = { #if KEYMODES_PATCH { MODKEY, XK_Escape, setkeymode, {.ui = COMMANDMODE} }, #endif // KEYMODES_PATCH @@ -157,7 +157,7 @@ index 40c9f46..bcf19a2 100644 { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, #if RIODRAW_PATCH { MODKEY|ControlMask, XK_p, riospawnsync, {.v = dmenucmd } }, -@@ -990,14 +993,14 @@ static Key keys[] = { +@@ -1024,14 +1027,14 @@ static const Key keys[] = { #if BAR_WINTITLEACTIONS_PATCH { MODKEY|ControlMask, XK_z, showhideclient, {0} }, #endif // BAR_WINTITLEACTIONS_PATCH @@ -174,7 +174,7 @@ index 40c9f46..bcf19a2 100644 #if RESTARTSIG_PATCH { MODKEY|ControlMask|ShiftMask, XK_q, quit, {1} }, #endif // RESTARTSIG_PATCH -@@ -1013,9 +1016,9 @@ static Key keys[] = { +@@ -1047,9 +1050,9 @@ static const Key keys[] = { #if XRDB_PATCH && !BAR_VTCOLORS_PATCH { MODKEY|ShiftMask, XK_F5, xrdb, {.v = NULL } }, #endif // XRDB_PATCH @@ -187,7 +187,7 @@ index 40c9f46..bcf19a2 100644 #if COLUMNS_LAYOUT { MODKEY, XK_c, setlayout, {.v = &layouts[3]} }, #endif // COLUMNS_LAYOUT -@@ -1078,10 +1081,10 @@ static Key keys[] = { +@@ -1112,10 +1115,10 @@ static const Key keys[] = { { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, #endif // SCRATCHPAD_ALT_1_PATCH @@ -202,7 +202,7 @@ index 40c9f46..bcf19a2 100644 #if FOCUSADJACENTTAG_PATCH { MODKEY, XK_Left, viewtoleft, {0} }, // note keybinding conflict with focusdir { MODKEY, XK_Right, viewtoright, {0} }, // note keybinding conflict with focusdir -@@ -1218,23 +1221,40 @@ static Key keys[] = { +@@ -1255,23 +1258,40 @@ static const Key keys[] = { { MODKEY|ControlMask, XK_numbersign, setborderpx, {.i = 0 } }, #endif // SETBORDERPX_PATCH #if CYCLELAYOUTS_PATCH @@ -255,10 +255,10 @@ index 40c9f46..bcf19a2 100644 #if KEYMODES_PATCH diff --git a/patches.def.h b/patches.def.h -index 3cc9756..9c50442 100644 +index 784e324..b45e1c7 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -317,7 +317,7 @@ +@@ -334,7 +334,7 @@ * https://github.com/bakkeby/dwm-flexipatch/issues/50 (_IS_FLOATING patch) * https://dwm.suckless.org/patches/ewmhtags/ */ @@ -267,7 +267,7 @@ index 3cc9756..9c50442 100644 /* Allows the bar height to be explicitly set rather than being derived from font. * https://dwm.suckless.org/patches/bar_height/ -@@ -327,7 +327,7 @@ +@@ -344,7 +344,7 @@ /* This patch prevents dwm from drawing tags with no clients (i.e. vacant) on the bar. * https://dwm.suckless.org/patches/hide_vacant_tags/ */ @@ -276,16 +276,16 @@ index 3cc9756..9c50442 100644 /* With this patch dwm's built-in status bar is only shown when HOLDKEY is pressed * and the bar will now overlay the display. -@@ -471,7 +471,7 @@ +@@ -488,7 +488,7 @@ * get resized/moved. With this patch, they will. * https://dwm.suckless.org/patches/autoresize/ */ -#define AUTORESIZE_PATCH 0 +#define AUTORESIZE_PATCH 1 - /* This patch adds an iscentered rule to automatically center clients on the current monitor. - * This patch takes precedence over centeredwindowname, alwayscenter and fancybar patches. -@@ -489,12 +489,12 @@ + /* This patch adds proper support for Right-To-Left languages. (such as Farsi, Arabic or Hebrew). + * +@@ -518,12 +518,12 @@ * adding wintype as a client rule filter, hence this no longer works out of the box. This * patch restores previous behaviour with the center patch. */ @@ -300,7 +300,7 @@ index 3cc9756..9c50442 100644 /* This patch provides the ability to assign different weights to clients in their * respective stack in tiled layout. -@@ -512,18 +512,18 @@ +@@ -541,18 +541,18 @@ * hold MOD and then press and hold 1 and 3 together. * https://dwm.suckless.org/patches/combo/ */ @@ -322,7 +322,7 @@ index 3cc9756..9c50442 100644 /* Make dwm respect _MOTIF_WM_HINTS property, and not draw borders around windows requesting * for it. Some applications use this property to notify window managers to not draw window -@@ -629,7 +629,7 @@ +@@ -658,7 +658,7 @@ * xdotool selectwindow -- set_window --urgency 1 * https://dwm.suckless.org/patches/focusurgent/ */ @@ -331,7 +331,7 @@ index 3cc9756..9c50442 100644 /* By default, dwm responds to _NET_ACTIVE_WINDOW client messages by setting * the urgency bit on the named window. This patch activates the window instead. -@@ -674,7 +674,7 @@ +@@ -703,7 +703,7 @@ * https://github.com/mihirlad55/dwm-ipc * https://dwm.suckless.org/patches/ipc/ */ @@ -340,7 +340,7 @@ index 3cc9756..9c50442 100644 /* Adds rule option for clients to avoid accidental termination by killclient for sticky windows. * https://dwm.suckless.org/patches/ispermanent/ -@@ -705,7 +705,7 @@ +@@ -734,7 +734,7 @@ * in such scenarios the previous window loses fullscreen. * https://github.com/bakkeby/patches/blob/master/dwm/dwm-losefullscreen-6.2.diff */ @@ -349,7 +349,7 @@ index 3cc9756..9c50442 100644 /* This patch adds helper functions for maximizing, horizontally and vertically, floating * windows using keybindings. -@@ -757,12 +757,12 @@ +@@ -812,12 +812,12 @@ * Zoom video conferencing application. * https://github.com/bakkeby/patches/wiki/netclientliststacking/ */ @@ -362,9 +362,9 @@ index 3cc9756..9c50442 100644 -#define NOBORDER_PATCH 0 +#define NOBORDER_PATCH 1 - /* Enable modifying or removing dmenu in config.def.h which resulted previously in a - * compilation error because two lines of code hardcode dmenu into dwm. -@@ -790,7 +790,7 @@ + /* This patch allows for toggleable client button bindings that have no modifiers. + * This can, for example, allow you to move or resize using the mouse alone without holding +@@ -839,7 +839,7 @@ * https://github.com/szatanjl/dwm/commit/1529909466206016f2101457bbf37c67195714c8 * https://dwm.suckless.org/patches/alpha/dwm-fixborders-6.2.diff */ @@ -373,7 +373,7 @@ index 3cc9756..9c50442 100644 /* Port of InstantWM's on_empty_keys functionality allowing keybindings that apply only when * a tag is empty. An example use case is being able to launch applications with first hand -@@ -878,7 +878,7 @@ +@@ -927,7 +927,7 @@ * This takes precedence over the resizecorners patch. * https://github.com/bakkeby/patches/blob/master/dwm/dwm-resizepoint-6.2.diff */ @@ -382,7 +382,7 @@ index 3cc9756..9c50442 100644 /* Adds a keyboard shortcut to restart dwm or alternatively by using kill -HUP dwmpid. * Additionally dwm can quit cleanly by using kill -TERM dwmpid. -@@ -1014,7 +1014,7 @@ +@@ -1087,7 +1087,7 @@ * comes to focusmon, tagmon and similar functionality. * https://www.mail-archive.com/hackers@suckless.org/msg09400.html */ @@ -391,7 +391,7 @@ index 3cc9756..9c50442 100644 /* Spawns programs from currently focused client's working directory. * https://dwm.suckless.org/patches/spawn_cwd/ -@@ -1040,12 +1040,12 @@ +@@ -1113,12 +1113,12 @@ * * https://github.com/bakkeby/patches/wiki/steam */ @@ -406,7 +406,7 @@ index 3cc9756..9c50442 100644 /* This patch adds "window swallowing" to dwm as known from Plan 9's windowing system rio. * Clients marked with isterminal in config.h swallow a window opened by any child process, -@@ -1062,7 +1062,7 @@ +@@ -1135,7 +1135,7 @@ * * https://dwm.suckless.org/patches/swallow/ */ @@ -415,7 +415,7 @@ index 3cc9756..9c50442 100644 /* This patch depends on the pertag patch and makes it possible to switch focus with a single * shortcut (MOD+s) instead of having to think if you should use mod-j or mod-k for reaching -@@ -1098,7 +1098,7 @@ +@@ -1171,7 +1171,7 @@ * https://github.com/bakkeby/patches/blob/master/dwm/dwm-switchtag-6.2.diff * Also see https://dwm.suckless.org/patches/switchtotag */ @@ -424,7 +424,7 @@ index 3cc9756..9c50442 100644 /* This patch transforms the monocle layout into a "tabbed" layout if more than one window is * present on the monocle view. This patch has been added for demonstration purposes only and has -@@ -1140,7 +1140,7 @@ +@@ -1213,7 +1213,7 @@ * while remaining in fullscreen. * https://github.com/bakkeby/patches/blob/master/dwm/dwm-tagmonfixfs-6.2.diff */ @@ -433,7 +433,7 @@ index 3cc9756..9c50442 100644 /* Add functions and keybindings to tag a window to a desired tag on the next (right) * or previous (left) monitor from the currently selected monitor. -@@ -1238,7 +1238,7 @@ +@@ -1311,7 +1311,7 @@ * when the mouse cursor is (a) on a different screen or (b) on top of a different window. * https://dwm.suckless.org/patches/warp/ */ @@ -442,7 +442,7 @@ index 3cc9756..9c50442 100644 /* Sometimes a single application opens different windows depending on the task * at hand and this is often reflected in the WM_WINDOW_ROLE(STRING) x property. -@@ -1266,7 +1266,7 @@ +@@ -1339,7 +1339,7 @@ * the float border color, awesomebar, urgentborder and titlecolor patches. * https://dwm.suckless.org/patches/xrdb/ */ @@ -451,7 +451,7 @@ index 3cc9756..9c50442 100644 /* Simple patch that allows floating windows to be zoomed into the master stack position. * https://www.reddit.com/r/suckless/comments/ie5fe3/zoomfloating_my_own_simple_original_patch/ -@@ -1328,7 +1328,7 @@ +@@ -1401,7 +1401,7 @@ * A revamped, more flexible, and over-the-top version of the original flextile layout. * https://dwm.suckless.org/patches/flextile/ (original) */ @@ -460,7 +460,7 @@ index 3cc9756..9c50442 100644 /* Gappless grid layout. * https://dwm.suckless.org/patches/gaplessgrid/ -@@ -1353,7 +1353,7 @@ +@@ -1426,7 +1426,7 @@ /* The default tile layout. * This can be optionally disabled in favour of other layouts. */ @@ -470,5 +470,5 @@ index 3cc9756..9c50442 100644 /* Monocle layout (default). * This can be optionally disabled in favour of other layouts. -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0002-set-urgent-color.patch b/x11-wm/dwm/files/0002-set-urgent-color.patch index f7177cc..87f6fc9 100644 --- a/x11-wm/dwm/files/0002-set-urgent-color.patch +++ b/x11-wm/dwm/files/0002-set-urgent-color.patch @@ -1,17 +1,17 @@ -From fa518fe6ad779422d2b8e5d97ccc2cc68962893e Mon Sep 17 00:00:00 2001 +From 5ea89fb7f16d1b80fbbadb6bc21788d2e1ea914c Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 27 Mar 2021 19:07:22 +0100 -Subject: [PATCH 02/26] set urgent color +Subject: [PATCH 02/27] set urgent color --- config.def.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h -index bcf19a2..f3e46fd 100644 +index e7dd706..eb88fb3 100644 --- a/config.def.h +++ b/config.def.h -@@ -168,9 +168,9 @@ static char hidselfgcolor[] = "#222222"; +@@ -187,9 +187,9 @@ static char hidselfgcolor[] = "#222222"; static char hidnormbgcolor[] = "#9966cc"; static char hidselbgcolor[] = "#f76e0c"; @@ -25,5 +25,5 @@ index bcf19a2..f3e46fd 100644 #if RENAMED_SCRATCHPADS_PATCH -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0003-more-config.patch b/x11-wm/dwm/files/0003-more-config.patch index b63edbd..ecfbb21 100644 --- a/x11-wm/dwm/files/0003-more-config.patch +++ b/x11-wm/dwm/files/0003-more-config.patch @@ -1,7 +1,7 @@ -From ea2a82c09deb587c488507f7067d5d1ddde6fda6 Mon Sep 17 00:00:00 2001 +From aaf33cf035755a15ce361dcf9df937703b9fcc7f Mon Sep 17 00:00:00 2001 From: odrling Date: Sun, 28 Mar 2021 20:22:05 +0200 -Subject: [PATCH 03/26] more config +Subject: [PATCH 03/27] more config --- config.def.h | 15 +++++++++------ @@ -9,10 +9,10 @@ Subject: [PATCH 03/26] more config 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/config.def.h b/config.def.h -index f3e46fd..59cb63a 100644 +index eb88fb3..9782f5d 100644 --- a/config.def.h +++ b/config.def.h -@@ -457,8 +457,9 @@ static const Rule rules[] = { +@@ -481,8 +481,9 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "UTILITY", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) @@ -24,7 +24,7 @@ index f3e46fd..59cb63a 100644 RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) #if SCRATCHPADS_PATCH RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1) -@@ -1068,7 +1069,7 @@ static Key keys[] = { +@@ -1102,7 +1103,7 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_f, fullscreen, {0} }, #endif // FULLSCREEN_PATCH #if STICKY_PATCH @@ -33,7 +33,7 @@ index f3e46fd..59cb63a 100644 #endif // STICKY_PATCH #if SCRATCHPAD_ALT_1_PATCH { MODKEY, XK_minus, scratchpad_show, {0} }, -@@ -1078,8 +1079,8 @@ static Key keys[] = { +@@ -1112,8 +1113,8 @@ static const Key keys[] = { { MODKEY, XK_0, view, {.ui = ~SPTAGMASK } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~SPTAGMASK } }, #else @@ -44,7 +44,7 @@ index f3e46fd..59cb63a 100644 #endif // SCRATCHPAD_ALT_1_PATCH { MODKEY|ControlMask, XK_j, focusmon, {.i = -1 } }, { MODKEY|ControlMask, XK_k, focusmon, {.i = +1 } }, -@@ -1522,7 +1523,9 @@ static Signal signals[] = { +@@ -1580,7 +1581,9 @@ static const Signal signals[] = { /* trigger signals using `xsetroot -name "fsignal:"` */ static Signal signals[] = { /* signum function argument */ @@ -56,10 +56,10 @@ index f3e46fd..59cb63a 100644 #endif // DWMC_PATCH diff --git a/patches.def.h b/patches.def.h -index 9c50442..c195cdb 100644 +index b45e1c7..d583d86 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -440,7 +440,7 @@ +@@ -457,7 +457,7 @@ * This patch takes precedence over ATTACHASIDE_PATCH. * https://dwm.suckless.org/patches/attachabove/ */ @@ -68,7 +68,7 @@ index 9c50442..c195cdb 100644 /* This patch adds new clients on top of the stack. * This patch takes precedence over ATTACHBELOW_PATCH. -@@ -635,14 +635,14 @@ +@@ -664,14 +664,14 @@ * the urgency bit on the named window. This patch activates the window instead. * https://dwm.suckless.org/patches/focusonnetactive/ */ @@ -85,16 +85,16 @@ index 9c50442..c195cdb 100644 /* Applies the monocle layout with the focused client on top and hides the bar. When pressed * again it shows the bar and restores the layout that was active before going fullscreen. -@@ -762,7 +762,7 @@ +@@ -817,7 +817,7 @@ /* Removes the border when there is only one window visible. * https://dwm.suckless.org/patches/noborder/ */ -#define NOBORDER_PATCH 1 +#define NOBORDER_PATCH 0 - /* Enable modifying or removing dmenu in config.def.h which resulted previously in a - * compilation error because two lines of code hardcode dmenu into dwm. -@@ -814,7 +814,7 @@ + /* This patch allows for toggleable client button bindings that have no modifiers. + * This can, for example, allow you to move or resize using the mouse alone without holding +@@ -863,7 +863,7 @@ * monitor (default). * https://dwm.suckless.org/patches/pertag/ */ @@ -104,5 +104,5 @@ index 9c50442..c195cdb 100644 /* Option to store gaps on a per tag basis rather than on a per monitor basis. * Depends on both pertag and vanitygaps patches being enabled. -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0004-edit-cyclelayout-keybinding.patch b/x11-wm/dwm/files/0004-edit-cyclelayout-keybinding.patch index 3b966ac..19231c0 100644 --- a/x11-wm/dwm/files/0004-edit-cyclelayout-keybinding.patch +++ b/x11-wm/dwm/files/0004-edit-cyclelayout-keybinding.patch @@ -1,17 +1,17 @@ -From 8a2949f488e9bb7d49f7d774e7dcd30f7abb6495 Mon Sep 17 00:00:00 2001 +From 193c3628efcf3a002834a7a11db7ac22de0b90bc Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 1 Apr 2021 20:27:49 +0200 -Subject: [PATCH 04/26] edit cyclelayout keybinding +Subject: [PATCH 04/27] edit cyclelayout keybinding --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h -index 59cb63a..d124c1c 100644 +index 9782f5d..f91df7c 100644 --- a/config.def.h +++ b/config.def.h -@@ -1034,8 +1034,8 @@ static Key keys[] = { +@@ -1068,8 +1068,8 @@ static const Key keys[] = { { MODKEY|Mod5Mask|Mod1Mask, XK_Tab, rotatelayoutaxis, {.i = -4 } }, /* flextile, 4 = secondary stack axis */ { MODKEY|ControlMask, XK_Return, mirrorlayout, {0} }, /* flextile, flip master and stack areas */ #endif // FLEXTILE_DELUXE_LAYOUT @@ -22,7 +22,7 @@ index 59cb63a..d124c1c 100644 #if MAXIMIZE_PATCH { MODKEY|ControlMask|ShiftMask, XK_h, togglehorizontalmax, {0} }, { MODKEY|ControlMask|ShiftMask, XK_l, togglehorizontalmax, {0} }, -@@ -1222,8 +1222,8 @@ static Key keys[] = { +@@ -1259,8 +1259,8 @@ static const Key keys[] = { { MODKEY|ControlMask, XK_numbersign, setborderpx, {.i = 0 } }, #endif // SETBORDERPX_PATCH #if CYCLELAYOUTS_PATCH @@ -34,5 +34,5 @@ index 59cb63a..d124c1c 100644 #if MPDCONTROL_PATCH { MODKEY, XK_F1, mpdchange, {.i = -1} }, -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0005-I-don-t-think-this-argument-is-required.patch b/x11-wm/dwm/files/0005-I-don-t-think-this-argument-is-required.patch index ffa1d9c..2afd5b1 100644 --- a/x11-wm/dwm/files/0005-I-don-t-think-this-argument-is-required.patch +++ b/x11-wm/dwm/files/0005-I-don-t-think-this-argument-is-required.patch @@ -1,17 +1,17 @@ -From e4a442abf972dd290b8b6dc60be8e81876c0a86c Mon Sep 17 00:00:00 2001 +From 71dd486d38b5ad350aa10bb10d2b6e7cf02ceece Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 21 Apr 2021 23:19:07 +0200 -Subject: [PATCH 05/26] I don't think this argument is required +Subject: [PATCH 05/27] I don't think this argument is required --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h -index d124c1c..2f293f8 100644 +index f91df7c..1c701f2 100644 --- a/config.def.h +++ b/config.def.h -@@ -836,8 +836,8 @@ static const char *dmenucmd[] = { +@@ -854,8 +854,8 @@ static const char *dmenucmd[] = { NULL }; static const char *termcmd[] = { "st", NULL }; @@ -23,5 +23,5 @@ index d124c1c..2f293f8 100644 static const char *screenshots[] = { "screenshot", "-s", "-l", "-c", "0.75,0.5,1.0,0.1", NULL }; -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0006-decomment-libraries-used-by-enabled-patches.patch b/x11-wm/dwm/files/0006-decomment-libraries-used-by-enabled-patches.patch index cab1cd9..2e28ca1 100644 --- a/x11-wm/dwm/files/0006-decomment-libraries-used-by-enabled-patches.patch +++ b/x11-wm/dwm/files/0006-decomment-libraries-used-by-enabled-patches.patch @@ -1,14 +1,14 @@ -From 1d8cb3de97c8ec537a4e34d0e319e35c84f15eaa Mon Sep 17 00:00:00 2001 +From bec2c901c11eff41d2cb328416f2dec349f92064 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 21 Apr 2021 23:36:07 +0200 -Subject: [PATCH 06/26] decomment libraries used by enabled patches +Subject: [PATCH 06/27] decomment libraries used by enabled patches --- config.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.mk b/config.mk -index f1cecb2..9232078 100644 +index eb1f2cf..cc78efb 100644 --- a/config.mk +++ b/config.mk @@ -39,14 +39,14 @@ FREETYPEINC = /usr/include/freetype2 @@ -27,8 +27,8 @@ index f1cecb2..9232078 100644 -#XCBLIBS = -lX11-xcb -lxcb -lxcb-res +XCBLIBS = -lX11-xcb -lxcb -lxcb-res - # This is needed for the winicon patch / BAR_WINICON_PATCH + # This is needed for the winicon and tagpreview patches / BAR_WINICON_PATCH / BAR_TAGPREVIEW_PATCH #IMLIB2LIBS = -lImlib2 -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0007-runsvdir-on-startup.patch b/x11-wm/dwm/files/0007-runsvdir-on-startup.patch index 1e017b5..6b56b57 100644 --- a/x11-wm/dwm/files/0007-runsvdir-on-startup.patch +++ b/x11-wm/dwm/files/0007-runsvdir-on-startup.patch @@ -1,17 +1,17 @@ -From 3b27ae783576361432032c1aec8df6ba2a539e36 Mon Sep 17 00:00:00 2001 +From 8040eec0152986241ae358e998d177a9fd69ce43 Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 24 Apr 2021 15:02:45 +0200 -Subject: [PATCH 07/26] runsvdir on startup +Subject: [PATCH 07/27] runsvdir on startup --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index 2f293f8..c8acd30 100644 +index 1c701f2..7aed2be 100644 --- a/config.def.h +++ b/config.def.h -@@ -367,6 +367,7 @@ static const char *layoutmenu_cmd = "layoutmenu.sh"; +@@ -386,6 +386,7 @@ static const char *layoutmenu_cmd = "layoutmenu.sh"; #if COOL_AUTOSTART_PATCH static const char *const autostart[] = { "dwmblocks", NULL, @@ -20,5 +20,5 @@ index 2f293f8..c8acd30 100644 }; #endif // COOL_AUTOSTART_PATCH -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0008-browser-config.patch b/x11-wm/dwm/files/0008-browser-config.patch index f4b5672..7c61e5c 100644 --- a/x11-wm/dwm/files/0008-browser-config.patch +++ b/x11-wm/dwm/files/0008-browser-config.patch @@ -1,7 +1,7 @@ -From ede1c5b01ad7e77189ecf213fc199995cf481b06 Mon Sep 17 00:00:00 2001 +From ce294baec2440bbf762a053d307e6ab704990a37 Mon Sep 17 00:00:00 2001 From: odrling Date: Fri, 14 May 2021 19:58:33 +0200 -Subject: [PATCH 08/26] browser config +Subject: [PATCH 08/27] browser config --- config.def.h | 3 ++- @@ -9,10 +9,10 @@ Subject: [PATCH 08/26] browser config 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h -index c8acd30..c73e40e 100644 +index 7aed2be..860dbdd 100644 --- a/config.def.h +++ b/config.def.h -@@ -459,6 +459,7 @@ static const Rule rules[] = { +@@ -483,6 +483,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.class = "Firefox", .tags = 1 << 7, .switchtag = 1) @@ -20,7 +20,7 @@ index c8acd30..c73e40e 100644 RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0) RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) -@@ -1245,7 +1246,7 @@ static Key keys[] = { +@@ -1282,7 +1283,7 @@ static const Key keys[] = { { MODKEY, XK_Left, spawn, SHCMD("backlight - 5") }, { MODKEY, XK_Right, spawn, SHCMD("backlight + 5") }, { MODKEY|ShiftMask, XK_d, spawn, SHCMD("discord") }, @@ -30,10 +30,10 @@ index c8acd30..c73e40e 100644 { MODKEY, XK_v, spawn, SHCMD("st -e vid") }, { MODKEY, XK_n, spawn, SHCMD("st -e newsboat") }, diff --git a/patches.def.h b/patches.def.h -index c195cdb..c0c782a 100644 +index d583d86..7c2e2c7 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -1247,7 +1247,7 @@ +@@ -1320,7 +1320,7 @@ * or Google-chrome "browser" vs "pop-up". * https://github.com/bakkeby/patches/blob/master/dwm/dwm-windowrolerule-6.2.diff */ @@ -43,5 +43,5 @@ index c195cdb..c0c782a 100644 /* The winview patch allows switching the view to that of a given client from the all-window * view (Mod-0) using a keyboard shortcut. -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0009-discord-window-rules.patch b/x11-wm/dwm/files/0009-discord-window-rules.patch index 86df2c6..e5c6384 100644 --- a/x11-wm/dwm/files/0009-discord-window-rules.patch +++ b/x11-wm/dwm/files/0009-discord-window-rules.patch @@ -1,17 +1,17 @@ -From 22be898cf31df1f6e670be81258e6ed16e1f11a9 Mon Sep 17 00:00:00 2001 +From f5d1c9ea198cf552b981475100a63cb6a328c1e6 Mon Sep 17 00:00:00 2001 From: odrling Date: Fri, 14 May 2021 20:04:15 +0200 -Subject: [PATCH 09/26] discord window rules +Subject: [PATCH 09/27] discord window rules --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h -index c73e40e..d07511f 100644 +index 860dbdd..fd69677 100644 --- a/config.def.h +++ b/config.def.h -@@ -458,6 +458,8 @@ static const Rule rules[] = { +@@ -482,6 +482,8 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "UTILITY", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) @@ -21,5 +21,5 @@ index c73e40e..d07511f 100644 RULE(.role = "browser", .tags = 1 << 7, .switchtag = 1) RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0) -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0010-apply-one-rule-patch.patch b/x11-wm/dwm/files/0010-apply-one-rule-patch.patch index 043624a..2d1be28 100644 --- a/x11-wm/dwm/files/0010-apply-one-rule-patch.patch +++ b/x11-wm/dwm/files/0010-apply-one-rule-patch.patch @@ -1,17 +1,17 @@ -From 9b9e394dec9b9114fcdd46e76e942fa014c684c2 Mon Sep 17 00:00:00 2001 +From 17625d154b43ac609e24d61a5d66fcc582636b7c Mon Sep 17 00:00:00 2001 From: odrling Date: Fri, 14 May 2021 20:08:27 +0200 -Subject: [PATCH 10/26] apply one rule patch +Subject: [PATCH 10/27] apply one rule patch --- patches.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches.def.h b/patches.def.h -index c0c782a..dce12ed 100644 +index 7c2e2c7..e7fb4a2 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -802,7 +802,7 @@ +@@ -851,7 +851,7 @@ #define ON_EMPTY_KEYS_PATCH 0 /* Minor patch that prevents more than one rule being matched for a given client. */ @@ -21,5 +21,5 @@ index c0c782a..dce12ed 100644 /* This patch makes it so dwm will only exit via quit() if no windows are open. * This is to prevent you accidentally losing all your work. -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0011-add-agordejo-rule.patch b/x11-wm/dwm/files/0011-add-agordejo-rule.patch index f15fb36..0c2dc46 100644 --- a/x11-wm/dwm/files/0011-add-agordejo-rule.patch +++ b/x11-wm/dwm/files/0011-add-agordejo-rule.patch @@ -1,17 +1,17 @@ -From c00549918be8ee876b01eff618da2235303d90bd Mon Sep 17 00:00:00 2001 +From 18688ec459630e99e4250b7692d047b6ab16eef9 Mon Sep 17 00:00:00 2001 From: odrling Date: Sun, 20 Jun 2021 18:13:17 +0200 -Subject: [PATCH 11/26] add agordejo rule +Subject: [PATCH 11/27] add agordejo rule --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index d07511f..fea9b01 100644 +index fd69677..d2eb872 100644 --- a/config.def.h +++ b/config.def.h -@@ -463,6 +463,7 @@ static const Rule rules[] = { +@@ -487,6 +487,7 @@ static const Rule rules[] = { RULE(.class = "Firefox", .tags = 1 << 7, .switchtag = 1) RULE(.role = "browser", .tags = 1 << 7, .switchtag = 1) RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0) @@ -20,5 +20,5 @@ index d07511f..fea9b01 100644 RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) #if SCRATCHPADS_PATCH -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0012-start-easyeffects-on-tag-9.patch b/x11-wm/dwm/files/0012-start-easyeffects-on-tag-9.patch index 3bc03e1..db1295c 100644 --- a/x11-wm/dwm/files/0012-start-easyeffects-on-tag-9.patch +++ b/x11-wm/dwm/files/0012-start-easyeffects-on-tag-9.patch @@ -1,17 +1,17 @@ -From 5ad5318c5a20cf7403fdab32022db6388af2d78d Mon Sep 17 00:00:00 2001 +From 7ea6d97fb3e20a28a5dd848e2e082f25f99b72e4 Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 25 Sep 2021 14:36:07 +0200 -Subject: [PATCH 12/26] start easyeffects on tag 9 +Subject: [PATCH 12/27] start easyeffects on tag 9 --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index fea9b01..8b51ca2 100644 +index d2eb872..372dbdc 100644 --- a/config.def.h +++ b/config.def.h -@@ -463,6 +463,7 @@ static const Rule rules[] = { +@@ -487,6 +487,7 @@ static const Rule rules[] = { RULE(.class = "Firefox", .tags = 1 << 7, .switchtag = 1) RULE(.role = "browser", .tags = 1 << 7, .switchtag = 1) RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0) @@ -20,5 +20,5 @@ index fea9b01..8b51ca2 100644 RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0013-set-carla-to-tag-9.patch b/x11-wm/dwm/files/0013-set-carla-to-tag-9.patch index bd24e0e..06762e4 100644 --- a/x11-wm/dwm/files/0013-set-carla-to-tag-9.patch +++ b/x11-wm/dwm/files/0013-set-carla-to-tag-9.patch @@ -1,17 +1,17 @@ -From 5e6c851294570cdd7907070bde1e76830e9144dd Mon Sep 17 00:00:00 2001 +From 94325a0ed9e3ea259d977f844f2cfbe87d9e8922 Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 25 Nov 2021 01:15:38 +0100 -Subject: [PATCH 13/26] set carla to tag 9 +Subject: [PATCH 13/27] set carla to tag 9 --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index 8b51ca2..817041a 100644 +index 372dbdc..7c7d93b 100644 --- a/config.def.h +++ b/config.def.h -@@ -462,6 +462,7 @@ static const Rule rules[] = { +@@ -486,6 +486,7 @@ static const Rule rules[] = { RULE(.class = "lightcord", .tags = 1 << 0, .switchtag = 1, .monitor = 0) RULE(.class = "Firefox", .tags = 1 << 7, .switchtag = 1) RULE(.role = "browser", .tags = 1 << 7, .switchtag = 1) @@ -20,5 +20,5 @@ index 8b51ca2..817041a 100644 RULE(.class = "easyeffects", .tags = 1 << 8, .monitor = 0) RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0) -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0014-set-dmenucmd-to-rofi.patch b/x11-wm/dwm/files/0014-set-dmenucmd-to-rofi.patch index bb85dd3..84b945e 100644 --- a/x11-wm/dwm/files/0014-set-dmenucmd-to-rofi.patch +++ b/x11-wm/dwm/files/0014-set-dmenucmd-to-rofi.patch @@ -1,24 +1,21 @@ -From b9b0de722ee6c03c5cfb1107488d91cc2528402d Mon Sep 17 00:00:00 2001 +From 2f029c9f5f4bb7ef297fefce7455bc67043808d3 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 22 Dec 2021 00:00:07 +0100 -Subject: [PATCH 14/26] set dmenucmd to rofi +Subject: [PATCH 14/27] set dmenucmd to rofi --- - config.def.h | 14 +------------- - 1 file changed, 1 insertion(+), 13 deletions(-) + config.def.h | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/config.def.h b/config.def.h -index 817041a..815e48f 100644 +index 7c7d93b..303e2a0 100644 --- a/config.def.h +++ b/config.def.h -@@ -828,19 +828,7 @@ static const char *xkb_layouts[] = { - static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ - #endif // NODMENU_PATCH +@@ -849,16 +849,7 @@ static const char *xkb_layouts[] = { + + /* commands */ static const char *dmenucmd[] = { - "dmenu_run", -- #if !NODMENU_PATCH -- "-m", dmenumon, -- #endif // NODMENU_PATCH - "-fn", dmenufont, - "-nb", normbgcolor, - "-nf", normfgcolor, @@ -33,5 +30,5 @@ index 817041a..815e48f 100644 static const char *termcmd[] = { "st", NULL }; static const char *passmenucmd[] = { "passmenu", NULL }; -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0015-enable-no-border-patch.patch b/x11-wm/dwm/files/0015-enable-no-border-patch.patch index de92e9a..5662c0d 100644 --- a/x11-wm/dwm/files/0015-enable-no-border-patch.patch +++ b/x11-wm/dwm/files/0015-enable-no-border-patch.patch @@ -1,25 +1,25 @@ -From d02ba45bd7803f63614be483b4521c22cfd60101 Mon Sep 17 00:00:00 2001 +From 0bacd50754371c399c5aed85723b9fdc63af004f Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 20 Apr 2022 13:30:35 +0200 -Subject: [PATCH 15/26] enable no border patch +Subject: [PATCH 15/27] enable no border patch --- patches.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches.def.h b/patches.def.h -index dce12ed..01a61e9 100644 +index e7fb4a2..0509e26 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -762,7 +762,7 @@ +@@ -817,7 +817,7 @@ /* Removes the border when there is only one window visible. * https://dwm.suckless.org/patches/noborder/ */ -#define NOBORDER_PATCH 0 +#define NOBORDER_PATCH 1 - /* Enable modifying or removing dmenu in config.def.h which resulted previously in a - * compilation error because two lines of code hardcode dmenu into dwm. + /* This patch allows for toggleable client button bindings that have no modifiers. + * This can, for example, allow you to move or resize using the mouse alone without holding -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0016-force-swallow-from-alacritty.patch b/x11-wm/dwm/files/0016-force-swallow-from-alacritty.patch index cbfbcff..0e5354d 100644 --- a/x11-wm/dwm/files/0016-force-swallow-from-alacritty.patch +++ b/x11-wm/dwm/files/0016-force-swallow-from-alacritty.patch @@ -1,17 +1,17 @@ -From ccb5af564dad912b548b86991dae0f808c3d2d73 Mon Sep 17 00:00:00 2001 +From 68f0a3a8605aa811efa666a2d482c73d05f2b694 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 20 Apr 2022 13:52:04 +0200 -Subject: [PATCH 16/26] force swallow from alacritty +Subject: [PATCH 16/27] force swallow from alacritty --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index 815e48f..dbb0d47 100644 +index 303e2a0..5c41bda 100644 --- a/config.def.h +++ b/config.def.h -@@ -468,6 +468,7 @@ static const Rule rules[] = { +@@ -492,6 +492,7 @@ static const Rule rules[] = { RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0) RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) @@ -20,5 +20,5 @@ index 815e48f..dbb0d47 100644 RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1) #endif // SCRATCHPADS_PATCH -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0017-remove-browser-rules-and-add-permanent.patch b/x11-wm/dwm/files/0017-remove-browser-rules-and-add-permanent.patch index 58eecea..c610e85 100644 --- a/x11-wm/dwm/files/0017-remove-browser-rules-and-add-permanent.patch +++ b/x11-wm/dwm/files/0017-remove-browser-rules-and-add-permanent.patch @@ -1,7 +1,7 @@ -From 22ae928bb34fe5d1fc770bf675bfbdcf4f7ccf9e Mon Sep 17 00:00:00 2001 +From 00b14b776e9e6ade3d100055330d3fad9004686e Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 20 Apr 2022 18:18:33 +0200 -Subject: [PATCH 17/26] remove browser rules and add permanent +Subject: [PATCH 17/27] remove browser rules and add permanent --- config.def.h | 12 ++++-------- @@ -9,10 +9,10 @@ Subject: [PATCH 17/26] remove browser rules and add permanent 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/config.def.h b/config.def.h -index dbb0d47..97226f8 100644 +index 5c41bda..d725bae 100644 --- a/config.def.h +++ b/config.def.h -@@ -458,14 +458,10 @@ static const Rule rules[] = { +@@ -482,14 +482,10 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "UTILITY", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) @@ -32,10 +32,10 @@ index dbb0d47..97226f8 100644 RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) RULE(.class = "Alacritty", .isterminal = 1) diff --git a/patches.def.h b/patches.def.h -index 01a61e9..b2082fe 100644 +index 0509e26..092bc46 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -679,7 +679,7 @@ +@@ -708,7 +708,7 @@ /* Adds rule option for clients to avoid accidental termination by killclient for sticky windows. * https://dwm.suckless.org/patches/ispermanent/ */ @@ -45,5 +45,5 @@ index 01a61e9..b2082fe 100644 /* This patch adds key modes (like in vim or emacs) where chains of keyboard shortcuts * can be performed. -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0018-sendmon-keeptag-patch.patch b/x11-wm/dwm/files/0018-sendmon-keeptag-patch.patch index 5efeffd..ca6d5ee 100644 --- a/x11-wm/dwm/files/0018-sendmon-keeptag-patch.patch +++ b/x11-wm/dwm/files/0018-sendmon-keeptag-patch.patch @@ -1,7 +1,7 @@ -From 75eefd66d379c26925f147e9d4f8d1054d36b3e3 Mon Sep 17 00:00:00 2001 +From a2f2e7d992e29a3dea4fca1dee949124a71da4e4 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 20 Apr 2022 19:13:43 +0200 -Subject: [PATCH 18/26] sendmon: keeptag patch +Subject: [PATCH 18/27] sendmon: keeptag patch --- dwm.c | 2 ++ @@ -9,10 +9,10 @@ Subject: [PATCH 18/26] sendmon: keeptag patch 2 files changed, 6 insertions(+) diff --git a/dwm.c b/dwm.c -index 8d8ca19..6b66f77 100644 +index 794fab7..48a5fe9 100644 --- a/dwm.c +++ b/dwm.c -@@ -3268,11 +3268,13 @@ sendmon(Client *c, Monitor *m) +@@ -3305,11 +3305,13 @@ sendmon(Client *c, Monitor *m) #if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH if (!(c->tags & SPTAGMASK)) #endif // SCRATCHPADS_PATCH @@ -27,10 +27,10 @@ index 8d8ca19..6b66f77 100644 attachx(c); #else diff --git a/patches.def.h b/patches.def.h -index b2082fe..ee260d0 100644 +index 092bc46..d2909a5 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -963,6 +963,10 @@ +@@ -1012,6 +1012,10 @@ */ #define SENDMON_KEEPFOCUS_PATCH 0 @@ -42,5 +42,5 @@ index b2082fe..ee260d0 100644 * https://dwm.suckless.org/patches/setborderpx/ */ -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0019-taglabels.patch b/x11-wm/dwm/files/0019-taglabels.patch index 3fa1e53..2252799 100644 --- a/x11-wm/dwm/files/0019-taglabels.patch +++ b/x11-wm/dwm/files/0019-taglabels.patch @@ -1,17 +1,17 @@ -From 26007412a42b5513ef4967a6754329f9b706caed Mon Sep 17 00:00:00 2001 +From 1130aa352091877fecafbcbdfd8917d573f06a0c Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 20 Apr 2022 19:31:59 +0200 -Subject: [PATCH 19/26] taglabels +Subject: [PATCH 19/27] taglabels --- patches.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches.def.h b/patches.def.h -index ee260d0..980d862 100644 +index d2909a5..22ac7ea 100644 --- a/patches.def.h +++ b/patches.def.h -@@ -153,12 +153,12 @@ +@@ -170,12 +170,12 @@ #define BAR_SYSTRAY_PATCH 0 /* Show tag symbols in the bar. */ @@ -27,5 +27,5 @@ index ee260d0..980d862 100644 /* This patch underlines the selected tag, or optionally all tags. * https://dwm.suckless.org/patches/underlinetags/ -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0020-better-taglabels.patch b/x11-wm/dwm/files/0020-better-taglabels.patch index 149404e..6149d46 100644 --- a/x11-wm/dwm/files/0020-better-taglabels.patch +++ b/x11-wm/dwm/files/0020-better-taglabels.patch @@ -1,7 +1,7 @@ -From f88cf9c46ac1616e5abe4846c97a6edb0fd9b87d Mon Sep 17 00:00:00 2001 +From 42c1d84cc3a0bec88bb683649573c938cb68a819 Mon Sep 17 00:00:00 2001 From: odrling Date: Wed, 20 Apr 2022 20:26:55 +0200 -Subject: [PATCH 20/26] better taglabels +Subject: [PATCH 20/27] better taglabels --- config.def.h | 8 +++++--- @@ -10,10 +10,10 @@ Subject: [PATCH 20/26] better taglabels 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/config.def.h b/config.def.h -index 97226f8..a291b34 100644 +index d725bae..cb25bfd 100644 --- a/config.def.h +++ b/config.def.h -@@ -92,8 +92,8 @@ static const unsigned int systrayspacing = 2; /* systray spacing */ +@@ -95,8 +95,8 @@ static const unsigned int systrayspacing = 2; /* systray spacing */ static const int showsystray = 1; /* 0 means no systray */ #endif // BAR_SYSTRAY_PATCH #if BAR_TAGLABELS_PATCH @@ -24,7 +24,7 @@ index 97226f8..a291b34 100644 static const int lcaselbl = 0; /* 1 means make tag label lowercase */ #endif // BAR_TAGLABELS_PATCH #if BAR_UNDERLINETAGS_PATCH -@@ -464,7 +464,9 @@ static const Rule rules[] = { +@@ -488,7 +488,9 @@ static const Rule rules[] = { RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0, .ispermanent = 1) RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1) @@ -36,10 +36,10 @@ index 97226f8..a291b34 100644 RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1) #endif // SCRATCHPADS_PATCH diff --git a/dwm.c b/dwm.c -index 6b66f77..bb0ad84 100644 +index 48a5fe9..8977752 100644 --- a/dwm.c +++ b/dwm.c -@@ -339,6 +339,7 @@ struct XkbInfo { +@@ -344,6 +344,7 @@ struct XkbInfo { typedef struct Client Client; struct Client { char name[256]; @@ -47,7 +47,7 @@ index 6b66f77..bb0ad84 100644 float mina, maxa; #if CFACTS_PATCH float cfact; -@@ -524,6 +525,7 @@ typedef struct { +@@ -534,6 +535,7 @@ typedef struct { #endif // WINDOWROLERULE_PATCH const char *instance; const char *title; @@ -55,7 +55,7 @@ index 6b66f77..bb0ad84 100644 const char *wintype; unsigned int tags; #if SWITCHTAG_PATCH -@@ -866,6 +868,9 @@ applyrules(Client *c) +@@ -880,6 +882,9 @@ applyrules(Client *c) class = ch.res_class ? ch.res_class : broken; instance = ch.res_name ? ch.res_name : broken; wintype = getatomprop(c, netatom[NetWMWindowType], XA_ATOM); @@ -65,7 +65,7 @@ index 6b66f77..bb0ad84 100644 #if WINDOWROLERULE_PATCH gettextprop(c->win, wmatom[WMWindowRole], role, sizeof(role)); #endif // WINDOWROLERULE_PATCH -@@ -885,6 +890,8 @@ applyrules(Client *c) +@@ -899,6 +904,8 @@ applyrules(Client *c) && (!r->instance || strstr(instance, r->instance)) && (!r->wintype || wintype == XInternAtom(dpy, r->wintype, False))) { @@ -101,5 +101,5 @@ index 9e6d441..f00a7be 100644 snprintf(m->taglabel[i], 64, etagf, icon); -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0021-no-swallow-syncplay-mpv.patch b/x11-wm/dwm/files/0021-no-swallow-syncplay-mpv.patch index 6806048..6ac2de5 100644 --- a/x11-wm/dwm/files/0021-no-swallow-syncplay-mpv.patch +++ b/x11-wm/dwm/files/0021-no-swallow-syncplay-mpv.patch @@ -1,17 +1,17 @@ -From 35b51f815d0bd35857893dfb4b5e785dc786d5d8 Mon Sep 17 00:00:00 2001 +From 436eb252e453829b42120b3b30a35ea21e73ccb4 Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 21 Apr 2022 01:55:12 +0200 -Subject: [PATCH 21/26] no swallow syncplay mpv +Subject: [PATCH 21/27] no swallow syncplay mpv --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h -index a291b34..45e7fc7 100644 +index cb25bfd..25df128 100644 --- a/config.def.h +++ b/config.def.h -@@ -463,7 +463,7 @@ static const Rule rules[] = { +@@ -487,7 +487,7 @@ static const Rule rules[] = { RULE(.class = "easyeffects", .tags = 1 << 8, .monitor = 0, .ispermanent = 1) RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0, .ispermanent = 1) RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) @@ -21,5 +21,5 @@ index a291b34..45e7fc7 100644 RULE(.class = "Chromium-browser-chromium", .label = "\uf268") RULE(.class = "firefox", .label = "\uf269") -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0022-add-thunderbird-and-ardour-labels.patch b/x11-wm/dwm/files/0022-add-thunderbird-and-ardour-labels.patch index d7c30b9..3364429 100644 --- a/x11-wm/dwm/files/0022-add-thunderbird-and-ardour-labels.patch +++ b/x11-wm/dwm/files/0022-add-thunderbird-and-ardour-labels.patch @@ -1,17 +1,17 @@ -From 605a4465e5d416fbad2c305a78ae04f0b4add3db Mon Sep 17 00:00:00 2001 +From b34653a29b744c91fcda8912baf16c96e41c11b5 Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 21 Apr 2022 13:39:36 +0200 -Subject: [PATCH 22/26] add thunderbird and ardour labels +Subject: [PATCH 22/27] add thunderbird and ardour labels --- config.def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h -index 45e7fc7..68220d5 100644 +index 25df128..8ae74ee 100644 --- a/config.def.h +++ b/config.def.h -@@ -459,7 +459,7 @@ static const Rule rules[] = { +@@ -483,7 +483,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.class = "Carla2", .tags = 1 << 8, .monitor = 0, .switchtag = 0, .ispermanent = 1) @@ -20,7 +20,7 @@ index 45e7fc7..68220d5 100644 RULE(.class = "easyeffects", .tags = 1 << 8, .monitor = 0, .ispermanent = 1) RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0, .ispermanent = 1) RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) -@@ -467,6 +467,7 @@ static const Rule rules[] = { +@@ -491,6 +491,7 @@ static const Rule rules[] = { RULE(.class = "Alacritty", .isterminal = 1, .label = "\uf120") RULE(.class = "Chromium-browser-chromium", .label = "\uf268") RULE(.class = "firefox", .label = "\uf269") @@ -29,5 +29,5 @@ index 45e7fc7..68220d5 100644 RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1) #endif // SCRATCHPADS_PATCH -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0023-use-rofi-run.patch b/x11-wm/dwm/files/0023-use-rofi-run.patch index 0142551..08daa1a 100644 --- a/x11-wm/dwm/files/0023-use-rofi-run.patch +++ b/x11-wm/dwm/files/0023-use-rofi-run.patch @@ -1,19 +1,19 @@ -From b7d4771a3c65d21ef6e34ce82d4590dd20464858 Mon Sep 17 00:00:00 2001 +From c07580e6afce63f43eb8e358a32bb7729f3e56bb Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 5 May 2022 17:29:55 +0200 -Subject: [PATCH 23/26] use rofi run +Subject: [PATCH 23/27] use rofi run --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h -index 68220d5..4fa056f 100644 +index 8ae74ee..92779c6 100644 --- a/config.def.h +++ b/config.def.h -@@ -828,7 +828,7 @@ static const char *xkb_layouts[] = { - static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ - #endif // NODMENU_PATCH +@@ -849,7 +849,7 @@ static const char *xkb_layouts[] = { + + /* commands */ static const char *dmenucmd[] = { - "rofi", "-combi-modi", "window,run", "-show", "combi", NULL + "rofi", "-show", "run", NULL @@ -21,5 +21,5 @@ index 68220d5..4fa056f 100644 static const char *termcmd[] = { "st", NULL }; static const char *passmenucmd[] = { "passmenu", NULL }; -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0024-add-st-as-terminal.patch b/x11-wm/dwm/files/0024-add-st-as-terminal.patch index d69982b..30407d7 100644 --- a/x11-wm/dwm/files/0024-add-st-as-terminal.patch +++ b/x11-wm/dwm/files/0024-add-st-as-terminal.patch @@ -1,17 +1,17 @@ -From d691b5401b22bb8a910f9fd5034a5a3beaa480f9 Mon Sep 17 00:00:00 2001 +From d6d0e5ed750d14b9a076597e02a8fb2d903026e0 Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 26 May 2022 22:32:57 +0200 -Subject: [PATCH 24/26] add st as terminal +Subject: [PATCH 24/27] add st as terminal --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index 4fa056f..edd71ed 100644 +index 92779c6..ccb9ed1 100644 --- a/config.def.h +++ b/config.def.h -@@ -465,6 +465,7 @@ static const Rule rules[] = { +@@ -489,6 +489,7 @@ static const Rule rules[] = { RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0) RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1, .noswallow = 1) RULE(.class = "Alacritty", .isterminal = 1, .label = "\uf120") @@ -20,5 +20,5 @@ index 4fa056f..edd71ed 100644 RULE(.class = "firefox", .label = "\uf269") RULE(.class = "Thunderbird", .label = "\uf01c") -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0025-add-discord-icon-ig.patch b/x11-wm/dwm/files/0025-add-discord-icon-ig.patch index f4bf25a..7dd2650 100644 --- a/x11-wm/dwm/files/0025-add-discord-icon-ig.patch +++ b/x11-wm/dwm/files/0025-add-discord-icon-ig.patch @@ -1,17 +1,17 @@ -From 66466df4143fb47789e03b7ad182b7fdd256bf6d Mon Sep 17 00:00:00 2001 +From 781fec2e6fcc618c03fa2121b7652e2406e72743 Mon Sep 17 00:00:00 2001 From: odrling Date: Mon, 30 May 2022 01:53:40 +0200 -Subject: [PATCH 25/26] add discord icon ig +Subject: [PATCH 25/27] add discord icon ig --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h -index edd71ed..7357e1e 100644 +index ccb9ed1..7abedf9 100644 --- a/config.def.h +++ b/config.def.h -@@ -466,6 +466,7 @@ static const Rule rules[] = { +@@ -490,6 +490,7 @@ static const Rule rules[] = { RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1, .noswallow = 1) RULE(.class = "Alacritty", .isterminal = 1, .label = "\uf120") RULE(.class = "st-256color", .isterminal = 1, .label = "\uf120") @@ -20,5 +20,5 @@ index edd71ed..7357e1e 100644 RULE(.class = "firefox", .label = "\uf269") RULE(.class = "Thunderbird", .label = "\uf01c") -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0026-set-correct-fontawesome-discord-character.patch b/x11-wm/dwm/files/0026-set-correct-fontawesome-discord-character.patch index 5113a78..f59966e 100644 --- a/x11-wm/dwm/files/0026-set-correct-fontawesome-discord-character.patch +++ b/x11-wm/dwm/files/0026-set-correct-fontawesome-discord-character.patch @@ -1,17 +1,17 @@ -From f9e06fc11fb2839c3a170af7a504552c50d793a7 Mon Sep 17 00:00:00 2001 +From e527ef804e75c91ba7a6674f0d899f26ba71be25 Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 2 Jun 2022 16:00:25 +0200 -Subject: [PATCH 26/26] set correct fontawesome discord character +Subject: [PATCH 26/27] set correct fontawesome discord character --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h -index 7357e1e..88c801e 100644 +index 7abedf9..3ffb428 100644 --- a/config.def.h +++ b/config.def.h -@@ -466,7 +466,7 @@ static const Rule rules[] = { +@@ -490,7 +490,7 @@ static const Rule rules[] = { RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1, .noswallow = 1) RULE(.class = "Alacritty", .isterminal = 1, .label = "\uf120") RULE(.class = "st-256color", .isterminal = 1, .label = "\uf120") @@ -21,5 +21,5 @@ index 7357e1e..88c801e 100644 RULE(.class = "firefox", .label = "\uf269") RULE(.class = "Thunderbird", .label = "\uf01c") -- -2.35.1 +2.37.2 diff --git a/x11-wm/dwm/files/0027-set-pid-to-rofi.patch b/x11-wm/dwm/files/0027-set-pid-to-rofi.patch new file mode 100644 index 0000000..b6f677c --- /dev/null +++ b/x11-wm/dwm/files/0027-set-pid-to-rofi.patch @@ -0,0 +1,25 @@ +From 4feef60821f70357ee6c57da7a4403c135463460 Mon Sep 17 00:00:00 2001 +From: odrling +Date: Thu, 28 Jul 2022 14:55:49 +0200 +Subject: [PATCH 27/27] set pid to rofi + +--- + config.def.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.def.h b/config.def.h +index 3ffb428..959db72 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -851,7 +851,7 @@ static const char *xkb_layouts[] = { + + /* commands */ + static const char *dmenucmd[] = { +- "rofi", "-show", "run", NULL ++ "rofi", "-pid", "/tmp/rofi", "-show", "run", NULL + }; + static const char *termcmd[] = { "st", NULL }; + static const char *passmenucmd[] = { "passmenu", NULL }; +-- +2.37.2 +