diff --git a/README.md b/README.md index 3c68daf..db53b75 100755 --- a/README.md +++ b/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: - +## 🛠️ 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. + +--- diff --git a/Resouces.md b/Resources.md similarity index 100% rename from Resouces.md rename to Resources.md diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 1bdeeec..48ea0b9 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -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 diff --git a/kitty/gg b/kitty/gg deleted file mode 100644 index e69de29..0000000 diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 0f9a89d..f90e212 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -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 diff --git a/setup.sh b/setup.sh index 7ed3d05..2bcd1e4 100755 --- a/setup.sh +++ b/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 * diff --git a/waybar/config.jsonc b/waybar/config.jsonc index f4aea7b..1874844 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -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}", diff --git a/waybar/scripts/select-wallpaper.sh b/waybar/scripts/select-wallpaper.sh new file mode 100755 index 0000000..12cf80c --- /dev/null +++ b/waybar/scripts/select-wallpaper.sh @@ -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" \ No newline at end of file diff --git a/waybar/style.css b/waybar/style.css index c9ca400..f7345e6 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -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;