aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/.zprofile12
1 files changed, 0 insertions, 12 deletions
diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile
index 4ec678f..aafa4ed 100644
--- a/.config/zsh/.zprofile
+++ b/.config/zsh/.zprofile
@@ -37,15 +37,3 @@ TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then
mkdir -p "$TMPPREFIX"
fi
-
-
-[[ "$TTY" == /dev/tty* ]] || return 0
-
-if command -v systemctl > /dev/null; then
- export $(systemctl --user show-environment)
- if [[ -z $DISPLAY && "$TTY" == "/dev/tty1" ]]; then
- systemd-cat -t sway sway
- systemctl --user stop sway-session.target
- systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
- fi
-fi