I think that deleting all caches is a reliable working procedure, but you don't usually have to go that far, just install wlroots-git
, sway-git
and all that depends on them in the following manner. Please let me know if you have a better way.
# for zsh
sway-git-update() {
target=(wlroots-git sway-git)
required=($target $(LC_ALL=C paru -Qi $target | grep "^Required" | sed -e 's@^.*: @@' -e 's@ \+@ @g' -e 's@\n@@g'))
paru -S $target $required
}
Pinned Comments
GreyXor commented on 2023-09-16 06:44 (UTC) (edited on 2023-09-18 14:34 (UTC) by GreyXor)
Keep wlroots up-to-date
Why ?
It's essential to have the latest version of
wlroots-git
before compilingsway-git
, as this guarantees compatibility, security and access to the latest features.How ?
First method
You can manually trigger an update of
wlroots-git
using the following command with eitherparu
oryay
:Second method (Thanks @tkna)
I think that deleting all caches is a reliable working procedure, but you don't usually have to go that far, just install wlroots-git, sway-git and all that depends on them in the following manner. Please let me know if you have a better way.
for zsh