mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Fix ordering and keyboard_grouping setting
This commit is contained in:
@@ -7,14 +7,15 @@ if echo "${UI_SERVICE}" | grep -q "sway"; then
|
||||
# Call the function to fullscreen the window for app_id asynchronously
|
||||
sway_fullscreen "${1}" &
|
||||
|
||||
# Explicitly map all input devices to the active game seat to prevent wayland focus revocation, and unify virtual input nodes.
|
||||
swaymsg 'seat seat1 attach "*"'
|
||||
swaymsg 'seat * keyboard_grouping smart'
|
||||
|
||||
# Create a virtual touch keyboard device if there are two displays
|
||||
if [[ "${DEVICE_HAS_DUAL_SCREEN}" == "true" ]]; then
|
||||
TSKEY=$(get_setting "rocknix.touchscreen-keyboard.enabled")
|
||||
if [[ "${TSKEY}" == "1" ]]; then
|
||||
swaymsg 'output DSI-1 power on, seat seat1 fallback no'
|
||||
fi
|
||||
fi
|
||||
|
||||
# Explicitly map all input devices to the active game seat to prevent wayland focus revocation.
|
||||
swaymsg 'seat seat1 attach "*"'
|
||||
swaymsg 'seat * keyboard_grouping none'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user