dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit a1869d1c03a42974ff6060e7606062979482ee0f
parent 99f6e4956c89c189d86f00e6ff170ac4a0ace449
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 30 May 2024 16:32:00 +0100

fix(xinit): XDG_CONFIG_HOME is not set yet. run xcape after loading xmodmap

Diffstat:
Mxinit/.xinitrc | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/xinit/.xinitrc b/xinit/.xinitrc @@ -8,14 +8,12 @@ sudo sysctl -w dev.raid.speed_limit_max=1000 # merge in defaults and keymaps userresources=$HOME/.Xresources -usermodmap=$XDG_CONFIG_HOME/xmodmap/.xmodmap +usermodmap=$HOME/.config/xmodmap/.xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # set caps to escape setxkbmap -option ctrl:nocaps colemak-ctrl -xmodmap ~/.xmodmap -xcape -e 'Control_L=Escape' # add fonts xset +fp /usr/share/fonts/local @@ -39,6 +37,7 @@ fi if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi +xcape -e 'Control_L=Escape' if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do