From 904482588e22914e6281120028d023f2c6e3c5b2 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Wed, 6 Sep 2017 01:19:27 -0400 Subject: [PATCH] Add control center fix and a .profile file --- install.sh | 1 + run/.profile | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 run/.profile diff --git a/install.sh b/install.sh index 29e2f9c..53dd5eb 100755 --- a/install.sh +++ b/install.sh @@ -20,6 +20,7 @@ git clone https://github.com/pyenv/pyenv.git ~/.pyenv # Bunch of symlinks ln -sfv ~/dotfiles ~/.dotfiles #ln -sfv "$DOTFILES_DIR/run/.bash_profile" ~ +ln -sfv "$DOTFILES_DIR/run/.profile" ~ ln -sfv "$DOTFILES_DIR/run/.bashrc" ~ ln -sfv "$DOTFILES_DIR/git/.gitconfig" ~ ln -sfv "$DOTFILES_DIR/system/.vimrc" ~ diff --git a/run/.profile b/run/.profile new file mode 100644 index 0000000..1f04575 --- /dev/null +++ b/run/.profile @@ -0,0 +1,23 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# 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 + +# set PATH so it includes user's private bin directories +PATH="$HOME/bin:$HOME/.local/bin:$PATH" +export PATH=$PATH:/opt/trello +#for i3 to use gnome control center +export XDG_CURRENT_DESKTOP=GNOME