summaryrefslogtreecommitdiff
path: root/hosts/iroha/sway_input_output
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/iroha/sway_input_output')
-rw-r--r--hosts/iroha/sway_input_output55
1 files changed, 55 insertions, 0 deletions
diff --git a/hosts/iroha/sway_input_output b/hosts/iroha/sway_input_output
new file mode 100644
index 0000000..06936cc
--- /dev/null
+++ b/hosts/iroha/sway_input_output
@@ -0,0 +1,55 @@
+set $mod4 Mod4
+
+input "type:keyboard" {
+ repeat_rate 45
+ repeat_delay 220
+ xkb_options ctrl:nocaps
+}
+
+input "type:touchpad" {
+ pointer_accel 0.50
+ natural_scroll enabled
+}
+
+input "1189:32769:BenQ_ZOWIE_BenQ_ZOWIE_Gaming_Mouse" {
+ accel_profile flat
+ pointer_accel -0.675
+ scroll_factor 1.0
+}
+
+input "1133:50504:Logitech_USB_Receiver_Mouse" {
+ accel_profile flat
+ pointer_accel -0.15
+ scroll_factor 1.0
+}
+
+output "DP-1" {
+ mode 2560x1440@144.000Hz
+ #position 3000 200
+ position 1080 200
+ allow_tearing yes
+ max_render_time off
+ adaptive_sync on
+ render_bit_depth 10
+}
+
+output "DP-2" {
+ mode 1920x1080@60.000Hz
+ transform 270
+ #position 1920 0
+ position 0 0
+ allow_tearing yes
+ max_render_time off
+ render_bit_depth 10
+}
+
+#output "HDMI-A-1" {
+# mode 1920x1080@60.000Hz
+# position 0 1000
+# allow_tearing yes
+# max_render_time off
+# render_bit_depth 10
+#}
+
+bindsym $mod4+r exec swaymsg -- output DP-1 transform 90
+bindsym $mod4+Shift+r exec swaymsg -- output DP-1 transform 0