This commit is contained in:
sankalp committed 2024-07-15 23:08:57 +05:45
1 parent 3cc23a89e0
commit c1ca96b572
2 files changed
+128 -56

No files matched your search

+112 -49
View File
@@ -1,24 +1,47 @@
<div align = "center">
<h1><a href="https://github.com/S4NKALP/hyprland">Hyprland with AGS</a></h1>
<h1><a href="https://github.com/S4NKALP/hyprland">Hyprland</a></h1>
<a href="https://github.com/S4NKALP/hyprland/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/S4NKALP/hyprland?style=flat&color=eee&label="> </a>
<div align="center"><p>
<img alt="Commit Activity" src="https://img.shields.io/github/commit-activity/m/S4NKALP/hyprland?style=for-the-badge&logo=instatus&color=C9CBFF&logoColor=D9E0EE&labelColor=302D41" />
<img alt="Last Commit" src="https://img.shields.io/github/last-commit/S4NKALP/hyprland?style=for-the-badge&logo=instatus&color=ee999f&logoColor=D9E0EE&labelColor=302D41" />
<img src="https://img.shields.io/github/license/S4NKALP/hyprland?style=for-the-badge&logo=instatus&color=c69ff5&logoColor=D9E0EE&labelColor=302D41" alt="GitHub License"><br>
<img src="https://img.shields.io/github/watchers/S4NKALP/hyprland?style=for-the-badge&logo=bilibili&color=F5E0DC&logoColor=D9E0EE&labelColor=302D41" alt="Codecov coverage">
<img src="https://img.shields.io/github/repo-size/S4NKALP/hyprland?color=%23DDB6F2&label=SIZE&logo=instatus&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41" alt="GitHub code size">
</div>
<a href="https://github.com/S4NKALP/hyprland/graphs/contributors">
<img alt="People" src="https://img.shields.io/github/contributors/S4NKALP/hyprland?style=flat&color=ffaaf2&label=People"> </a>
<p align="center">
<strong>Dotfiles</strong>
<br>
A dotfiles setup for Hyprland. Personal but easy to set up.
<br>
Not recommended for existing configurations.
<br>
<a href="https://github.com/S4NKALP/hyprland/stargazers">
<img alt="Stars" src="https://img.shields.io/github/stars/S4NKALP/hyprland?style=flat&color=98c379&label=Stars"></a>
<a href="https://github.com/S4NKALP/hyprland/">[Document]</a>
·
<a href="https://github.com/S4NKALP/hyprland/issues">[Report a bug]</a>
·
<a href="https://github.com/S4NKALP/hyprland/issues">[Suggesting new features.]</a>
</p>
<a href="https://github.com/S4NKALP/hyprland/network/members">
<img alt="Forks" src="https://img.shields.io/github/forks/S4NKALP/hyprland?style=flat&color=66a8e0&label=Forks"> </a>
<br>
<a href="https://github.com/S4NKALP/hyprland/watchers">
<img alt="Watches" src="https://img.shields.io/github/watchers/S4NKALP/hyprland?style=flat&color=f5d08b&label=Watches"> </a>
<table align="center">
<tr>
<th align="center">
<sup><sub>:warning: WARNING :warning:</sub></sup>
</th>
</tr>
<tr>
<td align="center">
<a href="https://github.com/S4NKALP/hyprland/pulse">
<img alt="Last Updated" src="https://img.shields.io/github/last-commit/S4NKALP/hyprland?style=flat&color=e06c75&label="> </a>
Designed for Arch Linux. Compatibility with other systems is not guaranteed.
VMs are not supported.
NVIDIA GPU not supported
</tr>
</table>
<h3>Hyprland Dots As I use for my daily driver<h3>
@@ -37,11 +60,84 @@
## 🌌 Overview
<h3>This repository contains Arch Linux's DotFiles, which I use on a daily basis. <br>
It includes custom settings, aliases, settings for familiar tools, and more to quickly create my ideal work environment on any machine.</h3>
for
<h4>This repository contains Arch Linux's DotFiles, which I use on a daily basis. <br>
It includes custom settings, aliases, settings for familiar tools, and more to quickly create my ideal work environment on any machine.</h4>
<hr>
### 🌸 Core System Info
- **OS**: [Arch Linux](https://archlinux.org/) :boom:
- **WM**: [hyprland](https://hyprland.org/) :window:
- **Shell**: [zsh](https://www.zsh.org/) / [starship](https://github.com/starship/starship) :shell:
- **Terminal Emulator**: [kitty](https://sw.kovidgoyal.net/kitty/) :cat:
- **Panel**: [AGS](https://aylur.github.io/ags-docs/) :shaved_ice:
- **Text Editor**: [neovim](https://neovim.io/) / [geany](https://www.geany.org/) :keyboard:
- **App Launcher**: [AGS](https://aylur.github.io/ags-docs/) :rocket:
- **File Manager**: [yazi](https://yazi-rs.github.io/) / [Thunar](https://github.com/neilbrown/thunar) :open_file_folder:
- **Browser**: [firefox](https://www.mozilla.org/) :globe_with_meridians:
- **Colorscheme**: [adw](https://github.com/lassekongo83/adw-gtk3) :art:
---
## Composition
```
Dotfiles🌴
│
├─ 📁 assets
│ └─ screenshot fonts
├─ 📁 config
│ └─ configuration directory
├─ 📁 misc
│ └─ bins/scripts
├─ 📁 wallpapers
└─ wallpapers used for hyprland
```
```
Setup script execution flow:
1. **Environment confirmation**:
- Ask user for confirmation before starting script
- Perform a system check
- Check your internet connection
- Check git installation
- Check the VM environment
- Check NVIDIA usage
2. **AUR installation**:
- Installing paru (AUR helper)
3. **Software installation**:
- Show package installation steps
- Display installation results for each package
4. **Copy settings**:
- copy zsh dotfiles
- Copy other config files
5. **Enabling the service**:
- Start Bluetooth service
- Enabling SDDM service
- Start powerprofile daemon
6. **Theme settings**:
- Set GTK and icon themes
- Fixed configuration file to enable theme
7. **Change Shell**:
- Change default shell to Zsh
8. **File permission settings**:
- Give execution permission to some script files
9. **Other settings**:
- Perform non-critical actions such as creating necessary directories
- Synchronize dotfiles
```
### ✨ Features
@@ -63,39 +159,6 @@ for
- :sparkles: Ripple Effects
### 🌸 Core System Info
- **OS**: [Arch Linux](https://archlinux.org/) :boom:
- **WM**: [hyprland](https://hyprland.org/) :window:
- **Shell**: [zsh](https://www.zsh.org/) / [starship](https://github.com/starship/starship) :shell:
- **Terminal Emulator**: [kitty](https://sw.kovidgoyal.net/kitty/) :cat:
- **Panel**: [AGS](https://aylur.github.io/ags-docs/) :shaved_ice:
- **Text Editor**: [neovim](https://neovim.io/) / [geany](https://www.geany.org/) :keyboard:
- **App Launcher**: [AGS](https://aylur.github.io/ags-docs/) :rocket:
- **File Manager**: [yazi](https://yazi-rs.github.io/) / [Thunar](https://github.com/neilbrown/thunar) :open_file_folder:
- **Browser**: [firefox](https://www.mozilla.org/) :globe_with_meridians:
- **Colorscheme**: [adw](https://github.com/lassekongo83/adw-gtk3) :art:
---
## 📁 Directory Structure
```
Dotfiles🌴
│
├─ 📁 assets
│ └─ screenshot fonts
├─ 📁 config
│ └─ configuration directory
├─ 📁 misc
│ └─ bins/scripts
├─ 📁 wallpapers
└─ wallpapers used for hyprland
```
## :keyboard: Keyboard Shortcuts Guide
```
+16 -7
View File
@@ -164,13 +164,20 @@ packages=(
)
#-- function -----------------------------------------
install_software() {
echo -en "\e[90mInstalling\e[0m \e[97m$1\e[0m..."
paru -S --noconfirm $1 &>>$INSTLOG &
show_progress $!
package_name=$1
if pacman -Q $package_name &>/dev/null; then
echo -e "\e[90m$package_name is already installed. Skipping installation.\e[0m"
else
echo -en "\e[90mInstalling\e[0m \e[97m$package_name\e[0m..."
paru -S --noconfirm $package_name &>>$INSTLOG &
show_progress $!
fi
}
installed() {
echo -en "Installed package \e[97m$1\e[0m."
}
#-- express -----------------------------------------
clear
echo -e "\033[1;34m"
@@ -388,17 +395,18 @@ for file in $HOME/hyrpland/misc/.zshevn; do
done
echo "Copying bin ..."
for binn in $HOME/hyrpland/misc/bin/*; do
if [ "$(basename "$file")" != "." ] && [ "$(basename "$file")" != ".." ]; then
sudo cp -r "$file" $HOME/.local/bin
if [ "$(basename "$binn")" != "." ] && [ "$(basename "$binn")" != ".." ]; then
sudo cp -r "$binn" $HOME/.local/bin
fi
done
echo "Copying fonts..."
for font in $HOME/hyrpland/assets/fonts/*; do
if [ "$(basename "$file")" != "." ] && [ "$(basename "$file")" != ".." ]; then
sudo cp -r "$file" /usr/share/fonts
if [ "$(basename "$font")" != "." ] && [ "$(basename "$font")" != ".." ]; then
sudo cp -r "$font" /usr/share/fonts
fi
done
sudo cp -r $HOME/hyprland/config/* $HOME/dofiles/
sudo cp -r $HOME/hyprland/wallpapers/* $HOME/Pictures/wallpapers
simulate_output "[ \e[32mOK\e[0m ] Copied .zshevn dotfiles to $HOME"
@@ -557,6 +565,7 @@ echo ""
simulate_output "Setting some files as executable..."
simulate_output "[ \e[32mOK\e[0m ] Granted execute permissions to scripts"
sudo chmod +x ~/dotfiles/hypr/scripts/*
sudo chmod +x ~/dotfiles/ags/scripts/*
sudo sensors-detect --auto > /dev/null
echo ""