~yerinalexey/dotfiles

ref: 144a38b0aa0a39003633d53b77fe4e3ca29c054b dotfiles/ash/profile.sh -rw-r--r-- 1.2 KiB
144a38b0Alexey Yerin river,update-volume: fix old wob crashes 6 months ago
                                                                                
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
48
49
50
51
52
53
54
55
56
#!/bin/sh

# XDG dirs
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"

# Profile for non-login shells (e.g. in a terminal)
export ENV="$XDG_CONFIG_HOME/ash/init.sh"

# Binaries
export PATH="$XDG_CONFIG_HOME/scripts:$PATH"
export PATH="$PATH:$HOME/.local/bin"

export CARGO_HOME="$XDG_DATA_HOME/cargo"
export PATH="$PATH:$CARGO_HOME/bin"

# Defaults
export BROWSER=qutebrowser
export TERMINAL=foot
export READER=zathura
export EDITOR=vis
export IMAGE=imv
export VIDEO=mpv

# Global bemenu config
background='#191f24'
foreground='#eeeeee'
primary='#265abc'

export BEMENU_OPTS="--fn 'monospace 13' -H 30 \
	--nb=${background} \
	--fb=${background} \
	--ff=${foreground} \
	--tb=${background} \
	--tf=#7ea3e9 \
	--hb=#313131 \
	--hf=#638cda"

# Fix less
export LESS="-cR"
export LESSHISTFILE=-

# Clean up the home directory
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
export GOPATH="$XDG_DATA_HOME/go"

export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"

export PSQLRC="$XDG_CONFIG_HOME/psql/psqlrc"
export PSQL_HISTORY="$XDG_CACHE_HOME/psql-history"

# No Google tracking
export GOPROXY=direct