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

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