summaryrefslogtreecommitdiff
path: root/.zprofile
blob: a5a0e6c394367f14102f9f9247766f0ff74dc2dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/sh

# Profile file. Runs on login. Environmental variables are set here.
# Grabs the  current distro
DISTRO="$(grep ^ID= /etc/os-release | sed s:ID=::g | sed s:\"::g)"

# Adds ~/.local/bin to $PATH
export PATH="$HOME/.local/bin:$PATH"

# Default programs
export EDITOR="nvim"
export TERMINAL="st"
export BROWSER="qutebrowser"
export READER="zathura"
export FILE="vifm"
export DISTRO

# Home directory clean-up
export SUCK="$HOME"/.local/src/suck
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export LESSHISTFILE="-"
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc-2.0
export ZDOTDIR="$XDG_CONFIG_HOME"/zsh
export ATOM_HOME="$XDG_CONFIG_HOME"/Atom
export XAUTHORITY="$XDG_CONFIG_HOME"/X11/Xauthority
export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg
export WINEPREFIX="$XDG_DATA_HOME"/wine/default

# Default Vars
export WALLPAPER="$HOME"/.config/wallpaper/wallpaper.png

#Session Selection Menu
export SESSION=dwm
printf "Starting X, press Ctrl-C to interrupt\n"
printf "5"
sleep 1
printf " 4"
sleep 1
printf " 3"
sleep 1
printf " 2"
sleep 1
printf " 1"
sleep 1
printf "\n Starting...\n"
startx