Revert "shell: add ~/.Xmodmap file"
authorAmin Bandali <bandali@gnu.org>
Fri, 6 Sep 2019 17:54:50 +0000 (13:54 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 6 Sep 2019 17:54:50 +0000 (13:54 -0400)
This reverts commit cf88804f394b5489ff6e743a2d7eb7ffd5647f01.

.Xmodmap [deleted file]
.profile

diff --git a/.Xmodmap b/.Xmodmap
deleted file mode 100644 (file)
index 1fd986a..0000000
--- a/.Xmodmap
+++ /dev/null
@@ -1,5 +0,0 @@
-clear lock
-clear control
-keycode 66 = Control_L
-add control = Control_L Control_R
-keysym Menu = Super_R
index c0c1e45..0f17b9b 100644 (file)
--- a/.profile
+++ b/.profile
@@ -66,9 +66,10 @@ fi
 
 setxkbmap \
     -layout us,ir \
+    -option ctrl:nocaps \
     -option grp:shifts_toggle
 
-xmodmap ~/.Xmodmap
+xmodmap -e "keysym Menu = Super_R"
 
 xsetroot -cursor_name left_ptr
 xset r rate 200 45