-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_profile
More file actions
41 lines (34 loc) · 818 Bytes
/
Copy path.bash_profile
File metadata and controls
41 lines (34 loc) · 818 Bytes
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
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
# XDG paths
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
export XDG_DATA_HOME
XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME
XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME
XDG_CONFIG_HOME="$HOME/.config"
# Other directories
export SCRIPTS_HOME
SCRIPTS_HOME="$HOME/.scripts"
# Disable files
export LESSHISTFILE
LESSHISTFILE=-
# Default apps
export EDITOR="vim"
export VISUAL="vim"
export TERMINAL="kitty"
export BROWSER="firefox"
export VIDEO="mpv"
export OPENER="xdg-open"
export PAGER="less"
export WM="i3"
# Task/Time Warrior
export TASKRC=$XDG_CONFIG_HOME/task/taskrc
export TASKDATA=$HOME/Documents/task task list
# Start startx
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi