initial commit

This commit is contained in:
minhtrannhat
2021-09-20 19:35:03 -04:00
commit e1075f2188
12 changed files with 607 additions and 0 deletions

1
bash/.bash_aliases Normal file
View File

@@ -0,0 +1 @@
alias mpv='mpv --gpu-context=wayland --hwdec=vaapi'

19
bash/.bash_profile Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
export WLR_NO_HARDWARE_CURSORS=1
export MOZ_ENABLE_WAYLAND=1
if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then
mkdir "$XDG_RUNTIME_DIR"
chmod 0700 "$XDG_RUNTIME_DIR"
fi
fi
# This file is sourced by bash for login shells. The following line
# runs your .bashrc and is recommended by the bash info pages.
if [[ -f ~/.bashrc ]] ; then
. ~/.bashrc
fi
source "$HOME/.cargo/env"

31
bash/.bashrc Normal file
View File

@@ -0,0 +1,31 @@
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
if [ -e $HOME/.bash_aliases ]; then
source $HOME/.bash_aliases
fi
# Put your fun stuff here.
export KITTY_ENABLE_WAYLAND=1
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export GPG_TYY=$(tty)
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
source "$HOME/.cargo/env"
eval "$(starship init bash)"