diff --git a/actuator/uzui/landscape.toml b/actuator/uzui/landscape.toml index d8b11c1..21a1c49 100644 --- a/actuator/uzui/landscape.toml +++ b/actuator/uzui/landscape.toml @@ -1,6 +1,6 @@ device = "/dev/input/event13" edge_tolerance = 200 -min_distance = 20 +min_distance = 40 height = 2178 width = 3894 @@ -14,6 +14,8 @@ width = 3894 1_left = "bspc desktop -f next.local" 1_right = "bspc desktop -f prev.local" +3_up = "bspc desktop -l next" + 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" diff --git a/actuator/uzui/portrait.toml b/actuator/uzui/portrait.toml index 149d750..9f294f5 100644 --- a/actuator/uzui/portrait.toml +++ b/actuator/uzui/portrait.toml @@ -1,6 +1,6 @@ device = "/dev/input/event13" edge_tolerance = 200 -min_distance = 20 +min_distance = 40 height = 3894 width = 2178 @@ -13,6 +13,7 @@ width = 2178 1_down = "bspc desktop -f next.local" 1_up = "bspc desktop -f prev.local" +3_left = "bspc desktop -l next" 2_left = "rofi -modi drun -show" 2_up = "rofi -modi p:rofi-power-menu -show" diff --git a/actuator/uzui/set_win_mode b/actuator/uzui/set_win_mode index 493954e..53e2974 100755 --- a/actuator/uzui/set_win_mode +++ b/actuator/uzui/set_win_mode @@ -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 diff --git a/actuator/uzui/tablet.toml b/actuator/uzui/tablet.toml index 670b9a6..b834f73 100644 --- a/actuator/uzui/tablet.toml +++ b/actuator/uzui/tablet.toml @@ -1,6 +1,6 @@ device = "/dev/input/event13" edge_tolerance = 200 -min_distance = 20 +min_distance = 40 height = 2178 width = 3894 @@ -13,6 +13,8 @@ width = 3894 1_right = "bspc desktop -f next.local" 1_left = "bspc desktop -f prev.local" +3_down = "bspc desktop -l next" + 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"