From 24eb6c3e775727e2e4688a6ead0b7ed6a10a0494 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 28 Nov 2016 13:54:11 -0600 Subject: [PATCH] bar on by default, alias for calc, clear, tmux utils session, screensaver stuff --- env/sh/bashrc | 6 ++++++ os/arch_linux/3-utils.bash | 1 + variables.bash | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/env/sh/bashrc b/env/sh/bashrc index 0fe123e..259f85e 100644 --- a/env/sh/bashrc +++ b/env/sh/bashrc @@ -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 diff --git a/os/arch_linux/3-utils.bash b/os/arch_linux/3-utils.bash index c03a786..af6226f 100755 --- a/os/arch_linux/3-utils.bash +++ b/os/arch_linux/3-utils.bash @@ -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 diff --git a/variables.bash b/variables.bash index 5fceef0..68c4471 100755 --- a/variables.bash +++ b/variables.bash @@ -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"