# Hyprland and Dots Configuration for Void Linux

## Overview
This repository contains instructions and configurations for setting up Hyprland on Void Linux. Hyprland is a powerful Tiling compositor.
## Table of Contents
- [Hyprland and Dots Configuration for Void Linux](#hyprland-and-dots-configuration-for-void-linux)
- [Overview](#overview)
- [Table of Contents](#table-of-contents)
- [Requirements](#requirements)
- [Package Dependencies](#package-dependencies)
- [Installation](#installation)
- [Keybindings](#keybindings)
- [Hyprland](#hyprland)
- [Rofi](#rofi)
- [Apps](#apps)
## Requirements
Ensure that your system meets the following requirements before proceeding:
### Package Dependencies
The following packages are required for the proper functioning of Hyprland on Void Linux:
Core Hyprland Components
- [Void-Hyprland](https://github.com/Makrennel/hyprland-void) : ```hyprland hyprland-protocols xorg-server-xwayland xdg-desktop-portal-hyprland xdg-desktop-portal xdg-utils wayland wayland-protocols xdg-desktop-portal-wlr xdg-desktop-portal-gtk```
System Components
- Repos : ```void-repo-multilib void-repo-nonfree```
- Services : ```dbus seatd elogind polkit bluez sddm cronie```
- Network : ```wpa_supplicant wifish wpa-cute wpa_gui - NetworkManager nmtui```
- Base : ```xorg gnome-keyring polkit-gnome mtpfs inotify-tools ffmpeg libnotify```
- Dev tools : ```git base-devel```
- Amd Drivers : ```Vulkan-Headers Vulkan-Tools Vulkan-ValidationLayers-32bit mesa-vulkan-radeon mesa-vulkan-radeon-32bit vulkan-loader vulkan-loader-32bit libspa-vulkan libspa-vulkan-32bit amdvlk mesa-dri```
- [Audio and Video](https://docs.voidlinux.org/config/media/pipewire.html) : ```pipewire wireplumber```
User Interface Components
- Ui Components : ```Waybar avizo font-awesome-6 swaylock dunst``` [rofi](https://github.com/lbonn/rofi/blob/wayland/INSTALL.md)
- Wallpaper Daemons : ```swaybg mpvpaper``` [swww](https:i//github.com/LGFae/swww)
- Utilities : ```grim jq slurp playerctl cliphist wl-clipboard swayidle swappy pavucontrol```
## Installation
Follow these steps to install Hyprland on your Void Linux system:
1. Clone this repository:
```bash
git clone https://github.com/void-land/hyprland-void-dots.git ~/.dots --recursive
```
2. Change into the repository directory:
```bash
cd ~/.dots
```
> ! Warning: Before executing the following command to sync configurations, ensure you have backed up your data to prevent any unintended loss.
3. Run this command to sync configs:
```bash
./stow.sh -s
```
## Keybindings
### Hyprland
| Keys | Action |
| ------------------------------------: | :------------------------------ |
| SUPER + C | Close window |
| SUPER + K | Toggle Waybar |
| SUPER + P | Toggle pseudo-tiling |
| SUPER + D | Toggle split |
| F11 | Fullscreen |
| SUPER + F | Maximize |
| SUPER + Arrows or H,J,K,L | Move window focus |
| SUPER + ALT + Arrows | Move tiled window |
| SUPER + ALT + Arrows | Resize window |
| SUPER + [1-9][0] | Change workspace [1-10] |
| SUPER + SHIFT + [1-9][0] | Move window to workspace [1-10] |
| CTRL + SUPER + ARROW LEFT | Go to previous workspace |
| CTRL + SUPER + ARROW RIGHT | Go to next workspace |
| SUPER + Left Click | Drag window |
| SUPER + Right Click | Drag resize window |
| SUPER + Y | Random wallpaper |
### Rofi
| Keys | Action |
| -------------------: | :---------------- |
| SUPER + R | App launcher |
| SUPER + V | Clipboard manager |
| SUPER + L | Logout menu |
| SUPER + U | Wallpaper menu |
| SUPER + X | Screenshot applet |
### Apps
| Keys | Action |
| -------------------: | :------------------- |
| SUPER + Q | Terminal |
| SUPER + W | Terminal with zellij |
| SUPER + E | File manager |
| SUPER + N | Network manager |