diff options
author | bd <bdunahu@colostate.edu> | 2024-01-10 19:44:21 -0700 |
---|---|---|
committer | bd <bdunahu@colostate.edu> | 2024-01-10 19:44:21 -0700 |
commit | 1ced565816120bfcc351daf9fc3a4e851162e3b7 (patch) | |
tree | 93e9c23660cd07f4dba861f334b23c03d322f48c /.config/guix/modules/xmodmap.scm | |
parent | da5922a476cebdbbf338f0192165dbbbcd3f7b6f (diff) |
Initial commit of new repository structure
Diffstat (limited to '.config/guix/modules/xmodmap.scm')
-rw-r--r-- | .config/guix/modules/xmodmap.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/guix/modules/xmodmap.scm b/.config/guix/modules/xmodmap.scm new file mode 100644 index 0000000..3cf8be1 --- /dev/null +++ b/.config/guix/modules/xmodmap.scm @@ -0,0 +1,17 @@ +(define-module (xmodmap) + #:use-module (gnu home services) + #:use-module (gnu home services desktop)) + + +;; Below is a list of Home services. To search for available +;; services, run 'guix home search KEYWORD' in a terminal. +(define-public xmodmap-service + (list + (service home-xmodmap-service-type + (home-xmodmap-configuration + (key-map '(("remove Lock" . "Caps_Lock") + ("remove Control" . "Control_L") + ("keysym Control_L" ."Caps_Lock") + ("keysym Caps_Lock" . "Control_L") + ("add Lock" . "Caps_Lock") + ("add Control" . "Control_L"))))))) |