added xmodmap :D

This commit is contained in:
Solomon Laing 2022-05-12 17:43:28 +09:30
parent 35e4350195
commit 59414f25af
2 changed files with 8 additions and 1 deletions

4
.Xmodmap Normal file
View File

@ -0,0 +1,4 @@
clear lock
clear control
add control = Caps_Lock Control_L Control_R
keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol

View File

@ -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