aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-06-22 17:32:43 +0200
committersrdusr <trevorgray@srdusr.com>2023-06-22 17:32:43 +0200
commita804a7343975963743e746682fc0689eb6e3b17c (patch)
tree1ae0532092d2d37a6aeffd0de7db0d5d39a348d8
parentc0ca2a8834cc0997ce781b2434d07f810b0ecc21 (diff)
downloaddotfiles-a804a7343975963743e746682fc0689eb6e3b17c.tar.gz
dotfiles-a804a7343975963743e746682fc0689eb6e3b17c.zip
Removed duplicate comment
-rwxr-xr-x.config/X11/.xinitrc15
-rw-r--r--.config/X11/.xprofile4
2 files changed, 2 insertions, 17 deletions
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