I've put off migrating to wayland since i3 and X11 work fine for me, but I would like to move to wayland since that is supposedly the direction things are going.
I think I have everything nearly working except for DPMS, when I turn off both displays and then try to turn them back on, only 1 comes back on. This is the snippet controlling DPMS:
Summarizing the changes I made to my system:
1. Instead of calling startx to launch my graphical environment, I have another helper, start-wayland which concatenates my sway configuration into a single file, executes sway in the background and runs scripts in /etc/xprofile
2. Updated my i3 config to use swaylock, swayidle, and swaymsg
3. Updated my i3 config to have the appropriate # of colors to define elements
4. Updated my i3 config to configure my monitor layout using wlr-randr
Since I'm no longer using startx, I abandoned .xinitrc, but should I merely update .xinitrc with exec sway & as well? That won't help my DPMS issue though.
I think I have everything nearly working except for DPMS, when I turn off both displays and then try to turn them back on, only 1 comes back on. This is the snippet controlling DPMS:
exec swayidle -w \
timeout 5 'swaymsg "output HDMI-A-1 dpms off"' \
timeout 5 'swaymsg "output DP-2 dpms off"' \
resume 'swaymsg "output * dpms on"'
Summarizing the changes I made to my system:
1. Instead of calling startx to launch my graphical environment, I have another helper, start-wayland which concatenates my sway configuration into a single file, executes sway in the background and runs scripts in /etc/xprofile
2. Updated my i3 config to use swaylock, swayidle, and swaymsg
3. Updated my i3 config to have the appropriate # of colors to define elements
4. Updated my i3 config to configure my monitor layout using wlr-randr
Since I'm no longer using startx, I abandoned .xinitrc, but should I merely update .xinitrc with exec sway & as well? That won't help my DPMS issue though.