X11: Move pieces from i3 and zshenv into xinitrc

Move everything that is desirable independent of the WM or shell into
xinitrc.
Move .Xresources and .Xmodmap into .config/X11.
Remove all unneeded GNOME bits from i3 config.
Make compositor launch script portable.
Add locker symlink and launch.sh similar to the compositor.
This commit is contained in:
2020-10-31 22:33:26 +01:00
parent feec02e267
commit 08c5c66e1e
9 changed files with 67 additions and 66 deletions

16
.config/X11/xmodmap Normal file
View File

@@ -0,0 +1,16 @@
! Bind Caps_Lock on Escape key, Ctrl_R on Caps_Lock key and Escape on Control_R
! The Caps_Lock key is also used for Escape through xcape
remove Control = Control_R
remove Lock = Caps_Lock
keycode 9 =
keycode 9 = Caps_Lock
keycode 66 =
keycode 66 = Control_R
keycode 105 =
keycode 105 = Escape
add Control = Control_R
add Lock = Caps_Lock