From a804a7343975963743e746682fc0689eb6e3b17c Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 22 Jun 2023 17:32:43 +0200 Subject: Removed duplicate comment --- .config/X11/.xinitrc | 15 +-------------- .config/X11/.xprofile | 4 +--- 2 files changed, 2 insertions(+), 17 deletions(-) (limited to '.config/X11') diff --git a/.config/X11/.xinitrc b/.config/X11/.xinitrc index 478994a..1bb2ba9 100755 --- a/.config/X11/.xinitrc +++ b/.config/X11/.xinitrc @@ -21,6 +21,7 @@ fi # (login screen) and so they are needed there. To prevent doubling up commands, # I source them here with the line below. +# Profile [[ -f /etc/profile ]] && source /etc/profile if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/X11/.xprofile" ]; then @@ -29,17 +30,3 @@ else . "$HOME/.xprofile" fi - - -# profile -#[[ -f /etc/profile ]] && source /etc/profile -#[[ -f ~/.config/X11/.profile ]] && source ~/.config/X11/.profile - - -#exec ck-launch-session dbus-launch --exit-with-session startxfce4 - -#export XDG_SESSION_TYPE=X11 -#xsetroot -cursor_name left_ptr -#picom -f & -#sxhkd & -#exec bspwm diff --git a/.config/X11/.xprofile b/.config/X11/.xprofile index a558b3e..b92d741 100644 --- a/.config/X11/.xprofile +++ b/.config/X11/.xprofile @@ -38,7 +38,5 @@ export ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors" if [[ "$(tty)" = "/dev/tty1" ]]; then pgrep bspwm || startx "$XDG_CONFIG_HOME/X11/.xinitrc" -fi -#if [[ "$(tty)" = "/dev/tty1" ]]; then # pgrep startxfce4 || startx "$XDG_CONFIG_HOME/X11/.xinitrc" -#fi +fi -- cgit v1.2.3