94 lines
3.7 KiB
Bash
94 lines
3.7 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
set -eo pipefail
|
|
|
|
# the goal is to provide a tokyo-night themes hyprland
|
|
|
|
sudo apt install git liblz4-1 scdoc
|
|
# git clone https://github.com/Senshi111/debian-hyprland-hyprdots.git
|
|
# cd ~/debian-hyprland-hyprdots/build-hyprland-and-apps
|
|
|
|
# ./install_dependencies.sh
|
|
# ./install_hyprland.sh
|
|
# apt-get install hyprland
|
|
|
|
# ./install_rust.sh
|
|
# apt install rust-all cargo
|
|
|
|
#==============================================================================
|
|
# Efficient animated wallpaper daemon for wayland, controlled at runtime
|
|
# ./install_swww.sh
|
|
# requires rustc 1.74
|
|
git clone https://github.com/Horus645/swww.git
|
|
cargo build --release
|
|
# Then, put both binaries
|
|
cp target/release/swww /usr/bin
|
|
cp target/release/swww-daemon /usr/bin
|
|
|
|
# Optionally, autocompletion scripts for bash, zsh, fish and elvish are offered
|
|
# in the completions directory.
|
|
# Copy bash completions
|
|
sudo mkdir -p /usr/share/bash-completion/completions
|
|
sudo cp completions/swww.bash /usr/share/bash-completion/completions/swww
|
|
|
|
# Copy fish completions
|
|
#sudo mkdir -p /usr/share/fish/vendor_completions.d/
|
|
#sudo cp completions/swww.fish /usr/share/fish/vendor_completions.d/swww.fish
|
|
|
|
# Copy zsh completions
|
|
sudo mkdir -p /usr/share/zsh/site-functions
|
|
sudo cp completions/_swww /usr/share/zsh/site-functions/_swww
|
|
|
|
# Man pages:
|
|
# In order to generate the man pages, you must have scdoc installed. Run
|
|
./doc/gen.sh
|
|
#==============================================================================
|
|
# An XDG Desktop Portal backend for Hyprland.
|
|
# gbm - libgbm1: Installed: 23.3.5-1
|
|
# hyprland-protocols - local hyprland-protocols: Installed: 0.2
|
|
# hyprlang - local libhyprlang2: Installed: 0.5.1-0devuan1
|
|
# libdrm - libdrm2: Installed: 2.4.120-2
|
|
# libpipewire-0.3 - libpipewire-0.3-0: Installed: 1.0.3-1
|
|
# libspa-0.2 - libspa-0.2-dev: Installed: 1.0.3-1
|
|
# sdbus-cpp - libsdbus-c++-bin: Installed: (none) Candidate: 1.4.0-2
|
|
# wayland-client - libwayland-client0: Installed: 1.22.0-2.1+b1
|
|
# wayland-protocols - local wayland-protocols: Installed: 1.36-0devuan1
|
|
|
|
# ./install_xdg_portal.sh
|
|
|
|
git clone --recursive https://github.com/hyprwm/xdg-desktop-portal-hyprland
|
|
cd xdg-desktop-portal-hyprland/
|
|
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build
|
|
cmake --build build
|
|
sudo cmake --install build
|
|
#==============================================================================
|
|
# A Wayland native snapshot editing tool, inspired by Snappy on macOS
|
|
# ./install_swappy.sh
|
|
#==============================================================================
|
|
# Command-line copy/paste utilities for Wayland
|
|
# ./install_wl_clipboard.sh
|
|
#==============================================================================
|
|
# wayland clipboard manager with support for multimedia
|
|
# ./install_cliphist.sh
|
|
#==============================================================================
|
|
# ./install_go.sh # If needed
|
|
#==============================================================================
|
|
# Swaylock, with fancy effects
|
|
# ./install_swaylock-effects.sh
|
|
#==============================================================================
|
|
# GTK3 settings editor adapted to work in the wlroots environment
|
|
# ./install_nwg-look.sh
|
|
#==============================================================================
|
|
# CLI utility to print out images of pokemon to terminal
|
|
# ./install_pokemon-colorscripts.sh
|
|
#==============================================================================
|
|
# supporting apps - personal choice.
|
|
# ./install_apps.sh
|
|
|
|
#==============================================================================
|
|
git clone --depth 1 https://github.com/Senshi111/hyprland-hyprdots-files.git
|
|
# ./install_themes.sh
|
|
|
|
./cleanup.sh
|