From 33890bebb15ca2a6300826bd9a5bb70a7a981c43 Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Wed, 8 Jun 2022 11:36:29 -0700 Subject: [PATCH] Set up dunst and sway for dual head - Configure sway to place displays matching reality - Reconfigure sway mpv shortcut to use regular clipboard, not primary - Drop the hard placement of dunst's output so it uses display 0 --- .config/dunst/dunstrc | 1 - .config/sway/config | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index c7effe4..2f191c7 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -8,7 +8,6 @@ horizontal_padding = 1 notification_limit = 20 shrink = no - monitor = 1 follow = none indicate_hidden = yes transparency = 0 diff --git a/.config/sway/config b/.config/sway/config index 2ad9b60..94827a6 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -79,7 +79,7 @@ bindsym $mod+space exec "rofi -show run" bindsym $mod+Shift+Return exec "pcmanfm" # open clipboard selection in mpv, for grabbng links from chat/email -bindsym $mod+m exec "mpv --image-display-duration=inf --force-window --title=`wl-paste -p` `wl-paste -p`" +bindsym $mod+m exec "mpv --image-display-duration=inf --force-window --title=`wl-paste` `wl-paste`" # change focus bindsym $mod+Left focus left @@ -216,6 +216,10 @@ input * { pointer_accel 0.0 } +# Set up displays (main desktop, main and TV) +output "Ancor Communications Inc VE247 G6LMQS117385" transform 270 pos 0 0 +output "Synaptics Inc 232-S13 0x000001B0" pos 1080 0 + # Execute dbus environment stuff # This makes the user keychain work among other things exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP