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

# 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"
# Copy system file into xkb_config_dir.
# cp "$sys_layout_file" ./"$pc"-"$xkb_config_file_name"
# 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"