dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 9ebba025e14f6b02a73e3eff6ec165cffe6d6f44
parent 7a5c2baf67c08785f4242a478074168a1d02caea
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat, 12 Jan 2019 13:55:24 +0100

Use xmodmap to swap alt and win keys, and tilde and lt/gt

Diffstat:
Mlinks/.Xmodmap | 19++++++++++++-------
Mlinks/.config/i3/config | 4++--
Mlinks/.xinitrc | 2+-
3 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/links/.Xmodmap b/links/.Xmodmap @@ -7,12 +7,17 @@ !keysym Caps_Lock = Control_L !add Control = Control_L -!remove mod1 = Alt_L -!remove mod1 = Alt_R -!remove mod4 = Super_L -!add mod1 = Super_L -!add mod4 = Alt_L -!add mod4 = Alt_R - ! Reverse scroll !pointer = 1 2 3 5 4 7 6 8 9 10 11 12 + +! Exchange Alt and Win +remove mod1 = Alt_L +remove mod1 = Alt_R +remove mod4 = Super_L +add mod1 = Super_L +add mod4 = Alt_L +add mod4 = Alt_R + +! Exchange tilde and lesser/greater +keycode 94 = grave asciitilde dead_grave dead_tilde grave asciitilde +keycode 49 = less greater less greater bar brokenbar bar brokenbar diff --git a/links/.config/i3/config b/links/.config/i3/config @@ -4,8 +4,8 @@ set $gaps_inner 15 set $gaps_outer 10 set $term --no-startup-id st -set $mod Mod1 -set $modalt Mod4 +set $mod Mod4 +set $modalt Mod1 set $stoprec --no-startup-id dmenurecord kill set $shutdown sudo -A shutdown -h now set $reboot sudo -A reboot diff --git a/links/.xinitrc b/links/.xinitrc @@ -24,7 +24,7 @@ xautolock -time 10 -locker $HOME/bin/xlock -detectsleep & # Read .Xmodmap for modified keys setxkbmap -option ctrl:nocaps -#xmodmap ~/.Xmodmap +xmodmap ~/.Xmodmap # Read .xbindkeysrc for special key-bindings xbindkeys