Fix getting the correct path from variation
This commit is contained in:
parent
93ed4b23bf
commit
d35bee1aeb
|
@ -9,9 +9,17 @@
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Define keybindings.conf location
|
# Get keybindings location based on variation
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
config_file=~/dotfiles/hypr/conf/keybindings.conf
|
config_file=$(cat ~/dotfiles/hypr/conf/keybinding.conf)
|
||||||
|
config_file=${config_file/source = ~/}
|
||||||
|
config_file=${config_file/source=~/}
|
||||||
|
|
||||||
|
# -----------------------------------------------------
|
||||||
|
# Path to keybindings config file
|
||||||
|
# -----------------------------------------------------
|
||||||
|
config_file="/home/$USER$config_file"
|
||||||
|
echo "Reading from: $config_file"
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Parse keybindings
|
# Parse keybindings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user