From b09bc09b1c8fdf0d25eb3e60b863144741bb0e81 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 11 Mar 2018 16:16:41 -0700 Subject: readme changes, escape double mapping added --- .scripts/remaps | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '.scripts/remaps') diff --git a/.scripts/remaps b/.scripts/remaps index aa5a5f2..1bfc86a 100644 --- a/.scripts/remaps +++ b/.scripts/remaps @@ -1 +1,10 @@ -keycode 135 = Super_R NoSymbol Super_R +#!/bin/bash + +# Map the caps lock key to super... +setxkbmap -layout us -variant altgr-intl -option caps:super +# But when it is pressed only once, treat it as escape. +xcape -e 'Super_L=Escape' + +# Map the menu button to right super as well. +xmodmap -e 'keycode 135 = Super_R' +#keycode 135 = Super_R NoSymbol Super_R -- cgit v1.3.1