aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_profile2
-rw-r--r--.bashrc2
-rwxr-xr-x.local/bin/scripts/app-launcher2
-rwxr-xr-x.local/bin/scripts/app-launcher-priv2
4 files changed, 4 insertions, 4 deletions
diff --git a/.bash_profile b/.bash_profile
index d8acd79..6b82176 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -36,4 +36,4 @@ export FZF_DEFAULT_OPTS="--color=fg:255,hl:9 \
. /etc/profile.d/theme.sh
# source bashrc
-[ -z "$DISPLAY" ] && . "$HOME/.bashrc"
+[ -z "$BASH_PROFILE" ] && . "$HOME/.bashrc"
diff --git a/.bashrc b/.bashrc
index 5a7ab73..9b53515 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,7 +1,7 @@
#!/bin/bash
# source exports
-[ -z "$DISPLAY" ] || . "$HOME/.bash_profile"
+export BASH_PROFILE=loaded && . "$HOME/.bash_profile";
# bail if not interactive
[[ $- != *i* ]] && return;
diff --git a/.local/bin/scripts/app-launcher b/.local/bin/scripts/app-launcher
index 586f5a0..d16fccb 100755
--- a/.local/bin/scripts/app-launcher
+++ b/.local/bin/scripts/app-launcher
@@ -1,3 +1,3 @@
#!/bin/sh
-. "$HOME/.bash_profile"
+export BASH_PROFILE=loaded && . "$HOME/.bash_profile";
rofi -fullscreen -show run -display-run '$' -font 'ubuntu 12' -padding 250;
diff --git a/.local/bin/scripts/app-launcher-priv b/.local/bin/scripts/app-launcher-priv
index 5e55b04..b6f3db2 100755
--- a/.local/bin/scripts/app-launcher-priv
+++ b/.local/bin/scripts/app-launcher-priv
@@ -1,3 +1,3 @@
#!/bin/sh
-. "$HOME/.bash_profile"
+export BASH_PROFILE=loaded && . "$HOME/.bash_profile";
rofi -fullscreen -show run -display-run '#' -run-command 'sudo -A {cmd}' -font 'ubuntu 12' -padding 250;