diff --git a/symlinks/config/.gitignore b/symlinks/config/.gitignore index 1eea192..b576bfc 100644 --- a/symlinks/config/.gitignore +++ b/symlinks/config/.gitignore @@ -74,3 +74,4 @@ !mimeapps.list !/ra-multiplex/ !/ra-multiplex/** +!/kanshi diff --git a/symlinks/config/kanshi/config.sample b/symlinks/config/kanshi/config.sample new file mode 100644 index 0000000..1c7f0e3 --- /dev/null +++ b/symlinks/config/kanshi/config.sample @@ -0,0 +1,25 @@ +profile dual { + output DP-1 mode 1920x1080 position 0,0 + output DP-2 mode 1920x1080 position 1920,0 + exec swaymsg workspace '$music_workspace', move workspace to DP-2 + exec swaymsg workspace '$email_workspace', move workspace to DP-2 + exec swaymsg workspace '$ide_workspace', move workspace to DP-1 + exec swaymsg input type:tablet_tool map_to_output DP-1 + exec swaymsg input type:tablet_tool map_from_region 0.0x0.0 1.0x0.9 +} + +profile single { + output DP-1 mode 1920x1080 position 0,0 + exec swaymsg workspace '$music_workspace', move workspace to DP-1 + exec swaymsg workspace '$email_workspace', move workspace to DP-1 + exec swaymsg workspace '$ide_workspace', move workspace to DP-1 + exec swaymsg input type:tablet_tool map_to_output DP-1 +} + +profile laptop { + output DP-1 mode 1920x1080 position 0,0 + output eDP-1 mode 1920x1080 position 0,1080 + exec swaymsg workspace '$music_workspace', move workspace to eDP-1 + exec swaymsg workspace '$email_workspace', move workspace to eDP-1 + exec swaymsg workspace '$ide_workspace', move workspace to DP-1 +} diff --git a/symlinks/config/sway/conf.d/41_pointer b/symlinks/config/sway/conf.d/41_pointer index 3adcea2..d0808a5 100644 --- a/symlinks/config/sway/conf.d/41_pointer +++ b/symlinks/config/sway/conf.d/41_pointer @@ -2,9 +2,4 @@ input type:pointer { accel_profile flat } -input type:tablet_tool { - map_to_output DP-1 - map_from_region 0.0x0.0 1.0x0.9 -} - focus_follows_mouse yes