19 lines
656 B
Bash
Executable File
19 lines
656 B
Bash
Executable File
#!/bin/sh
|
||
#
|
||
# Execute essential script commands for startup
|
||
|
||
# speed up the x server
|
||
# From man xset:
|
||
# The first specifies the delay before autorepeat starts and the second specifies the re‐
|
||
# peat rate. In the case that the server supports the XKB extension, the delay is the
|
||
# number of milliseconds before autorepeat starts, and the rate is the number of repeats
|
||
# per second. If the rate or delay is not given, it will be set to the default value.
|
||
xset r rate 200 60 &
|
||
|
||
# make CapsLock behave like Ctrl:
|
||
setxkbmap -option ctrl:nocaps
|
||
|
||
# make short-pressed Ctrl behave like Escape:
|
||
# Default timeout is 500ms
|
||
xcape -t 250 -e 'Control_L=Escape'
|