Skip to content

Commit

Permalink
doc: Fix outdated example (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvaiya committed May 3, 2024
1 parent 5944395 commit 02c77af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
21 changes: 13 additions & 8 deletions examples/capslock-esc-basic.conf
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 0 additions & 3 deletions examples/meta-esc.conf

This file was deleted.

0 comments on commit 02c77af

Please sign in to comment.