sens fixes

This commit is contained in:
h 2023-10-06 01:41:47 -04:00
parent dbaad82b20
commit 35f9262829
4 changed files with 13 additions and 5 deletions

View File

@ -1,6 +1,6 @@
device = "/dev/input/event13" device = "/dev/input/event13"
edge_tolerance = 200 edge_tolerance = 200
min_distance = 20 min_distance = 40
height = 2178 height = 2178
width = 3894 width = 3894
@ -14,6 +14,8 @@ width = 3894
1_left = "bspc desktop -f next.local" 1_left = "bspc desktop -f next.local"
1_right = "bspc desktop -f prev.local" 1_right = "bspc desktop -f prev.local"
3_up = "bspc desktop -l next"
2_down = "rofi -modi drun -show" 2_down = "rofi -modi drun -show"
2_left = "rofi -modi p:rofi-power-menu -show" 2_right = "rofi -modi p:rofi-power-menu -show"
2_up = "rofi -modi filebrowser -show" 2_up = "rofi -modi filebrowser -show"

View File

@ -1,6 +1,6 @@
device = "/dev/input/event13" device = "/dev/input/event13"
edge_tolerance = 200 edge_tolerance = 200
min_distance = 20 min_distance = 40
height = 3894 height = 3894
width = 2178 width = 2178
@ -13,6 +13,7 @@ width = 2178
1_down = "bspc desktop -f next.local" 1_down = "bspc desktop -f next.local"
1_up = "bspc desktop -f prev.local" 1_up = "bspc desktop -f prev.local"
3_left = "bspc desktop -l next"
2_left = "rofi -modi drun -show" 2_left = "rofi -modi drun -show"
2_up = "rofi -modi p:rofi-power-menu -show" 2_up = "rofi -modi p:rofi-power-menu -show"

View File

@ -7,6 +7,7 @@ if [ "$1" == "portrait" ] && [ "${WINDOW_MODE}" != "portrait" ]; then
rotate-screen eDP-1 left; 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 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 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; pkill actuator;
actuator "${XDG_CONFIG_HOME}/actuator/uzui/portrait.toml" & actuator "${XDG_CONFIG_HOME}/actuator/uzui/portrait.toml" &
@ -15,6 +16,7 @@ elif [ "$1" == "landscape" ] && [ "${WINDOW_MODE}" != "landscape" ]; then
rotate-screen eDP-1 normal; 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 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 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; pkill actuator;
actuator "${XDG_CONFIG_HOME}/actuator/uzui/landscape.toml" & actuator "${XDG_CONFIG_HOME}/actuator/uzui/landscape.toml" &
@ -23,6 +25,7 @@ elif [ "$1" == "tablet" ] && [ "${WINDOW_MODE}" != "tablet" ]; then
rotate-screen eDP-1 inverted; 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 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 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; pkill actuator;
actuator "${XDG_CONFIG_HOME}/actuator/uzui/tablet.toml" & actuator "${XDG_CONFIG_HOME}/actuator/uzui/tablet.toml" &
fi fi

View File

@ -1,6 +1,6 @@
device = "/dev/input/event13" device = "/dev/input/event13"
edge_tolerance = 200 edge_tolerance = 200
min_distance = 20 min_distance = 40
height = 2178 height = 2178
width = 3894 width = 3894
@ -13,6 +13,8 @@ width = 3894
1_right = "bspc desktop -f next.local" 1_right = "bspc desktop -f next.local"
1_left = "bspc desktop -f prev.local" 1_left = "bspc desktop -f prev.local"
3_down = "bspc desktop -l next"
2_up = "rofi -modi drun -show" 2_up = "rofi -modi drun -show"
2_right = "rofi -modi p:rofi-power-menu -show" 2_left = "rofi -modi p:rofi-power-menu -show"
2_down = "rofi -modi filebrowser -show" 2_down = "rofi -modi filebrowser -show"