From 7e8c037dc2ef7d2ea76fbcd1697d009685e4d29a Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Tue, 17 Feb 2015 09:00:02 +0100 Subject: [PATCH] update --- i3-config | 4 ++-- profile | 13 +++---------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/i3-config b/i3-config index 8bb2993..482c0a6 100644 --- a/i3-config +++ b/i3-config @@ -197,8 +197,8 @@ client.urgent #002b36 #dc322f #002b36 #dc322f # finds out, if available) bar { output LVDS-0 - mode hide - hidden_state hide + #mode hide + #hidden_state hide tray_output LVDS-0 status_command i3status position top diff --git a/profile b/profile index 2ccb82a..b17cd93 100644 --- a/profile +++ b/profile @@ -8,17 +8,10 @@ # for ssh logins, install and configure the libpam-umask package. #umask 022 -# if running bash -if [ -n "$BASH_VERSION" ]; then - # include .bashrc if it exists - if [ -f "$HOME/.bashrc" ]; then - . "$HOME/.bashrc" - fi -fi +# if running bash, include .bashrc, if it exists +[ -n "$BASH_VERSION" -a -r "$HOME/.bashrc" ] && . "$HOME/.bashrc" # set PATH so it includes user's private bin if it exists -if [ -d "$HOME/bin" ] ; then - PATH="$HOME/bin:$PATH" -fi +[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH" [[ -f "$HOME/bin/set_environ.sh" ]] && . "$HOME/bin/set_environ.sh";