both-shift-for-caps-lock was causing issues with some games, and I didnt

use it anyway...
I also did a silly with the difference with file and directory tests.
This commit is contained in:
Gabe Venberg 2021-04-13 10:13:07 -05:00
parent 0e80cb59df
commit 2bb164a7ce
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#remap caps lock to a third control key. both shifts at once toggle shiftlock
setxkbmap -option ctrl:nocaps,shift:both_capslock
setxkbmap -option ctrl:nocaps
xrdb -merge ~/.Xresources
#~/dotfiles/scripts/mousestart
i3

View file

@ -17,9 +17,9 @@
(($+command[ruby])) && export PATH="$PATH:$(ruby -e 'puts Gem.user_dir' 2> /dev/null)/bin"
#test that these nonstandard paths exist before adding to PATH.
testPath="$HOME/.local/bin"
[ -f "$testPath" ] && export PATH="$PATH:$testPath"
[ -d "$testPath" ] && export PATH="$PATH:$testPath"
testPath="$HOME/scripts"
[ -f "$testPath" ] && export PATH="$PATH:$testPath"
[ -d "$testPath" ] && export PATH="$PATH:$testPath"
#set default editor and pager.
export EDITOR=nvim
export VISUAL=nvim