rm xmodmap from xinitrc

This commit is contained in:
Sam 2024-09-15 10:02:02 +01:00
parent e374498aa4
commit 16fee36e96
1 changed files with 1 additions and 8 deletions

View File

@ -1,16 +1,9 @@
{config, ...}: { {pkgs, ...}: {
# TODO: configure x11 to look in .config/x11 # TODO: configure x11 to look in .config/x11
home.file.".xinitrc" = { home.file.".xinitrc" = {
recursive = true; recursive = true;
text = '' text = ''
## Map Alt_L + [hjkl] to left, down, up, right
xmodmap -e "keycode 64 = Mode_switch" # set Alt_l as the "Mode_switch"
xmodmap -e "keycode 43 = h H Left H" # h
xmodmap -e "keycode 44 = j J Down J" # j
xmodmap -e "keycode 45 = k K Up K" # k
xmodmap -e "keycode 46 = l L Right L" # l
picom -b --config ~/.config/picom/picom.conf picom -b --config ~/.config/picom/picom.conf
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources