| Crates.io | waytrogen |
| lib.rs | waytrogen |
| version | 0.6.12 |
| created_at | 2025-01-09 15:27:08.479196+00 |
| updated_at | 2025-02-15 15:23:35.829224+00 |
| description | A GTK graphical user interface for changing your wallpapers on Wayland based compositors. |
| homepage | https://github.com/nikolaizombie1/waytrogen |
| repository | https://github.com/nikolaizombie1/waytrogen |
| max_upload_size | |
| id | 1510031 |
| size | 493,040 |
X11 nitrogen. Written purely in the Rust 🦀 programming language.
hyprpaper (hyprland - png, jpeg, webp, jxl)swaybg (sway - png, jpeg, tiff, tga, gif)mpvpaper (any video/image format with mpv config)swww (jpeg, png, gif, pnm, tga, tiff, webp, bmp, farbfeld with transitions)hyprpaper for Hyprlandswaybg for Swaympvpaper for video supportswww for transition effectswaytrogen:
waytrogenwaytrogen --restore or waytrogen -rwaytrogen --list or waytrogen -lwaytrogen --external_script or waytrogen -e
waytrogen --next or waytrogen -nOn NixOS, you can use the provided flake.nix to compile and install from source. Just simply clone the repository using:
git clone https://github.com/nikolaizombie1/waytrogen.git && cd waytrogen
For those who would like to build from source on other distributions, the following dependencies are required:
On Arch use the following command to install the required build dependencies:
sudo pacman -S gtk4 sqlite openssl glib2 rust meson ninja
On Ubuntu use the following command to install the required build dependencies:
sudo apt install sqlite3 openssl libgtk-4-1 libglib2.0-dev cargo meson ninja-build
Then clone the repository using:
git clone https://github.com/nikolaizombie1/waytrogen.git && cd waytrogen
Configure meson and build using:
meson setup builddir --prefix=/usr && meson compile -C builddir
If you would like to install to your system, use:
meson install -C builddir
All help is welcome and appreciated for waytrogen. If you would like to contribute to waytrogen follow these steps:
waytrogen by clicking the fork button on the top of the github repository.git clone https://github.com/YOUR_USERNAME/waytrogen.git && cd waytrogen
update-readme or fix-buggit switch --create descriptive-branch-name main
If you want to add a new language to waytrogen, follow these steps:
gettextOn Arch Linux use:
sudo pacman -S gettext
On Ubuntu use:
sudo apt install gettext
On NixOS gettext is already installed.
cd poLINGUAS file. Keep the file ordered alphabetically.po file using the following command:msginit -i waytrogen -o LL.po -l LL_CC.UTF8
Where LL is the language code used in the previous step and CC is the country code can be obtained here
po the sections where it says msgstr ""If you would like to do code changes, follow these steps:
waytrogen either from source or from your package manager. This is to install the required schemas. Skip this step if developing on NixOS.On Arch Linux, use:
sudo pacman -S gtk4 sqlite openssl glib2 rust
On Ubuntu, use:
sudo apt install sqlite3 openssl libgtk-4-1 libglib2.0-dev cargo
On NixOS, add the following snippet to your configuration.nix
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
If the nix flake is not loading in properly, run direnv allow in the root of the repository to enable the flake.
waytrogen.waytrogen with the new changes using the following based on the distribution:NixOS simply run:nix build && nix run
cargo run --release
cargo clippy and make sure there are no suggestions.cargo fmt --allnikolaizombie1:waytrogen on the main branch. If needed, go into detail what do your changes do in the description of the pull request.Logo shape from Inconify Tabler atom.