From df213f04bbf4ebac31b9f631977f570f0dbd5999 Mon Sep 17 00:00:00 2001 From: Guillaume Vern Date: Mon, 24 Nov 2025 20:56:11 +0100 Subject: [PATCH] add bin env --- .config/waybar/config | 1 - .gitignore | 7 +++++++ .local/bin/env | 11 +++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) delete mode 120000 .config/waybar/config create mode 100644 .local/bin/env diff --git a/.config/waybar/config b/.config/waybar/config deleted file mode 120000 index cfbba03..0000000 --- a/.config/waybar/config +++ /dev/null @@ -1 +0,0 @@ -/home/guillaumev/.config/waybar/configs/[TOP] Custom \ No newline at end of file diff --git a/.gitignore b/.gitignore index 917a12d..407d291 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,13 @@ !.config/waybar/ !.config/waybar/**/* +.config/waybar/wallust +.config/waybar/configs/'[TOP] Custom' +.config/waybar/config + +!.local/ +!.local/bin/ +!.local/bin/env diff --git a/.local/bin/env b/.local/bin/env new file mode 100644 index 0000000..e4a80cb --- /dev/null +++ b/.local/bin/env @@ -0,0 +1,11 @@ +#!/bin/sh +# add binaries to PATH if they aren't added yet +# affix colons on either side of $PATH to simplify matching +case ":${PATH}:" in + *:"$HOME/.local/bin":*) + ;; + *) + # Prepending path in case a system-installed binary needs to be overridden + export PATH="$HOME/.local/bin:$PATH" + ;; +esac