From 1d6d6ef1fc348e06c2a7775dcf8d95d455e58ed0 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Wed, 21 Sep 2022 00:07:02 -0700 Subject: [PATCH 1/2] check if dbus-launch exists before running --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index 08dbddd..3040dfd 100644 --- a/.profile +++ b/.profile @@ -50,7 +50,7 @@ export LESS_TERMCAP_ue="$(printf '%b' '[0m')" export MOZ_USE_XINPUT2="1" # Mozilla smooth scrolling/touchpads. export VDPAU_DRIVER=va_gl # Fix steam remote play black screen # shellcheck disable=SC2046 -export $(dbus-launch) +command -v dbus-launch && export $(dbus-launch) From b4b303611b2dc9b073ffa56dfe8f289bd768d637 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Wed, 21 Sep 2022 00:11:18 -0700 Subject: [PATCH 2/2] shell: remove profile load check --- .config/shell/shrc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.config/shell/shrc b/.config/shell/shrc index c70d43b..d027687 100644 --- a/.config/shell/shrc +++ b/.config/shell/shrc @@ -38,11 +38,6 @@ error() { # change cursor to a beam by default printf '\e[5 q' -# Warn if profile isn't loaded, if not in an ssh connection -if ! "${PROFILE_LOADED:-false}" || [ -z "${SSH_TTY:+foo}" ]; then - echo "Warning: profile was not loaded! Set PROFILE_LOADED to 'true' to disable this warning." >&2 -fi - ### <<< ### Generic shell configuration >>> ### Environment variables >>>