aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/zprofile
diff options
context:
space:
mode:
authorCharles Cabergs <charles.cabergs@colruytgroup.com>2022-09-06 09:13:24 +0200
committerCharles Cabergs <charles.cabergs@colruytgroup.com>2022-09-06 09:13:24 +0200
commit92bbb2fb27c2726bc1c72c4e50adc88144dee4b1 (patch)
tree66e9d25e7aa33e211c7aa48071a258cf1704f540 /config/zsh/zprofile
parent6525757c2aff704550ca46991ca1d11e09f11f01 (diff)
parentd54e8f15d776e59b2f8b70bb94c5041509b391f0 (diff)
downloaddotfiles-92bbb2fb27c2726bc1c72c4e50adc88144dee4b1.tar.gz
dotfiles-92bbb2fb27c2726bc1c72c4e50adc88144dee4b1.tar.bz2
dotfiles-92bbb2fb27c2726bc1c72c4e50adc88144dee4b1.zip
Merge branch 'master' of https://github.com/cacharle/dotfiles
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 ecf3ca7..f05d43e 100755
--- a/config/zsh/zprofile
+++ b/config/zsh/zprofile
@@ -83,6 +83,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