summaryrefslogtreecommitdiff
path: root/hosts/iroha/sway_input_output
blob: ce992aeddf31ba4d50de5f69880bb043a65f309a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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
  scroll_method on_button_down
  scroll_button 276
  scroll_button_lock disabled
}

input "2362:9488:PixArt_USB_Optical_Mouse" {
  accel_profile flat
  pointer_accel -0.225
  scroll_factor 1.0
}

input "1133:50504:Logitech_USB_Receiver_Mouse" {
  accel_profile flat
  pointer_accel -0.15
  scroll_factor 1.0
}

input "1386:890:Wacom_One_by_Wacom_S_Pen" {
  events disabled
#  map_to_output = "DP-1";
#  left_handed = "enabled";
}

include ../monitors

output $monitor1 {
  mode 2560x1440@120.000Hz
  subpixel rgb
  position 1080 200
  allow_tearing yes
  max_render_time off
  adaptive_sync on
  #render_bit_depth 10
}

output $monitor2 {
  mode 1920x1080@60.000Hz
  subpixel vrgb
  transform 270
  position 0 0
  allow_tearing yes
  max_render_time off
  #render_bit_depth 10
}

#output $monitor3 {
#  mode 1920x1080@60.000Hz
#  subpixel rgb
#  position 0 1000
#  allow_tearing yes
#  max_render_time off
#  #render_bit_depth 10
#}

bindsym $mod4+r exec swaymsg -- output $monitor1 transform 90
bindsym $mod4+Shift+r exec swaymsg -- output $monitor1 transform 0