scripts

scripts to make my pc work
Index Commits Files Refs
keyboardmap (500B)
   1 #!/bin/bash
   2 
   3 # swaps escape with caps-lock and lalt with lsuper
   4 
   5 # setxkbmap -option caps:swapescape
   6 
   7 # setxkbmap -option altwin:swap_lalt_lwin
   8 
   9 # setxkbmap -option altwin:swap_alt_win
  10 
  11 # make CapsLock behave like Ctrl:
  12 # setxkbmap -option ctrl:nocaps
  13 
  14 
  15 
  16 setxkbmap -option altwin:swap_lalt_lwin,altwin:swap_alt_win,ctrl:nocaps
  17 
  18 # make short-pressed Ctrl behave like Escape:
  19 xcape -e 'Control_L=Escape'
  20 
  21 # xcape -e 'Caps_Lock=Escape' -t 100
  22 
  23 # setxkbmap -option caps:super ; xcape -e 'Super_L=Escape'