diff --git a/.Xmodmap b/.Xmodmap new file mode 100644 index 0000000..1945241 --- /dev/null +++ b/.Xmodmap @@ -0,0 +1,4 @@ +clear lock +clear control +add control = Caps_Lock Control_L Control_R +keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol diff --git a/.xinitrc b/.xinitrc index eacada3..ff81d04 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,3 +1,4 @@ + #!/bin/sh userresources=$HOME/.Xresources @@ -40,13 +41,15 @@ fi # it seems modules and xorg confs were not due to there being an intel # integrated card, not sure how the desktop will react though -HOST=$(hostname) +HOST=$(cat /etc/hostname) if [ "$HOST" == "archmetabox" ] ; then # this is specifically for the laptop so check hostname xrandr --setprovideroutputsource modesetting NVIDIA-G0 xrandr --auto fi + +HOST=$(hostname) if [ "$HOST" == "holocene" ] ; then [ -f ~/.xprofile ] && . ~/.xprofile