Add profile files

This commit is contained in:
Marco Thomas
2021-06-12 15:12:55 +02:00
parent 226984ceac
commit 270fc7f324
5 changed files with 13 additions and 8 deletions

11
files/.profile Executable file
View File

@@ -0,0 +1,11 @@
# executed on login
# manjaro magic
export BROWSER=/usr/bin/firefox-nightly
export LC_ALL=en_US.UTF-8
# path
export PATH=$PATH:$HOME/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin
# keyboard layout
setxkbmap -layout za

View File

@@ -21,9 +21,6 @@ export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export GTK_THEME=Pop-gruvbox:light
export QT_QPA_PLATFORMTHEME="gtk2"
# keyboard layout
setxkbmap -layout za
# start programs
fcitx -d &
nextcloud &
@@ -37,9 +34,6 @@ export SDL_IM_MODULE='fcitx'
export XMODIFIERS='@im=fcitx'
export WINIT_UNIX_BACKEND=x11
# path
export PATH=$PATH:$HOME/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin
# university wants me to use intellij, but dwm rightfully hates it
export _JAVA_AWT_WM_NONREPARENTING=1

1
files/.zprofile Executable file
View File

@@ -0,0 +1 @@
. ~/.profile

View File

@@ -77,7 +77,6 @@
(use-package exec-path-from-shell
:ensure t)
;; Use ssh agent from env
(exec-path-from-shell-copy-env "SSH_AGENT_PID")
(exec-path-from-shell-copy-env "SSH_AUTH_SOCK")
(exec-path-from-shell-copy-env "PATH")

View File

@@ -4,7 +4,7 @@
path=$(pwd)
# --- home --- #
home_files="scripts .bashrc .zshrc .gitconfig .tmux.conf .vimrc .Xresources .xinitrc"
home_files="scripts .bashrc .zshrc .gitconfig .tmux.conf .vimrc .Xresources .xinitrc .profile .zprofile"
for file in $home_files
do