Skip to content

Commit

Permalink
feat(xorg): map capslock to ctrl and escape
Browse files Browse the repository at this point in the history
  • Loading branch information
dds committed May 23, 2020
1 parent dba31ed commit 851522f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .config/autostart/ctrlcaps.desktop

This file was deleted.

5 changes: 5 additions & 0 deletions .config/autostart/smartcaps.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Desktop Entry]
Name=smartcaps
Comment=Smartcaps
Type=Application
Exec=smartcaps.org
4 changes: 4 additions & 0 deletions bin/smartcaps.xorg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
/usr/bin/setxkbmap -model vdev -option ctrl:nocaps
xcape -e 'Control_L=Escape'

0 comments on commit 851522f

Please sign in to comment.