summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-06 13:52:04 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-06 13:52:04 -0400
commitcf88804f394b5489ff6e743a2d7eb7ffd5647f01 (patch)
tree17202b4ce1e5252c0aada455ad8f83dc896b48d7
parentf53e480be2490ccecf29e07fe1fec16bdfd2987e (diff)
downloadconfigs-cf88804f394b5489ff6e743a2d7eb7ffd5647f01.tar.gz
configs-cf88804f394b5489ff6e743a2d7eb7ffd5647f01.tar.xz
configs-cf88804f394b5489ff6e743a2d7eb7ffd5647f01.zip
shell: add ~/.Xmodmap file
-rw-r--r--.Xmodmap5
-rw-r--r--.profile3
2 files changed, 6 insertions, 2 deletions
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