os/linux/debian/hyprland.md

3.4 KiB

Hyperland

Config

nvim ~/.config/hypr/hyprland.conf

hyperland

sudo apt update sudo apt install hyprland waybar rofi mako-notifier swaylock-effects swaybg

sudo apt install arc-theme papirus-icon-theme

mkdir -p ~/.config/hypr cp /usr/share/hyprland/hyprland.conf ~/.config/hypr/

nano ~/.config/hypr/hyprland.conf

exec-once = waybar exec-once = mako exec-once = swaybg -i /path/to/your/wallpaper.jpg

lsb_release -a

sudo chown -R $USER:$USER ~/Debian-Hyprland

sudo apt update sudo apt install git -y git clone https://github.com/JaKooLit/Debian-Hyprland.git cd Debian-Hyprland ./install.sh

sudo apt install network-manager

sudo apt update sudo apt install hyprland waybar rofi mako-notifier swaylock-effects swaybg

sudo apt install arc-theme papirus-icon-theme

mkdir -p ~/.config/hypr cp /usr/share/hyprland/hyprland.conf ~/.config/hypr/

nano ~/.config/hypr/hyprland.conf

exec-once = waybar exec-once = mako exec-once = swaybg -i /path/to/your/wallpaper.jpg

lsb_release -a

sudo chown -R $USER:$USER ~/Debian-Hyprland

sudo apt update sudo apt install git -y git clone https://github.com/JaKooLit/Debian-Hyprland.git cd Debian-Hyprland ./install.share

nmcli device wifi list nmcli device wifi connect "SSID_NAME" password "YOUR_PASSWORD" nmcli connection show nmcli device disconnect wlan0 nmcli device connect wlan0 nmcli connection modify "HomeWiFi" connection.autoconnect-priority 10 nmcli connection modify "PhoneHotspot" connection.autoconnect-priority 5

deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

sudo apt install build-essential cmake meson ninja-build
pkg-config git wayland-protocols libwayland-dev
libxkbcommon-dev libpixman-1-dev libegl1-mesa-dev
libgles2-mesa-dev libdrm-dev libgbm-dev libx11-dev

sudo apt install build-essential cmake meson ninja-build
pkg-config git wayland-protocols libwayland-dev
libxkbcommon-dev libpixman-1-dev libegl1-mesa-dev
libgles2-mesa-dev libdrm-dev libgbm-dev libx11-dev

sudo apt update sudo apt -t bookworm-backports install g++ gcc

sudo apt update sudo apt -t bookworm-backports install g++ gcc

deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware

mkdir ~/.config/waybar/

~/.config/waybar/config

{ "layer": "top", "position": "top", "modules-left": ["workspaces", "window"], "modules-center": ["clock"], "modules-right": ["pulseaudio", "network", "battery", "tray"] }

pkill waybar && waybar & { "layer": "top", "position": "top", "modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-center": ["clock"], "modules-right": ["pulseaudio", "network", "battery", "tray"] }

nvim ~/.config/hypr/hyprland.conf nvim ~/.config/waybar/style.css

#workspaces button { padding: 4px 8px; margin: 2px; border-radius: 6px; background: #333; color: #fff; }

#workspaces button.active { background: #89b4fa; color: #000; }

sudo apt install fonts-font-awesome