~mehdix/dotfiles

ref: 86c3a2253e8761846e79bbf4164766a73bdfd732 dotfiles/.profile -rw-r--r-- 669 bytes
86c3a225Mehdi Sadeghi Adjust KB layout. Add xdg desktop portal config. 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
echo .profile begin
# .profile
export ENV=~/.env
export LANG=en_US.UTF-8
export LC_TIME=de_DE.UTF-8
export EDITOR=vim
#export TERM=foot-extra
export HISTSIZE=65535

export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'`
export CFLAGS="-O2 -pipe -march=native"
export CXXFLAGS="${CFLAGS}"
# Sway compatiblity https://github.com/swaywm/sway/issues/595
export _JAVA_AWT_WM_NONREPARENTING=1
export GDK_BACKEND=wayland

HOSTNAME=$(cat /proc/sys/kernel/hostname)
[ -e .config/$HOSTNAME.profile ] && . .config/$HOSTNAME.profile
[ $0 != sh ] && [ -n "$BASH_VERSION" ] && shopt login_shell 2>&1 > /dev/null && [ -f ~/.bashrc ] && . ~/.bashrc

echo .profile end