mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge branch 'ROCKNIX:next' into dev
This commit is contained in:
@@ -22,6 +22,7 @@ while true; do
|
||||
killall wvkbd-mobintl
|
||||
elif [[ "${DEVICE_HAS_DUAL_SCREEN}" == "true" ]]; then
|
||||
secondary_output=$(swaymsg -t get_outputs -r | jq -r '.[] | select(.focused == false) | .name')
|
||||
swaymsg output ${secondary_output} power on
|
||||
/usr/bin/wvkbd-mobintl -L 720 -fg 6b6b75 -fg-sp 6b6b75 -bg 1d1d1d --text ffffff --text-sp ffffff -fn 35 -l simple --hidden --output ${secondary_output}
|
||||
else
|
||||
/usr/bin/wvkbd-mobintl -L 350 -fg 6b6b75 -fg-sp 6b6b75 -bg 1d1d1d --text ffffff --text-sp ffffff -fn 50 -l simple --hidden
|
||||
|
||||
@@ -113,9 +113,10 @@ if [ "${QUIRK_DEVICE}" = "AYANEO Pocket DS" ]; then
|
||||
echo 'input "1046:967:Goodix_Capacitive_TouchScreen" map_to_output DSI-2' >> $SWAY_HOME/config
|
||||
echo 'input "0:0:generic_ft5x06_(44)" map_to_output DSI-1' >> $SWAY_HOME/config
|
||||
echo 'output DSI-2 power off' >> $SWAY_HOME/config
|
||||
echo 'for_window [shell="xdg_shell"] output DSI-2 power on' >> $SWAY_HOME/config
|
||||
echo "exec_always sh -c 'pgrep -x /usr/bin/wvkbd-mobintl >/dev/null && swaymsg output DSI-2 power on'" >> $SWAY_HOME/config
|
||||
echo "exec_always swaymsg 'seat touchseat attach 1046:967:Goodix_Capacitive_TouchScreen'" >> $SWAY_HOME/config
|
||||
echo "exec_always swaymsg 'seat touchseat attach 0:0:generic_ft5x06_(44)'" >> $SWAY_HOME/config
|
||||
echo 'for_window [title=".*(Secondary|\[w2\]|Sub|Bottom|Screen 2|GamePad).*"] output DSI-2 power on' >> $SWAY_HOME/config
|
||||
fi
|
||||
|
||||
# Move the secondary window to the second output
|
||||
|
||||
Reference in New Issue
Block a user