sens fixes
This commit is contained in:
@@ -7,6 +7,7 @@ if [ "$1" == "portrait" ] && [ "${WINDOW_MODE}" != "portrait" ]; then
|
||||
rotate-screen eDP-1 left;
|
||||
xinput set-prop 9 --type=float "Coordinate Transformation Matrix" 0 -1 0 1 0 0 0 0 1
|
||||
xinput set-prop 10 --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
|
||||
xinput set-prop 17 --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
|
||||
pkill actuator;
|
||||
actuator "${XDG_CONFIG_HOME}/actuator/uzui/portrait.toml" &
|
||||
|
||||
@@ -15,6 +16,7 @@ elif [ "$1" == "landscape" ] && [ "${WINDOW_MODE}" != "landscape" ]; then
|
||||
rotate-screen eDP-1 normal;
|
||||
xinput set-prop 9 --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
|
||||
xinput set-prop 10 --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
|
||||
xinput set-prop 17 --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
|
||||
pkill actuator;
|
||||
actuator "${XDG_CONFIG_HOME}/actuator/uzui/landscape.toml" &
|
||||
|
||||
@@ -23,6 +25,7 @@ elif [ "$1" == "tablet" ] && [ "${WINDOW_MODE}" != "tablet" ]; then
|
||||
rotate-screen eDP-1 inverted;
|
||||
xinput set-prop 9 --type=float "Coordinate Transformation Matrix" -1 0 0 0 -1 0 0 0 1
|
||||
xinput set-prop 10 --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
|
||||
xinput set-prop 17 --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
|
||||
pkill actuator;
|
||||
actuator "${XDG_CONFIG_HOME}/actuator/uzui/tablet.toml" &
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user