1
0
Fork 0

Split sway config into device specific includes

This commit is contained in:
coderkun 2019-03-31 22:34:57 +02:00
commit 2d20ae5665
3 changed files with 47 additions and 28 deletions

28
sway/yuki Normal file
View file

@ -0,0 +1,28 @@
# Output configuration
output * bg ~/Bilder/Wallpapers/grimes.png fill
output HDMI-A-1 position 0,0
output DP-1 resolution 1920x1080 position 1920,0
# Input configuration
input "65261:4871:ErgoDox_EZ_ErgoDox_EZ" {
xkb_layout de
xkb_variant neo
}
input "5426:66:Razer_Razer_Abys" {
drag_lock disabled
accel_profile flat
}
# Monitor setup
set $mode_monitor Monitor (l) single left, (r) single right, (h) dual horizontal, ((v) dual vertical
mode "$mode_monitor" {
bindsym l output HDMI-A-1 enable, output DP-1 disable, mode "default"
bindsym r output HDMI-A-1 disable, output DP-1 enable position 0 0 transform normal, mode "default"
bindsym h output HDMI-A-1 enable, output DP-1 enable position 1920 0 transform normal, mode "default"
bindsym v output HDMI-A-1 enable, output DP-1 enable position 0 320 transform 270, mode "default"
bindsym Return mode "default"
bindsym mod3+Return mode "default"
bindsym Escape mode "default"
bindsym mod3+Escape mode "default"
}
bindsym $mod+Shift+M mode "$mode_monitor"