aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
authorLibravatar Rostislav Pehlivanov <atomnuker@gmail.com>2018-05-06 00:19:52 +0100
committerLibravatar Rostislav Pehlivanov <atomnuker@gmail.com>2018-05-06 00:19:52 +0100
commit2c0c3dc7cc3599a79fa464e1c093dead86f3cb65 (patch)
tree0ca9fb1f5789b350330694fc195529552a61b6bc /sway/commands/exec_always.c
parentRevert "Meson: Replace option `instlibdir` with `libexecdir`" (diff)
downloadsway-2c0c3dc7cc3599a79fa464e1c093dead86f3cb65.tar.gz
sway-2c0c3dc7cc3599a79fa464e1c093dead86f3cb65.tar.zst
sway-2c0c3dc7cc3599a79fa464e1c093dead86f3cb65.zip
Revert "Make the LIBDIR path configurable"
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r--sway/commands/exec_always.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c
index 8483cf26..16bbcb61 100644
--- a/sway/commands/exec_always.c
+++ b/sway/commands/exec_always.c
@@ -55,8 +55,8 @@ struct cmd_results *cmd_exec_always(int argc, char **argv) {
55 if ((*child = fork()) == 0) { 55 if ((*child = fork()) == 0) {
56 // Acquire the current PATH 56 // Acquire the current PATH
57 char *path = getenv("PATH"); 57 char *path = getenv("PATH");
58 const char *extra_path = ":" INSTLIBDIR; 58 const char *extra_path = ":/usr/lib/sway";
59 const size_t extra_size = sizeof(INSTLIBDIR) + 1; 59 const size_t extra_size = sizeof("/usr/lib/sway") + 1;
60 60
61 if (!path) { 61 if (!path) {
62 size_t n = confstr(_CS_PATH, NULL, 0); 62 size_t n = confstr(_CS_PATH, NULL, 0);