There is not really a great way to do this except to manually change the files one by one. Like SGS mentioned, Meld can make this a little easier for configs in /etc/skel
but there is still a bit to go through, and not all configs are in there.
For configs provided by the garuda-sway-settings
package, if the package is up to date you can use Meld to incorporate the new changes into your existing configs. For example, to bring your Sway and Waybar configs up to date:
meld /etc/skel/.config/waybar ~/.config/waybar
meld /etc/skel/.config/sway ~/.config/sway
These Meld commands will open the respective directories and identify any that do not match. You can open up individual files and directories with Meld to bring over individual changes you want, or copy over entire files.
If you want to switch to nwg-hello
, you will need to pull down the new configs from the ISO profiles repo. Specifically, you will need all the files in the greetd
and nwg-hello
directories here: garuda/sway/desktop-overlay/etc 路 master 路 Garuda Linux 馃 / Tools / iso-profiles 路 GitLab
Modify /etc/greetd.conf
to use nwg-hello
:
/etc/greetd.conf
[terminal]
vt = 1
[default_session]
command = "sway -c /etc/nwg-hello/sway-config > /dev/null 2>&1"
user = "greeter"
Create a nwg-hello
directory.
sudo mkdir -p /etc/nwg-hello
Create nwg-hello.css
, nwg-hello.json
, and sway-config
inside /etc/nwg-hello
and copy/paste the configs from GitLab, or curl down the raw files to populate the directory.
curl https://gitlab.com/garuda-linux/tools/iso-profiles/-/raw/master/garuda/sway/desktop-overlay/etc/nwg-hello/nwg-hello.css | sudo tee /etc/nwg-hello/nwg-hello.css > /dev/null
curl https://gitlab.com/garuda-linux/tools/iso-profiles/-/raw/master/garuda/sway/desktop-overlay/etc/nwg-hello/nwg-hello.json | sudo tee etc/nwg-hello/nwg-hello.json > /dev/null
curl https://gitlab.com/garuda-linux/tools/iso-profiles/-/raw/master/garuda/sway/desktop-overlay/etc/nwg-hello/sway-config | sudo tee /etc/nwg-hello/sway-config > /dev/null
If you want to switch to gtklock
, copy the directory out of /etc/skel
and put it into your user config.
cp -r /etc/skel/.config/gtklock ~/.config/
You can also copy the default .face
icon if you want to use it. This file can be any image you want to show for your profile on the lock screen; the default one is a Garuda icon.
cp /etc/skel/.face ~/
To switch to the new default wallpaper by @elite, update your Azote config.
meld /etc/skel/.azotebg ~/.azotebg
After saving the Azote config, run the script to update your wallpaper.
~/.azotebg
If you want to make sure you have the current default package set installed, you can pull down the package list from here: garuda/sway/Packages-Desktop 路 master 路 Garuda Linux 馃 / Tools / iso-profiles 路 GitLab
An easy way to do this would be to curl down the raw file. For example, to create a new file called sway_packages
:
curl https://gitlab.com/garuda-linux/tools/iso-profiles/-/raw/master/garuda/sway/Packages-Desktop > sway_packages
You can feed a package list directly to Pacman, but first you will have to remove the empty and commented lines or Pacman will error on them. You can open up the file and manually delete them (the file isn鈥檛 too lengthy), or use something like sed
.
sed -i '/^\s*#/d; /^\s*$/d' sway_packages
Once you have cleaned up the package list, you can install any packages you are missing from the list with the --needed
flag.
Like this if you are using Fish:
sudo pacman -S --needed (cat sway_packages)
Or like this if you are using Bash:
sudo pacman -S --needed $(< sway_packages)
I hope that helps, glad to hear you are enjoying the Sway edition @carlitos.