From 750c0e8099264aa42999dd935040adb0b8105e4b Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Tue, 29 Aug 2023 06:51:35 -0500 Subject: Add keyboard shortcuts and update xinitrc Also update install.sh to account for Xorg files. Remove unused slink from nvim/ --- install.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index df782a0..c236ac5 100755 --- a/install.sh +++ b/install.sh @@ -70,6 +70,8 @@ prompt() { # FIXME: If $PWD has spaces in it, this might fail. # Filewise +# -------- + if prompt "bash"; then eval $cp_or_ln " ${PWD}/bash/bash_profile $HOME/.bash_profile" eval $cp_or_ln " ${PWD}/bash/bashrc $HOME/.bashrc" @@ -91,11 +93,6 @@ if prompt "vim"; then eval $cp_or_ln " ${PWD}/vim/fun.vim $VIMFILES/fun.vim" fi -# Directorywise -if prompt "nvim"; then - eval $cp_or_ln " ${PWD}/nvim $XDG_CONFIG_HOME/nvim" -fi - if prompt "git"; then [ -d $XDG_CONFIG_HOME/git ] || mkdir -p $XDG_CONFIG_HOME/git eval $cp_or_ln " ${PWD}/git/ignore $XDG_CONFIG_HOME/git/ignore" @@ -103,6 +100,18 @@ if prompt "git"; then eval $cp_or_ln " ${PWD}/git/git-prompt.sh $HOME/.git-prompt.sh" fi +if prompt "Xorg"; then + eval $cp_or_ln " ${PWD}/Xorg/xinitrc $HOME/.xinitrc" + eval $cp_or_ln " ${PWD}/Xorg/xbindkeysrc $HOME/.xbindkeysrc" +fi + +# Directorywise +# ------------- + +if prompt "nvim"; then + eval $cp_or_ln " ${PWD}/nvim $XDG_CONFIG_HOME/nvim" +fi + if prompt "zathura"; then eval $cp_or_ln " ${PWD}/zathura $XDG_CONFIG_HOME/zathura" -- cgit v1.2.3