mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Update Hyprland config path for keyboard layout
Keyboard is wrongly set after install, this is because the config moved to a dedicated input.conf and so no substitution is done.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Copy over the keyboard layout that's been set in Arch during install to Hyprland
|
# Copy over the keyboard layout that's been set in Arch during install to Hyprland
|
||||||
conf="/etc/vconsole.conf"
|
conf="/etc/vconsole.conf"
|
||||||
hyprconf="$HOME/.config/hypr/hyprland.conf"
|
hyprconf="$HOME/.config/hypr/input.conf"
|
||||||
|
|
||||||
layout=$(grep '^XKBLAYOUT=' "$conf" | cut -d= -f2 | tr -d '"')
|
layout=$(grep '^XKBLAYOUT=' "$conf" | cut -d= -f2 | tr -d '"')
|
||||||
variant=$(grep '^XKBVARIANT=' "$conf" | cut -d= -f2 | tr -d '"')
|
variant=$(grep '^XKBVARIANT=' "$conf" | cut -d= -f2 | tr -d '"')
|
||||||
|
|||||||
Reference in New Issue
Block a user