Revert experimental sway-init change

This commit is contained in:
Noxwell
2026-01-28 05:35:58 -06:00
parent bdfa035ad6
commit 059858e70b

View File

@@ -138,7 +138,7 @@ fi
if [ "${QUIRK_DEVICE}" = "Anbernic RG DS" ]; then
echo 'for_window [title=".*(Secondary|\[w2\]|Sub|Bottom|Screen 2|GamePad).*"] output '"${second_con}"' power on' >> $SWAY_HOME/config
echo 'for_window [title="RetroArch\s(melonDS|DeSmuME|VecX|MAME|FinalBurn|FB Alpha).*"] exec /usr/lib/autostart/quirks/devices/"Anbernic RG DS"/bin/vertical-check' >> $SWAY_HOME/config
echo 'for_window [app_id="drastic"] output '"${second_con}"' power on, seat seat1 fallback no' >> $SWAY_HOME/config
echo 'for_window [app_id="drastic"] output '"${second_con}"' power on, input "1046:911:Goodix_Capacitive_TouchScreen" map_to_output '"${con}" >> $SWAY_HOME/config
echo 'for_window [app_id="emulationstation"] reload' >> $SWAY_HOME/config
echo "exec_always swaymsg '[app_id=\"emulationstation\"]' focus output ${con}, output ${second_con} power off" >> $SWAY_HOME/config
echo "exec_always swaymsg '[app_id=\"emulationstation\"]' seat seat1 attach \"1046:911:Goodix_Capacitive_TouchScreen\"" >> $SWAY_HOME/config