On Linux, the config directory is always created under $HOME/.config and while that's usually what the user wants, they may want to redefine the config directory using the XDG_CONFIG_HOME environment variable. Keyboard Switch should put its config under $XDG_CONFIG_HOME and fall back to $HOME/.config if it's unset.
On Linux, the config directory is always created under
$HOME/.configand while that's usually what the user wants, they may want to redefine the config directory using theXDG_CONFIG_HOMEenvironment variable. Keyboard Switch should put its config under$XDG_CONFIG_HOMEand fall back to$HOME/.configif it's unset.