-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
35 lines (28 loc) · 922 Bytes
/
.profile
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
#
# ~/.profile
#
if [ $(uname -m) = "aarch64" ]; then
sudo cpupower frequency-set -u 2.0Ghz && echo "Set frequency to 2.0Ghz" || echo "Setting frequency failed"
echo 2000 | sudo tee /sys/class/backlight/backlight/brightness && echo "Set brightness" || echo "Setting brightness failed"
fi
export PATH="$PATH:$HOME/.local/bin"
# General variables
export BROWSER="chromium"
export EDITOR="nvim"
export VISUAL="$EDITOR"
export SABRENT="/run/media/$USER/SABRENT"
export WEBKIT_DISABLE_DMABUF_RENDERER=1
export MOZ_LEGACY_PROFILES=1
export MOZ_ALLOW_DOWNGRADE=1
export MOZ_PROFILE="$HOME/.mozilla/firefox/90zxn11k.default"
# Compilation
export MAKEFLAGS="-j8"
export NINJA_JOBS=8
export MESON_TESTTHREADS=8
export CARGO_BUILD_JOBS=8
# Manpages
export MANPAGER="less -R -M --use-color -Dd+Y -Du+W -DPkY +Gg"
export MANROFFOPT="-P -c"
# Pager
export LESS='-i -R'
[[ $- == *i* && -f ~/.bashrc ]] && source ~/.bashrc