#!/bin/zsh # shellcheck source=/dev/null . "$HOME/.config/zsh/.zshenv" if [ "$(uname)" = 'Linux' ] && [ "$(tty)" = '/dev/tty1' ] then # 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