move env vars to .profile

This commit is contained in:
shibao 2022-01-13 13:34:46 -05:00
parent 5d47047ccf
commit 23e37329c6
3 changed files with 24 additions and 23 deletions

View File

@ -1,16 +1,8 @@
# if not running interactively, don't do anything # if not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
# hidpi potential fix # add environment vars
export QT_AUTO_SCREEN_SCALE_FACTOR=1 . ~/.profile
# for waybar
export XDG_CURRENT_DESKTOP=Unity
# dark gtk themes
export GTK_THEME=Materia:dark
# set neovim as default editor
export VISUAL=nvim
export EDITOR=nvim
# add scripts folder to path # add scripts folder to path
export PATH="/home/default/scripts:$PATH" export PATH="/home/default/scripts:$PATH"
@ -18,16 +10,6 @@ export PATH="/home/default/scripts:$PATH"
# add secret scripts folder to path # add secret scripts folder to path
export PATH="/home/default/syncthing/default/scripts:$PATH" export PATH="/home/default/syncthing/default/scripts:$PATH"
# dotnet
export MSBuildSDKsPath="/usr/share/dotnet/sdk/`dotnet --version`/Sdks/"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export PATH="/home/default/.dotnet/tools:$PATH"
# ime
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
# aliases # aliases
alias v=nvim alias v=nvim
alias ls="ls --color=auto" alias ls="ls --color=auto"

View File

@ -1,3 +1,24 @@
# qt5ct
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_AUTO_SCREEN_SCALE_FACTOR=1
# waybar
export XDG_CURRENT_DESKTOP=Unity
# gtk
export GTK_THEME=Materia:dark
# ibus
export GTK_IM_MODULE=ibus export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus export QT_IM_MODULE=ibus
# set neovim as default editor
export VISUAL=nvim
export EDITOR=nvim
# dotnet
export MSBuildSDKsPath="/usr/share/dotnet/sdk/`dotnet --version`/Sdks/"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export PATH="/home/default/.dotnet/tools:$PATH"

View File

@ -1,3 +0,0 @@
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

1
home/default/.xprofile Symbolic link
View File

@ -0,0 +1 @@
/home/default/.profile