summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authormemreyagci <meydeveloper@tutanota.com>2021-02-21 16:10:28 +0100
committermemreyagci <meydeveloper@tutanota.com>2021-02-21 16:10:28 +0100
commit4bf6941b871b70e19951536a90ab3aacacce29ae (patch)
tree7705f582e67861b200fb930594763b8c23b12d69 /.config
parent219ea40fe99d3b64d32532ef826cb6c2ce12feac (diff)
downloadeibhear-4bf6941b871b70e19951536a90ab3aacacce29ae.tar.gz
eibhear-4bf6941b871b70e19951536a90ab3aacacce29ae.tar.zst
eibhear-4bf6941b871b70e19951536a90ab3aacacce29ae.zip
Deleted the .xinitrc link at $HOME for even a cleaner home directory.
A custom filename and directory can be specified with startx command, which in this case is $XINITRC variable that indicates $XDG_CONFIG_HOME/x11/xinitrc
Diffstat (limited to '.config')
-rw-r--r--.config/shell/profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 06831cb..f6b1426 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -19,7 +19,7 @@ export BROWSER="brave"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
-#export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
+export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
#export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs.
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
@@ -142,7 +142,7 @@ ex=🎯:\
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
# Start graphical server on user's current tty if not already running.
- [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx
+ [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx $XINITRC
else
echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm.
Please run: