doc: Fix outdated example (#641)

master
Raheman Vaiya 2 years ago
parent 5944395828
commit 02c77af786
  1. 21
      examples/capslock-esc-basic.conf
  2. 3
      examples/meta-esc.conf

@ -1,9 +1,14 @@
# NOTE: to use this, rename this file to `your keyboard name`.cfg and put in /etc/keyd/
# Basic use of capslock as a dual function key:
#
# - when 'capslock' is tapped (pressed + released), it behaves as ESC key
#
# - when 'capslock' is held, and used in combination with another key, it
# behaves like a 'ctrl' key modifier (just like xcape)
# Usage: Place this file /etc/keyd/default.conf
# Causes `capslock` to behave as `control` when pressed
# and escape when tapped. Note that `control` is what
# keyd regards as a 'modifier layer'.
# See the man page for more details.
[ids]
*
[main]
capslock = overload(control, esc)

@ -1,3 +0,0 @@
# meta behaves as meta when held and escape when pressed.
meta = overload(meta, esc)
Loading…
Cancel
Save