Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
377 B

# Get directory variables from script.
. ../dirs.sh
xkb_config_file_name="pc"
sys_layout_file="/usr/share/X11/xkb/symbols/$xkb_config_file_name"
xkb_config_dir="$linux_config_dir/xkb"
# Remove system file.
sudo rm -rf "$sys_layout_file"
# Link config file in repository to system config location.
sudo ln -s "$xkb_config_dir"/"$pc"-"$xkb_config_file_name" "$sys_layout_file"