summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-11-30 20:02:27 +0400
committerAndrew <saintruler@gmail.com>2020-11-30 20:02:27 +0400
commit5a68d0d68032b33af5d433cde1d93c6f6cfb0f11 (patch)
tree642bac10a424b63d73ec0f88e9cadcb71d298323 /.profile
parent2ffe1d22e9ab40f205f0cfa70ebb0712bb36c115 (diff)
Changes to autostart of X11 session
* Removed autostarting of X11 from .profile * Moved variables used in graphical session to .xprofile * Removed junk from .xinitrc * Added xmonad configurations
Diffstat (limited to '.profile')
-rw-r--r--.profile36
1 files changed, 4 insertions, 32 deletions
diff --git a/.profile b/.profile
index b7d6959..6218cff 100644
--- a/.profile
+++ b/.profile
@@ -1,33 +1,9 @@
-# ~/.profile: executed by the command interpreter for login shells.
-# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
-# exists.
-# see /usr/share/doc/bash/examples/startup-files for examples.
-# the files are located in the bash-doc package.
-
-# the default umask is set in /etc/profile; for setting the umask
-# for ssh logins, install and configure the libpam-umask package.
-#umask 022
-
-# set PATH so it includes user's private bin if it exists
-if [ -d "$HOME/bin" ] ; then
- PATH="$HOME/bin:$PATH"
-fi
-
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')"
fi
-# Set this variable to allow autostart
-export AUTOSTART=1
-# Set supported WM to autostart
-export DISPLAY_SESSION="dwm"
-
-
export SHELL="/bin/zsh"
-export TERMINAL="st"
-export EDITOR="nvim"
-export BROWSER="qutebrowser"
export VIMINIT="source $MYVIMRC"
# For Jetbrains products
@@ -59,12 +35,8 @@ export LESSHISTFILE=-
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
+export STACK_ROOT="$XDG_DATA_HOME/stack"
-# Autostarting window manager
-if [ "$(tty)" = "/dev/tty1" ]; then
- if [ "$AUTOSTART" = "1" ] && [ -z "$DISPLAY" ] && [ ! -z "$DISPLAY_SESSION" ]; then
- ! pidof Xorg >/dev/null 2>&1 && exec startx
- fi
-elif [ -z "$TMUX" ]; then
- exec tmux
-fi
+export XMONAD_CONFIG_HOME="$XDG_CONFIG_HOME/xmonad"
+export XMONAD_DATA_HOME="$XDG_DATA_HOME/xmonad"
+export XMONAD_CACHE_HOME="$XDG_CACHE_HOME/xmonad"