feat ✨: Setup with instructions
This commit is contained in:
parent
a2d85aaa1a
commit
fdcdc5ee4e
9 changed files with 87 additions and 25 deletions
58
README.md
58
README.md
|
@ -56,23 +56,55 @@
|
|||
## Wallpaper
|
||||
|
||||
[Wallpaper](https://drive.google.com/drive/folders/1Eog40yvrTshjDLVIETVncBKcDsvPLMIX?usp=sharing)
|
||||
Here’s 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
|
||||
|
||||
```sh
|
||||
git clone https://github.com/ad1822/hyprdots
|
||||
```
|
||||
### 📦 Programs Included
|
||||
|
||||
2. Navigate to it
|
||||
- **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)
|
||||
|
||||
```sh
|
||||
cd ~/hyprdots
|
||||
```
|
||||
> ℹ️ **For more detailed guidance**, check out [this](./Resources.md)
|
||||
|
||||
3. Run this installer
|
||||
---
|
||||
|
||||
```sh
|
||||
sudo bash ./setup.sh
|
||||
``` -->
|
||||
## 🛠️ Installation Steps
|
||||
|
||||
1. **Clone the repository** to your home directory like `~` or `/home/username` :
|
||||
|
||||
```sh
|
||||
git clone https://github.com/ad1822/hyprdots ~/hyprdots
|
||||
```
|
||||
|
||||
2. **Navigate to the cloned directory**:
|
||||
|
||||
```sh
|
||||
cd ~/hyprdots
|
||||
```
|
||||
|
||||
3. **Run the setup script**:
|
||||
|
||||
```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.
|
||||
|
||||
---
|
||||
|
|
|
@ -78,8 +78,8 @@ decoration {
|
|||
rounding = 6
|
||||
#rounding = 20
|
||||
|
||||
active_opacity = 0.95
|
||||
inactive_opacity = 0.75
|
||||
active_opacity = 1
|
||||
inactive_opacity = 1
|
||||
shadow {
|
||||
enabled = true
|
||||
# range = 3
|
||||
|
|
0
kitty/gg
0
kitty/gg
|
@ -9,7 +9,7 @@ map ctrl+shift+v paste_from_clipboard
|
|||
|
||||
enable_audio_bell no
|
||||
|
||||
window_padding_width 5
|
||||
window_padding_width 5
|
||||
window_margin_width 5
|
||||
active_border_color #e0e4e5
|
||||
inactive_border_color #9EA3A7
|
||||
|
|
10
setup.sh
10
setup.sh
|
@ -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
|
||||
|
||||
cat << EOF | lolcat
|
||||
cat << EOF
|
||||
_________ __ ____ ___
|
||||
/ _____/ _____/ |_| | \______
|
||||
\_____ \_/ __ \ __\ | /\____ \
|
||||
|
@ -39,11 +39,11 @@ cd ~/hyprdots/
|
|||
echo "Copying .zshrc..."
|
||||
cp zsh/.zshrc ~/.zshrc
|
||||
|
||||
echo "Cloning dotsh repo..."
|
||||
mkdir -p ~/SideProjects/
|
||||
git clone https://github.com/ad1822/dotsh ~/SideProjects/dotsh
|
||||
#echo "Cloning dotsh repo..."
|
||||
#mkdir -p ~/SideProjects/
|
||||
#git clone https://github.com/ad1822/dotsh ~/SideProjects/dotsh
|
||||
|
||||
cd ~/SideProjects/dotsh || exit
|
||||
#cd ~/SideProjects/dotsh || exit
|
||||
|
||||
echo "Making scripts executable..."
|
||||
chmod +x *
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
"format": "\uf03e",
|
||||
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
|
||||
"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": {
|
||||
"format-wifi": " {icon}",
|
||||
|
|
30
waybar/scripts/select-wallpaper.sh
Executable file
30
waybar/scripts/select-wallpaper.sh
Executable 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"
|
|
@ -114,12 +114,12 @@ menu,
|
|||
animation: none;
|
||||
}
|
||||
|
||||
#workspaces button:not(.active){
|
||||
color : #74c7ec;
|
||||
#workspaces button:not(.active) {
|
||||
color: #74c7ec;
|
||||
}
|
||||
|
||||
#workspaces button:nth-child(1):not(.active) {
|
||||
color:#f38ba8;
|
||||
color: #f38ba8;
|
||||
}
|
||||
#workspaces button:nth-child(2):not(.active) {
|
||||
color: #f9e2af;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue