systemd-user/user/xmodmap.service

11 lines
173 B
Desktop File

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