Open blacklightpy opened 9 months ago
Errors out on my system, the list may be missing a dependency.
@jabuxas Try adding gtk+3-devel
, glib-devel
and libglib-devel
.
Managed to build it, needed to npm install
after cloning the repo. It wasn't working and was erroring out but now it's working, so good. Ty.
@jabuxas It was a new addition, updated. Thanks.
Also make sure to do clone with --recursive
I've written this guide as in the "quick to the point" format and a "detailed" format, which lists the dependency lists specific to each package (for understanding the components).
Quick to the Point Guide
From Package Manager
Manual Installations
Setup Rust toolchain:
rustup-init
Install CSS/JS toolchain:
npm install -g sass typescript bun
(for glibc systems)npm install -g sass typescript esbuild
(for musl systems)Install Aylur's GTK+ 3 Shell (ags):
Install Simple Wayland Wallpaper Daemon (swww):
Install Material You Colour Generator (matugen):
cargo install matugen
Install Wayshot: I needed to type this to make it install wayshot (because the previous rustup install didn't have permissions to copy to
/usr/local/bin
for some reason despite usingsudo
):sudo rustup default stable
Continue installing wayshot:
Detailed Version
Pre-Requisites
These come as pre-requisites to build the dependencies.
Packaged Dependencies
sudo xbps-install gcc make automake meson
Rust Toolchain
Install Rustup Rust toolchain installer:
sudo xbps-install rustup
Execute rustup-init:
rustup-init
Compulsory
sudo xbps-install nerd-fonts-symbols-ttf brightnessctl fd
Aylur's GTK+ 3 Shell (ags)
sudo xbps-install gobject-introspection gjs gjs-devel glib-devel pulseaudio-devel libdbusmenu-gtk3-devel gnome-bluetooth-devel NetworkManager-devel libsoup-devel nodejs upower pam-devel
Install the default TypeScript transpiler:
npm install -g typescript
Install Aylur's GTK+ 3 Shell from source:
Dart Sass [Sass Transpiler]
Install Dart Sass Compiler:
sudo npm install -g sass
For glibc: Bun [JS Bundler, Transpiler, Task Runner and Runtime]
Install Bun:
sudo npm install -g bun
For musl: ESBuild [JS Bundler and Transpiler] (since Bun isn't supported on musl yet)
Install ESBuild:
sudo npm install -g esbuild
Simple Wayland Wallpaper Widget (swww)
sudo xbps-install lz4 libxkbcommon-devel
Install Simple Wayland Wallpaper Widget from source:
Matugen [Material You Colour Generation Tool] (matugen)
Install matugen:
cargo install matugen
Optional
sudo xbps-install fzf hyprpicker slurp wf-recorder wl-clipboard swappy
Wayshot [Screenshot Utility] (wayshot)
Install Wayshot from source:
For CSS Hot-Reload
inotify (inode notifier) is a Linux subsystem that monitors changes to the filesystem, and reports changed file inodes to applications.
Install inotify tools (inotify-tools):
sudo xbps-install inotify-tools