feat : Setup with instructions

This commit is contained in:
Ayush Dumasia 2025-05-17 09:34:19 +05:30
parent a2d85aaa1a
commit fdcdc5ee4e
9 changed files with 87 additions and 25 deletions

View file

@ -56,23 +56,55 @@
## Wallpaper ## Wallpaper
[Wallpaper](https://drive.google.com/drive/folders/1Eog40yvrTshjDLVIETVncBKcDsvPLMIX?usp=sharing) [Wallpaper](https://drive.google.com/drive/folders/1Eog40yvrTshjDLVIETVncBKcDsvPLMIX?usp=sharing)
Heres an improved version of your README **"Quick Installation"** section, with clearer language, formatting, and professionalism while keeping your unique style:
<!-- # Quick Installation ---
1. Clone this repo to your `~` or `/home/username`path ## 🚀 Quick Installation Guide
### 📦 Programs Included
- **Window Manager**: Hyprland (Tiling)
- **Status Bar**: Waybar
- **Notification Manager**: Dunst
- **Browser**: Zen
- **Color Picker**: hyprpicker
- **Wallpaper Utility**: hyprpaper
- **Screenshot Utility**: grim + slurp
- **App Launcher**: Rofi
- **Terminal Emulator**: kitty
- **Shell**: Zsh
- **Media Controls**: playerctl
- **Power Management**: acpi
- **Brightness Control**: brightnessctl
- **Audio Management**: pamixer, PulseAudio
- **Network Management**: NetworkManager (nmcli), iwd (iNet Wireless Daemon)
> **For more detailed guidance**, check out [this](./Resources.md)
---
## 🛠️ Installation Steps
1. **Clone the repository** to your home directory like `~` or `/home/username` :
```sh ```sh
git clone https://github.com/ad1822/hyprdots git clone https://github.com/ad1822/hyprdots ~/hyprdots
``` ```
2. Navigate to it 2. **Navigate to the cloned directory**:
```sh ```sh
cd ~/hyprdots cd ~/hyprdots
``` ```
3. Run this installer 3. **Run the setup script**:
```sh ```sh
sudo bash ./setup.sh sudo bash ./setup.sh
``` --> ```
4. **GTK Theme Setup**:
I use [`ngw-look`](https://github.com/nwg-piotr/nwg-look) to configure GTK themes and styles. Make sure it's installed and configured as part of your post-install customization.
---

View file

@ -78,8 +78,8 @@ decoration {
rounding = 6 rounding = 6
#rounding = 20 #rounding = 20
active_opacity = 0.95 active_opacity = 1
inactive_opacity = 0.75 inactive_opacity = 1
shadow { shadow {
enabled = true enabled = true
# range = 3 # range = 3

View file

View file

@ -5,7 +5,7 @@ set -euo pipefail
#sudo pacman -S hyprland waybar dunst kitty neovim git wl-clipboard xdg-desktop-portal-hyprland xdg-desktop-portal wofi network-manager-applet brightnessctl pavucontrol tmux rofi yazi firefox pamixer hyprlock grim slurp #sudo pacman -S hyprland waybar dunst kitty neovim git wl-clipboard xdg-desktop-portal-hyprland xdg-desktop-portal wofi network-manager-applet brightnessctl pavucontrol tmux rofi yazi firefox pamixer hyprlock grim slurp
cat << EOF | lolcat cat << EOF
_________ __ ____ ___ _________ __ ____ ___
/ _____/ _____/ |_| | \______ / _____/ _____/ |_| | \______
\_____ \_/ __ \ __\ | /\____ \ \_____ \_/ __ \ __\ | /\____ \
@ -39,11 +39,11 @@ cd ~/hyprdots/
echo "Copying .zshrc..." echo "Copying .zshrc..."
cp zsh/.zshrc ~/.zshrc cp zsh/.zshrc ~/.zshrc
echo "Cloning dotsh repo..." #echo "Cloning dotsh repo..."
mkdir -p ~/SideProjects/ #mkdir -p ~/SideProjects/
git clone https://github.com/ad1822/dotsh ~/SideProjects/dotsh #git clone https://github.com/ad1822/dotsh ~/SideProjects/dotsh
cd ~/SideProjects/dotsh || exit #cd ~/SideProjects/dotsh || exit
echo "Making scripts executable..." echo "Making scripts executable..."
chmod +x * chmod +x *

View file

@ -151,7 +151,7 @@
"format": "\uf03e", "format": "\uf03e",
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper", "on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
"tooltip": false, "tooltip": false,
"on-click-right": "kitty -e ~/SideProjects/dotsh/mics/select-wallpaper.sh" "on-click-right": "kitty -e ~/.config/waybar/scripts/select-wallpaper.sh"
}, },
"network": { "network": {
"format-wifi": " {icon}", "format-wifi": " {icon}",

View file

@ -0,0 +1,30 @@
#!/usr/bin/env bash
TARGET_DIR="${WALLPAPER_DIR:-$HOME/Pictures/Wallpaper}"
CONFIG_PATH="$HOME/.config/hypr/hyprpaper.conf"
TEMP_FILE=$(mktemp)
yazi --chooser-file "$TEMP_FILE" "$TARGET_DIR"
WALLPAPER=$(cat "$TEMP_FILE")
rm "$TEMP_FILE"
if [[ -z "$WALLPAPER" || ! -f "$WALLPAPER" ]]; then
echo "No wallpaper selected. Exiting."
exit 0
fi
mkdir -p "$(dirname "$CONFIG_PATH")"
{
echo "preload = $WALLPAPER"
echo "wallpaper = eDP-1,$WALLPAPER"
echo "splash = off"
echo "ipc = off"
} > "$CONFIG_PATH"
pkill hyprpaper
hyprctl dispatch exec "hyprpaper"
notify-send -a "hyprpaper" "Wallpaper Changed" -i "$WALLPAPER"
echo "Wallpaper set to: $WALLPAPER"