This is my current desktop environment setup for the sway window manager. Credits to EndeavourOS Sway-WM for the initial configuration.
WARNING! You must backup your files yourself!!! This script does not backup on your behalf.
Make sure you have the packages from package-list.txt
. The install script will automatically install them if you use Arch. Otherwise, find the equivalent package for your distro and install manually before running the script.
Run install.sh
There is no login manager. Type sway
in the terminal to start a sway session.
This setup creates symbolic links from the $SOME_PATH/sway_de/.config/
folder to your $HOME/.config/
(replace $SOME_PATH
with whichever directory you placed sway_de/
in). Symbolic links are managed using GNU Stow. It is recommended you read the man pages man stow
, or for more information info stow
.
You can use all the stow
commands when inside $SOME_PATH/sway_de/.config/
. For example:
To sync symbolic links from $HOME/.config/
pointing to $SOME_PATH/sway_de/.config/
:
$ cd $SOME_PATH/sway_de/.config/
$ stow --restow .
To remove all valid symbolic links from $HOME/.config/
pointing to $SOME_PATH/sway_de/.config/
:
$ cd $SOME_PATH/sway_de/.config/
$ stow --delete .
To remove invalid symbolic links. When you move or rename sway_de/
, symbolic links do not update to account for this. So they must be deleted using this command and then added back using the install script or stow:
$ find ~/.config/ -xtype l -exec rm {} +
There is currently no uninstall script. You can simply delete any files you are no longer using.