diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2021-12-27 20:28:19 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2021-12-27 20:28:19 +0100 |
commit | 6b129df7eecd64f7a5c8cbe946d0511f91f002f9 (patch) | |
tree | 3cbdbd50498aced89e14d881718a2b696315ef58 /dot_profile | |
parent | 4d3ea3bc6fa793c999b982af086150c84bfdb86f (diff) |
Updated with chezmoi
Diffstat (limited to 'dot_profile')
-rw-r--r-- | dot_profile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dot_profile b/dot_profile new file mode 100644 index 0000000..53608b0 --- /dev/null +++ b/dot_profile @@ -0,0 +1,25 @@ +#!/bin/sh + +# Profile file. Runs on login. Environmental variables are set here. + +export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin" +export XBPS_DISTDIR="$HOME/workbench/void-packages" + +# Default programs: +export EDITOR="nvim" +export TERMINAL="xterm" +export BROWSER="firefox" +export READER="zathura" +export FILE="ranger" + +# ~/ Clean-up: +export LESSHISTFILE="-" + +export BAT_THEME="Dracula" + +[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1 + +echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc" + +# Start graphical server if i3 not already running. +[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx |