bar on by default, alias for calc, clear, tmux utils session, screensaver stuff

This commit is contained in:
Daniel Flanagan 2016-11-28 13:54:11 -06:00
parent eeb1ae273e
commit 24eb6c3e77
3 changed files with 8 additions and 1 deletions

6
env/sh/bashrc vendored
View file

@ -40,6 +40,7 @@ if [ -t 0 ]; then
alias tmnew="tmux new -s"
alias tmls="tmux list-sessions"
alias tmatt="tmux attach -t"
alias tU="tmux attach -t utils || tmux new -s utils"
# git aliases
alias gs="git status"
@ -64,10 +65,15 @@ if [ -t 0 ]; then
# misc aliases
alias setbg="feh --bg-fill"
alias C="clear"
# 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"
calc() {
python -c "print($@)"
}
stopbar() {
if [[ -f "$BAR_PID_FILE" ]]; then
echo

View file

@ -48,6 +48,7 @@ pacaur -S \
alsa-plugins \
nvidia-beta \
lib32-nvidia-beta \
pmount \
--noconfirm --noedit
# sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome

View file

@ -14,7 +14,7 @@ source "$DOTFILES_PATH/scripts/get_color.sh"
export BAR_PATH="$DOTFILES_PATH/env/wm/extras/bar"
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_MONITOR=$(bspc query -M | tail -n 1)
export BAR_LOG="$BAR_PATH/wm_bar.log"