From 8f5f22eb4f090c792f663eca02e24aa69d344856 Mon Sep 17 00:00:00 2001 From: Sivecano Date: Fri, 30 May 2025 12:42:50 +0200 Subject: [PATCH] hot-reload: embarassing type (this is why you should do thourough testing) --- patches/hot-reload/hot-reload-0.7.patch | 6 +++--- patches/hot-reload/hot-reload.patch | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/hot-reload/hot-reload-0.7.patch b/patches/hot-reload/hot-reload-0.7.patch index 1455e9b..1611684 100644 --- a/patches/hot-reload/hot-reload-0.7.patch +++ b/patches/hot-reload/hot-reload-0.7.patch @@ -1,4 +1,4 @@ -From 168456db2d9d2e1c6f1183b0ecc660b21ecb9271 Mon Sep 17 00:00:00 2001 +From 559c635056f23d55df3f83c12d1201a7328f648f Mon Sep 17 00:00:00 2001 From: Sivecano Date: Sun, 26 Jan 2025 18:30:02 +0100 Subject: [PATCH] redo hot-reloading in one file @@ -99,7 +99,7 @@ index 22d2171..6e3dda1 100644 { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} }, diff --git a/dwl.c b/dwl.c -index def2562..7e059ad 100644 +index def2562..1c9ab67 100644 --- a/dwl.c +++ b/dwl.c @@ -1,6 +1,15 @@ @@ -652,7 +652,7 @@ index def2562..7e059ad 100644 + wlr_log(WLR_ERROR, "couldn't load new dwl module from %s", get_module_path()); + + if (fork() == 0) -+ execl("/bin/env", "--", "Notify-send", "-u", "low", "failed to reload dwl", NULL); ++ execl("/bin/env", "--", "notify-send", "-u", "low", "failed to reload dwl", NULL); + return; + } + diff --git a/patches/hot-reload/hot-reload.patch b/patches/hot-reload/hot-reload.patch index f658e88..a205d74 100644 --- a/patches/hot-reload/hot-reload.patch +++ b/patches/hot-reload/hot-reload.patch @@ -1,4 +1,4 @@ -From 1858097340a93293f2489dcb8f78dc52ad2a40df Mon Sep 17 00:00:00 2001 +From d35683fbbdc287dcd23ee2b2182e6f8eedb24e86 Mon Sep 17 00:00:00 2001 From: Sivecano Date: Sun, 26 Jan 2025 18:30:02 +0100 Subject: [PATCH] redo hot-reloading in one file @@ -99,7 +99,7 @@ index 22d2171..6e3dda1 100644 { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} }, diff --git a/dwl.c b/dwl.c -index 4816159..5125931 100644 +index 4816159..db300bd 100644 --- a/dwl.c +++ b/dwl.c @@ -1,6 +1,15 @@ @@ -914,7 +914,7 @@ index 4816159..5125931 100644 + wlr_log(WLR_ERROR, "couldn't load new dwl module from %s", get_module_path()); + + if (fork() == 0) -+ execl("/bin/env", "--", "Notify-send", "-u", "low", "failed to reload dwl", NULL); ++ execl("/bin/env", "--", "notify-send", "-u", "low", "failed to reload dwl", NULL); + return; + } +