regexghost-dotfiles

My dotfiles and scripts
git clone git@git.regexghost.com/regexghost-dotfiles.git
Log | Files | Refs | README

altgrtosuper.sh (276B)


      1 #!/usr/bin/env sh
      2 
      3 # Remove mod5 from AltGr
      4 xmodmap -e 'remove mod5 = ISO_Level3_Shift'
      5 # Map it to Super_L
      6 xmodmap -e 'keycode 108 = Super_L'
      7 
      8 # ksuperkey has to be launched/restarted after doing this, otherwise it will not recognise AltGr as Super
      9 pkill ksuperkey
     10 ksuperkey