dotfiles/home/default/.bashrc
shibao e77854b6b5 add sway config
add bashrc
ignore xauthority
add autounlocking keepass desktop entry
add fonts for waybar
add alacritty config
move scripts location and adjust bashrc
use materia
theme sway and lockscreen
add list packages script
add ranger desktop item
add mpd config
add indicator ring to swaylock
remove mpd password
add global asdf tool versions
add mako config
update keys
add swaylock theme
add suspend to lock config
move ssh commands to aliases
tweak mpd section in waybar
add kanshi config for work
update bashrc
2021-11-20 18:17:22 -05:00

46 lines
972 B
Bash

# if not running interactively, don't do anything
[[ $- != *i* ]] && return
# hidpi potential fix
export QT_AUTO_SCREEN_SCALE_FACTOR=1
# 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
export PATH="~/scripts:$PATH"
# dotnet
export MSBuildSDKsPath="/usr/share/dotnet/sdk/`dotnet --version`/Sdks/"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export PATH="~/.dotnet/tools:$PATH"
# fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
# aliases
alias v=nvim
alias ls="ls --color=auto"
alias errors="journalctl -b -p err | less"
# git
export GIT_DISCOVERY_ACROSS_FILESYSTEM=true
source /usr/share/git/completion/git-prompt.sh
source /usr/share/git/completion/git-completion.bash
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
# direnv
eval "$(direnv hook bash)"
# asdf-vm
. /opt/asdf-vm/asdf.sh
proverb