From d78b602efc5b525f178b8e1b265b89f6dfda1580 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 9 Apr 2022 18:46:47 +0200 Subject: Better keyrepeat rate settings, added nvim live grep shortcut --- config/zsh/zprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/zsh/zprofile') 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 -- cgit