From c34c8f6d8d235b4efd7a6e7c366314018d774885 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 2 Feb 2023 19:31:01 -0500 Subject: [PATCH] Use /dev/tty6 for manual screen blanking --- config-files/bash_profile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config-files/bash_profile b/config-files/bash_profile index c05ce3e..91c5aca 100644 --- a/config-files/bash_profile +++ b/config-files/bash_profile @@ -2,9 +2,6 @@ # ~/.bash_profile # -#[[ -f ~/.bashrc ]] && . ~/.bashrc -#if [ -z ${DISPLAY} ] && [ ${XDG_VTNR} -eq 1 ]; then exec startx; fi - # WAYLAND ENV export MOZ_ENABLE_WAYLAND=1 export WAYLAND_PROTOCOLS_DATADIR="/usr/share/wayland-protocols" @@ -25,3 +22,5 @@ export EDITOR=micro export BUILDDIR=/tmp/makepkg export HISTSIZE=10000 export HISTFILESIZE=100000 + +if [ -z $DISPLAY ] && [ $(tty) = /dev/tty6 ]; then exec setterm --blank=force; exit; fi