From 37a358c3da4d1c29860c8ad432b059b5ffe79745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Zvara?= Date: Mon, 25 Nov 2024 16:39:22 +0100 Subject: [PATCH] The Waybar `launch.sh` to source the `.bashrc` Supports use-cases for custom Python `venvs`, for example, for plugins like `nextmeeting`. --- share/dotfiles/.config/waybar/launch.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/share/dotfiles/.config/waybar/launch.sh b/share/dotfiles/.config/waybar/launch.sh index ec70cf96c..c5b3c88ea 100755 --- a/share/dotfiles/.config/waybar/launch.sh +++ b/share/dotfiles/.config/waybar/launch.sh @@ -8,6 +8,16 @@ # by Stephan Raabe (2023) # ----------------------------------------------------- + +# ----------------------------------------------------- +# Load `.bashrc` to support use-cases for custom Waybar +# modules where the user commands require additional +# setup that is provided by `.bashrc`. Common use-cases +# include running Python scripts from a specific `venv` +# or custom JVM environments. +# ----------------------------------------------------- +source ~/.bashrc + # ----------------------------------------------------- # Quit all running waybar instances # -----------------------------------------------------