Update i3, zsh, and Xinit

This commit is contained in:
foo-dogsquared 2019-08-22 20:26:10 +08:00
parent ac4951378e
commit 4499a7e020
3 changed files with 18 additions and 19 deletions

View File

@ -22,7 +22,6 @@ exec_always feh --bg-scale ~/wallpapers/sand.jpg
# Startup applications
exec firefox
exec thunderbird
exec thunar
# i3 config file (v4)
#

View File

@ -8,15 +8,7 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
@ -24,15 +16,7 @@ if [ -f $sysmodmap ]; then
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
@ -40,7 +24,7 @@ if [ -f "$usermodmap" ]; then
fi
/usr/bin/lxsession &
compton &
dunst &
udiskie &
flameshot &
exec i3

View File

@ -2,9 +2,10 @@
PICTURES_DIRECTORY=$HOME/Pictures
DOCUMENTS_DIRECTORY=$HOME/Documents
BIN_DIRECTORY=$HOME/bin
SCRIPTS_DIRECTORY=$HOME/.scripts/
# If you come from bash you might have to change your $PATH.
export PATH=$BIN_DIRECTORY:/usr/local/bin:.cargo/bin:$PATH
export PATH=$BIN_DIRECTORY:$SCRIPTS_DIRECTORY:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/foo-dogsquared/.oh-my-zsh"
@ -102,3 +103,18 @@ source $ZSH/oh-my-zsh.sh
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/foo-dogsquared/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/foo-dogsquared/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/foo-dogsquared/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/foo-dogsquared/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<