summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xserver/Xmodmap.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-05-25 02:36:24 +0200
committertv <tv@krebsco.de>2016-05-25 02:36:24 +0200
commit5903c47cffee90824256994470e92d2956185e8c (patch)
tree38d650214d8ee0ee11847c6a189282284db914e9 /tv/2configs/xserver/Xmodmap.nix
parentf48cd0f2a3b9970fee3f4100c9656e6b6b4fd6d8 (diff)
tv xmodmap: init
Diffstat (limited to 'tv/2configs/xserver/Xmodmap.nix')
-rw-r--r--tv/2configs/xserver/Xmodmap.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/tv/2configs/xserver/Xmodmap.nix b/tv/2configs/xserver/Xmodmap.nix
new file mode 100644
index 000000000..02b6c730e
--- /dev/null
+++ b/tv/2configs/xserver/Xmodmap.nix
@@ -0,0 +1,27 @@
+{ config, pkgs, ... }:
+
+with config.krebs.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
+''