systemd-user/user/xmodmap.service

12 lines
196 B
Desktop File

[Unit]
Description=Capslock is escape
After=xorg.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
[Install]
WantedBy=mystuff.target