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
This commit is contained in:
Trysdyn Black 2022-06-08 11:36:29 -07:00
parent 9bc75de3ff
commit 33890bebb1
2 changed files with 5 additions and 2 deletions

View file

@ -8,7 +8,6 @@
horizontal_padding = 1
notification_limit = 20
shrink = no
monitor = 1
follow = none
indicate_hidden = yes
transparency = 0

View file

@ -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