summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xserver/Xmodmap.nix
blob: d2b1b2604472a4eba60d6204eb8f91ca3fa6603c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ config, pkgs, ... }:

with import <stockholm/lib>;

pkgs.writeText "Xmodmap" ''
  !keycode 66 = Caps_Lock
  !remove Lock = Caps_Lock
  clear Lock

  ! caps lock
  keycode  66 = Mode_switch

  keycode  13 = 4 dollar EuroSign cent
  keycode  30 = u U udiaeresis Udiaeresis
  keycode  32 = o O odiaeresis Odiaeresis
  keycode  38 = a A adiaeresis Adiaeresis
  keycode  39 = s S ssharp

  keycode  33 = p P Greek_pi Greek_PI
  keycode  46 = l L Greek_lambda Greek_LAMBDA

  keycode  54 = c C cacute Cacute

  !                       BULLET OPERATOR
  keycode 17 = 8 asterisk U2219
  keycode 27 = r R r U211D
''