bar on by default, alias for calc, clear, tmux utils session, screensaver stuff
This commit is contained in:
parent
eeb1ae273e
commit
24eb6c3e77
6
env/sh/bashrc
vendored
6
env/sh/bashrc
vendored
|
@ -40,6 +40,7 @@ if [ -t 0 ]; then
|
||||||
alias tmnew="tmux new -s"
|
alias tmnew="tmux new -s"
|
||||||
alias tmls="tmux list-sessions"
|
alias tmls="tmux list-sessions"
|
||||||
alias tmatt="tmux attach -t"
|
alias tmatt="tmux attach -t"
|
||||||
|
alias tU="tmux attach -t utils || tmux new -s utils"
|
||||||
|
|
||||||
# git aliases
|
# git aliases
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
|
@ -64,10 +65,15 @@ if [ -t 0 ]; then
|
||||||
|
|
||||||
# misc aliases
|
# misc aliases
|
||||||
alias setbg="feh --bg-fill"
|
alias setbg="feh --bg-fill"
|
||||||
|
alias C="clear"
|
||||||
|
|
||||||
# games aliases
|
# games aliases
|
||||||
# alias steam="LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam"
|
# alias steam="LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam"
|
||||||
|
|
||||||
|
calc() {
|
||||||
|
python -c "print($@)"
|
||||||
|
}
|
||||||
|
|
||||||
stopbar() {
|
stopbar() {
|
||||||
if [[ -f "$BAR_PID_FILE" ]]; then
|
if [[ -f "$BAR_PID_FILE" ]]; then
|
||||||
echo
|
echo
|
||||||
|
|
|
@ -48,6 +48,7 @@ pacaur -S \
|
||||||
alsa-plugins \
|
alsa-plugins \
|
||||||
nvidia-beta \
|
nvidia-beta \
|
||||||
lib32-nvidia-beta \
|
lib32-nvidia-beta \
|
||||||
|
pmount \
|
||||||
--noconfirm --noedit
|
--noconfirm --noedit
|
||||||
|
|
||||||
# sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome
|
# sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome
|
||||||
|
|
|
@ -14,7 +14,7 @@ source "$DOTFILES_PATH/scripts/get_color.sh"
|
||||||
|
|
||||||
export BAR_PATH="$DOTFILES_PATH/env/wm/extras/bar"
|
export BAR_PATH="$DOTFILES_PATH/env/wm/extras/bar"
|
||||||
export BAR_PID_FILE="$BAR_PATH/wm_bar.pid"
|
export BAR_PID_FILE="$BAR_PATH/wm_bar.pid"
|
||||||
export BAR_ON_XINIT=0
|
export BAR_ON_XINIT=1
|
||||||
export BAR_FIFO="$BAR_PATH/wm_bar_fifo.lock"
|
export BAR_FIFO="$BAR_PATH/wm_bar_fifo.lock"
|
||||||
export BAR_MONITOR=$(bspc query -M | tail -n 1)
|
export BAR_MONITOR=$(bspc query -M | tail -n 1)
|
||||||
export BAR_LOG="$BAR_PATH/wm_bar.log"
|
export BAR_LOG="$BAR_PATH/wm_bar.log"
|
||||||
|
|
Reference in a new issue