<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sway on WhyNotHugo</title><link>https://whynothugo.nl/tags/sway/</link><description>Recent content in Sway on WhyNotHugo</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 25 Mar 2024 10:43:11 +0100</lastBuildDate><atom:link href="https://whynothugo.nl/tags/sway/posts.xml" rel="self" type="application/rss+xml"/><item><title>My 'lock-and-sleep' script</title><link>https://whynothugo.nl/journal/2024/02/26/my-lock-and-sleep-script/</link><pubDate>Mon, 26 Feb 2024 00:00:00 +0000</pubDate><guid>https://whynothugo.nl/journal/2024/02/26/my-lock-and-sleep-script/</guid><description>My lock-and-sleep locks the system and puts in back to sleep after 10 seconds of idle as long as it remains locked.
Locking the system before going to sleep ensures that the system never shows an unlocked desktop when waking up from sleep. If the screen locker fails to start for some reason, this fact becomes clear sooner rather than later.
Going back to sleep automatically prevents the system from remaining active if woken up by accident.</description></item><item><title>Building and running sway-master</title><link>https://whynothugo.nl/journal/2023/08/04/building-and-running-sway-master/</link><pubDate>Fri, 04 Aug 2023 00:00:00 +0000</pubDate><guid>https://whynothugo.nl/journal/2023/08/04/building-and-running-sway-master/</guid><description>I wanted to run sway from upstream master branch to tests the yet-unreleased fractional scaling support. This recipe also works for trying to build sway with custom patches.
First, I needed to clone sway itself and wlroots as a subproject. Building wlroots as a subproject is required since I need to use the current master of wlroots. Using the distribution/system provided wlroots is unlikely to work (due to it being the latest stable release).</description></item></channel></rss>