From cf88804f394b5489ff6e743a2d7eb7ffd5647f01 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 6 Sep 2019 13:52:04 -0400 Subject: shell: add ~/.Xmodmap file --- .Xmodmap | 5 +++++ .profile | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .Xmodmap diff --git a/.Xmodmap b/.Xmodmap new file mode 100644 index 0000000..1fd986a --- /dev/null +++ b/.Xmodmap @@ -0,0 +1,5 @@ +clear lock +clear control +keycode 66 = Control_L +add control = Control_L Control_R +keysym Menu = Super_R diff --git a/.profile b/.profile index 0f17b9b..c0c1e45 100644 --- a/.profile +++ b/.profile @@ -66,10 +66,9 @@ fi setxkbmap \ -layout us,ir \ - -option ctrl:nocaps \ -option grp:shifts_toggle -xmodmap -e "keysym Menu = Super_R" +xmodmap ~/.Xmodmap xsetroot -cursor_name left_ptr xset r rate 200 45 -- cgit v1.2.3-60-g2f50