The only thing I haven't figured out so far with #swaywm is how to get my monitors to go to sleep. I've uncommented the part in the config that should do it, but it does not work.

@thelinuxcast
You usually use swayidle for that. Put the following line in swayidle's config:
timeout 450 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
This should do the trick.

@m0xee Yeah, I did get it to work, but then when it came back it messed up and made the other monitor the primary monitor. Still messing around with it.

Follow

@thelinuxcast
Oh, yes, it can get tricky!
There is a nice little program named kanshi for handling multiple displays, like running certain commands when display with particular name is connected. I use it to shut off the built-in display of my laptop when external display is connected and to set scaling and padding on that display. Maybe it'll be of use to you too.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml