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.

14 lines
474 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. # Copy system file into xkb_config_dir.
  7. # cp "$sys_layout_file" ./"$pc"-"$xkb_config_file_name"
  8. # Remove system file.
  9. sudo rm -rf "$sys_layout_file"
  10. # Link config file in repository to system config location.
  11. sudo ln -s "$xkb_config_dir"/"$pc"-"$xkb_config_file_name" "$sys_layout_file"