aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/zprofile
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2022-04-09 18:46:47 +0200
committerCharles Cabergs <me@cacharle.xyz>2022-04-09 18:46:47 +0200
commitd78b602efc5b525f178b8e1b265b89f6dfda1580 (patch)
tree8394707ee41c7ecbdf44d7e92ca47ae56a3b59b2 /config/zsh/zprofile
parentf0ff92c55833a14de9d3fdcccdc29378768a9ba9 (diff)
downloaddotfiles-d78b602efc5b525f178b8e1b265b89f6dfda1580.tar.gz
dotfiles-d78b602efc5b525f178b8e1b265b89f6dfda1580.tar.bz2
dotfiles-d78b602efc5b525f178b8e1b265b89f6dfda1580.zip
Better keyrepeat rate settings, added nvim live grep shortcut
Diffstat (limited to 'config/zsh/zprofile')
-rwxr-xr-xconfig/zsh/zprofile5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/zsh/zprofile b/config/zsh/zprofile
index b64522f..c9466d1 100755
--- a/config/zsh/zprofile
+++ b/config/zsh/zprofile
@@ -81,6 +81,9 @@ export CLOUT_SYNC_PATH="${XDG_DATA_HOME:-$HOME/.sync}/$CLOUT_SYNC_DIR"
if [ "$(uname)" = 'Linux' ] && [ "$(tty)" = '/dev/tty1' ]
then
- startx "$XDG_CONFIG_HOME/x11/xinitrc"
+ # https://wiki.archlinux.org/title/Xorg/Keyboard_configuration
+ # setting the keyrepeat delay and interval here as the default ones
+ # since some applications reset the those if we use xset r rate 200 30 instead
+ startx "$XDG_CONFIG_HOME/x11/xinitrc" -- -ardelay 200 -arinterval 30
poweroff
fi