From 1d93e1c8acc05561dee8d4141117cab64f0aac5e Mon Sep 17 00:00:00 2001 From: Rachel Fae Fox Date: Sat, 8 Aug 2020 15:25:15 -0400 Subject: [PATCH] setup should properly link dotfiles now --- setup.sh | 17 +++++++++++++---- xmodmap | 4 ++++ 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 xmodmap diff --git a/setup.sh b/setup.sh index 1a4db72..6088c50 100644 --- a/setup.sh +++ b/setup.sh @@ -1,20 +1,29 @@ #!/usr/bin/env sh -IAM=`dirname $0` +IAM="$(realpath $(dirname $0))" + mkdir -p ~/.config mkdir -p ~/.bin -# ~ dotfiles +# shell dotfiles ln -s $IAM/zlogin ~/.zlogin ln -s $IAM/zshrc ~/.zshrc + +# editor dotfiles ln -s $IAM/emacs.d ~/.emacs.d ln -s $IAM/vimrc ~/.vimrc -ln -s $IAM/gitconfig ~/.gitconfig -# .config dotfiles +# X dotfiles +ln -s $IAM/xinitrc ~/.xinitrc +ln -s $IAM/xmodmap ~/.xmodmap + +# WM/DE dotfiles ln -s $IAM/i3 ~/.config/i3 ln -s $IAM/i3status ~/.config/i3status ln -s $IAM/qt5ct ~/.config/qt5ct +# misc dotfiles +ln -s $IAM/gitconfig ~/.gitconfig + # tasks emacs --script install-packages.el diff --git a/xmodmap b/xmodmap new file mode 100644 index 0000000..63fb472 --- /dev/null +++ b/xmodmap @@ -0,0 +1,4 @@ +clear lock +keycode 66 = Super_L +add mod4 = Super_L Super_R +