mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Compare commits
78 Commits
main
...
Ubuntu-24.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd99235edb | ||
|
|
28740f7ecb | ||
|
|
e777a7b864 | ||
|
|
447563cc75 | ||
|
|
8ad19c2cd6 | ||
|
|
ed25a83311 | ||
|
|
74f2fc8916 | ||
|
|
9ed87db627 | ||
|
|
7579579b47 | ||
|
|
08afaf46ed | ||
|
|
5c7cec7414 | ||
|
|
b899a245ac | ||
|
|
064e3acabc | ||
|
|
1f679a7330 | ||
|
|
35d8754c3d | ||
|
|
9b8e7b2a5b | ||
|
|
872ed4f9ab | ||
|
|
344e9df061 | ||
|
|
9d0444e440 | ||
|
|
f5bd1c70c0 | ||
|
|
33270a6fb4 | ||
|
|
6ab72daa32 | ||
|
|
65ef8f18a9 | ||
|
|
b0c0902e04 | ||
|
|
b838c320a8 | ||
|
|
6af0336b9c | ||
|
|
e6d34e2010 | ||
|
|
c40b327514 | ||
|
|
95351c73c9 | ||
|
|
b8657edf17 | ||
|
|
daedfc036d | ||
|
|
8dafe7dcce | ||
|
|
464888445d | ||
|
|
b231080a38 | ||
|
|
1db079e34c | ||
|
|
0e6ce2a974 | ||
|
|
8ede015d3d | ||
|
|
ee3f64bee9 | ||
|
|
1aa189e58a | ||
|
|
07855e98c9 | ||
|
|
9cfff838cd | ||
|
|
e9ff8a6b2d | ||
|
|
88cc2c28b2 | ||
|
|
b6245012fe | ||
|
|
e5b47a9f5c | ||
|
|
27bb12db40 | ||
|
|
4bbc0c9a0c | ||
|
|
d80435679a | ||
|
|
e62196c4d7 | ||
|
|
a638666fc4 | ||
|
|
fc5b5b7911 | ||
|
|
19da4a3175 | ||
|
|
680276be28 | ||
|
|
40a7cf6f62 | ||
|
|
30a61d7489 | ||
|
|
68dfbffa46 | ||
|
|
e11e1db6b9 | ||
|
|
09b015b2bb | ||
|
|
c591b8185d | ||
|
|
503fb7f9e5 | ||
|
|
00fee558c1 | ||
|
|
35ddefe5b2 | ||
|
|
554a28e0b1 | ||
|
|
6fb8d3b075 | ||
|
|
37c48fbacf | ||
|
|
6e4d3b81d8 | ||
|
|
759bfe0d93 | ||
|
|
84ab9b775e | ||
|
|
885db86509 | ||
|
|
85af50ac7c | ||
|
|
09d49993cc | ||
|
|
2ba26ac72d | ||
|
|
9aa995bbd6 | ||
|
|
1faf8b22d0 | ||
|
|
9f7d659f97 | ||
|
|
4d58fbb17a | ||
|
|
1ba1413a46 | ||
|
|
fabc335dae |
15
.github/ISSUE_TEMPLATE/bug_report.md
vendored
15
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -7,6 +7,10 @@ labels: "Something isn't working"
|
||||
|
||||
## Bug Report
|
||||
|
||||
### Before submitting report
|
||||
|
||||
[Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]
|
||||
|
||||
### Description
|
||||
|
||||
[Provide a clear and concise description of the bug.]
|
||||
@ -33,13 +37,12 @@ labels: "Something isn't working"
|
||||
|
||||
[Please add any other relevant information about the bug and remove the unnecessary lines.]
|
||||
|
||||
e.g.,
|
||||
### show output of `inxi -CGIsSMnr` install package `inxi` if not exist
|
||||
show output here
|
||||
```
|
||||
|
||||
- Linux Distro: [e.g., Debian 13, SID , Ubuntu 23.10, etc]
|
||||
- Linux Version, output of `uname -a`:
|
||||
- Hyprland Version, output of `hyprctl version`:
|
||||
- Installation Environment: [e.g., On The Main Hardware, On A Virtual Machine]
|
||||
- Other info: [e.g., Display Resolution, Resolution, etc]
|
||||
|
||||
```
|
||||
|
||||
### Additional Information
|
||||
|
||||
|
||||
11
.github/ISSUE_TEMPLATE/custom.md
vendored
11
.github/ISSUE_TEMPLATE/custom.md
vendored
@ -7,6 +7,10 @@ labels: "custom"
|
||||
|
||||
## Custom Template
|
||||
|
||||
### Before submitting report
|
||||
|
||||
[Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]
|
||||
|
||||
### Description
|
||||
|
||||
[Provide a clear and concise description of the issue or request.]
|
||||
@ -36,3 +40,10 @@ labels: "custom"
|
||||
### Additional Information
|
||||
|
||||
[Add any other information about the issue or request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]
|
||||
|
||||
### show output of `inxi -CGIsSMnr` install package `inxi` if not exist
|
||||
show output here
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
@ -1,5 +1,39 @@
|
||||
## Changelogs
|
||||
|
||||
## 11 June 2024
|
||||
- adjusted script to install only Hyprland-Dots v2.2.14
|
||||
|
||||
## 10 June 2024
|
||||
- changed behaviour of rofi-wayland.sh. To redownload a new rofi-wayland from repo instead of pulling changes. (It proves giving issue)
|
||||
|
||||
## 04 June 2024
|
||||
- switched over to source install for imagemagick
|
||||
- removal of fzf for Debian and Ubuntu (headache)
|
||||
|
||||
## 26 May 2024
|
||||
- Added fzf for zsh (CTRL R to invoke FZF history)
|
||||
|
||||
## 23 May 2024
|
||||
- added qalculate-gtk to work with rofi-calc. Default keybinds (SUPER ALT C)
|
||||
- added power-profiles-daemon for ROG laptops. Note, I cant add to all since it conflicts with TLP, CPU-Auto-frequency etc.
|
||||
- Note: Fastfetch configs will be added from Hyprland-Dots v2.2.12. However, you need to install from Fastfetch github page
|
||||
|
||||
## 22 May 2024
|
||||
- change the sddm theme destination to /etc/sddm.conf.d/10-theme.conf to theme.conf.user
|
||||
|
||||
## 19 May 2024
|
||||
- Disabled the auto-login in .zprofile as it causes auto-login to Hyprland if any wayland was chosen. Can enabled if only using hyprland
|
||||
|
||||
## 10 May 2024
|
||||
- added wallust-git and remove python-pywal for migration to wallust on Hyprland-Dots v2.2.11
|
||||
|
||||
## 07 May 2024
|
||||
- added ags.sh for upcoming ags overview for next Hyprland-Dots release. Will be installed form source
|
||||
|
||||
## 03 May 2024
|
||||
- Bump swww to v0.9.5
|
||||
- added python3-pyquery for new weather-waybar python based on Hyprland-Dots
|
||||
|
||||
## 03 May 2024
|
||||
- Bump swww to v0.9.5
|
||||
- added python3-pyquery for new weather-waybar python based on Hyprland-Dots
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.0 MiB |
147
README.md
147
README.md
@ -1,15 +1,54 @@
|
||||
## NOTE: Ubuntu-Hyprland install script are moved to a different Repo
|
||||
- [`Ubuntu-Hyprland LINK`](https://github.com/JaKooLit/Ubuntu-Hyprland)
|
||||
- Ubuntu-Hyprland install script on this repo/branch will be deleted by the End Aug 2024
|
||||
|
||||
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="#-announcement-"><kbd> <br> Read this First <br> </kbd></a>  
|
||||
<a href="#-to-use-this-script"><kbd> <br> How to Use this Script <br> </kbd></a>  
|
||||
<a href="#gallery-and-videos"><kbd> <br> Gallery <br> </kbd></a>  
|
||||
</div><br>
|
||||
<div align="center">
|
||||
|
||||
## 💌 JaKooLit's Debian/Ubuntu Hyprland Install Script 💌
|
||||
#### For Debian 13 Trixie and SID and Ubuntu 24.04 Noble Numbat
|
||||
|
||||
  
|
||||
## 💌 JaKooLit's Ubuntu Hyprland Install Script 💌
|
||||
#### For Ubuntu 24.04 Noble Numbat
|
||||
|
||||
   <a href="https://discord.gg/9JEgZsfhex"> <img src="https://img.shields.io/discord/1151869464405606400?style=for-the-badge&logo=discord&color=cba6f7&link=https%3A%2F%2Fdiscord.gg%9JEgZsfhex"> </a>
|
||||
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
### ♨️♨️♨️ ATTENTION ♨️♨️♨️ 30 Apr 2024
|
||||
- This script will not work on older build of Ubuntu like Ubuntu 23.10 and older. Due to depencies. If you want to install on Ubuntu 23.10, you can download the version v2.2.3 from the releases
|
||||
### 🛋️ Why I created a separate branch for Ubuntu 24.04 LTS
|
||||
- With latest Hyprland v0.40.0 released, it wont build on Ubuntu 24.04 LTS. Reason is that Ubuntu did not update their wayland-protocol. Its the reason why it wont build.
|
||||
- This is the reason why I have to set a specific release version on Hyprland packages including its eco-system as it is most likely wayland protocol wont be updated since its an LTS version.
|
||||
|
||||
<div align="center">
|
||||
👇 KOOL's Hyprland-Dots related Links 👇
|
||||
<br/>
|
||||
</div>
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="https://github.com/JaKooLit/Hyprland-Dots"><kbd> <br> Hyprland-Dots repo <br> </kbd></a>  
|
||||
<a href="https://www.youtube.com/playlist?list=PLDtGd5Fw5_GjXCznR0BzCJJDIQSZJRbxx"><kbd> <br> Youtube <br> </kbd></a>  
|
||||
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki"><kbd> <br> Wiki <br> </kbd></a>  
|
||||
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki/Keybinds"><kbd> <br> Keybinds <br> </kbd></a>  
|
||||
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ"><kbd> <br> FAQ <br> </kbd></a>  
|
||||
<a href="https://discord.gg/9JEgZsfhex"><kbd> <br> Discord <br> </kbd></a>
|
||||
</div><br>
|
||||
|
||||
<h3 align="center">
|
||||
<img src="https://github.com/JaKooLit/Telegram-Animated-Emojis/blob/main/Activity/Sparkles.webp" alt="Sparkles" width="38" height="38" />
|
||||
KooL Hyprland-Dotfiles Showcase
|
||||
<img src="https://github.com/JaKooLit/Telegram-Animated-Emojis/blob/main/Activity/Sparkles.webp" alt="Sparkles" width="38" height="38" />
|
||||
</h3>
|
||||
|
||||
<div align="center">
|
||||
|
||||
https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-9913-76039e84a2cd
|
||||
|
||||
</div>
|
||||
|
||||
> [!IMPORTANT]
|
||||
> install a backup tool like `snapper` or `timeshift`. and Backup your system before installing hyprland using this script. This script does NOT include uninstallation of packages
|
||||
@ -23,31 +62,22 @@
|
||||
#### ⚠️ Pre-requisites and VERY Important! ###
|
||||
- Do not run this installer as sudo or as root
|
||||
- This Installer requires a user with a priviledge to install packages
|
||||
- Needs a Debian 13 Testing (Trixie) Branch as it needs a newer wayland packages! I have tried on Stable Debian 12 Bookworm in which, Hyprland wont build.
|
||||
- In theory, it should also work on Debian SID (unstable) but I have not tested yet.
|
||||
- edit your /etc/apt/sources.list and remove # on lines with deb-src to enable source packaging else will not install properly especially Hyprland
|
||||
```bash
|
||||
sudo nano /etc/apt/sources.list
|
||||
```
|
||||
- delete # on the lines with 'deb-src'
|
||||
- ensure to allow to install non-free drivers especially for users with NVIDIA gpus. You can also install non-free drivers if required. Edit install-scripts/nvidia.sh and change the nvidia stuff's if required
|
||||
- This is only tested on 24.04 LTS. Older Ubuntu versions wont work
|
||||
- If you have login Manager already like GDM (gnome login manager), I highly advice not to install SDDM. But if you decide to install SDDM, see here [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
||||
|
||||
> [!NOTE]
|
||||
> UBUNTU USERS: Will only work on Ubuntu 24.04. See above!
|
||||
> For Ubuntu 24.04 LTS, no need to edit the /etc/apt/sources.list
|
||||
|
||||
> [!IMPORTANT]
|
||||
> If you are using Gnome already, DO NOT install the SDDM. The GDM Login Manager works well with Hyprland. For some reason, during installation, you will be asked which login manager you wanted to use. But during my test, nothing happened.
|
||||
|
||||
> [!CAUTION]
|
||||
> For Ubuntu with NVIDIA GPU's, make sure to edit the install-scripts/nvidia.sh . Delete all packages in nvidia_pkg except libva-wayland2 and nvidia-vaapi-driver and uncomment/remove # before sudo ubuntu-drivers install. You also need to delete or simply just add # in the lines 37 and 38 echo "echo "## for nvidia" | sudo tee -a... and echo "deb http://deb.debian.org/debian........
|
||||
|
||||
> [!WARNING]
|
||||
> If you have GDM already as log-in manager, DO NOT install SDDM
|
||||
> You will encounter issues. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
||||
|
||||
#### 📷 Gallery
|
||||
### Gallery and Videos
|
||||
<details>
|
||||
<summary>
|
||||
📷 Screenshots
|
||||
</summary>
|
||||
|
||||
<p align="center">
|
||||
<img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Distro-Hyprland/Debian/debian.png" /> <img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Distro-Hyprland/Debian/debian2.png" />
|
||||
</p>
|
||||
@ -70,6 +100,13 @@ sudo nano /etc/apt/sources.list
|
||||
|
||||
#### 📷 Older Screenshots: v1[`Link`](https://github.com/JaKooLit/screenshots/tree/main/Hyprland-ScreenShots/Debian) & v2[`Link`](https://github.com/JaKooLit/screenshots/tree/main/Hyprland-ScreenShots/Debian-v2)
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
📽️ Youtube Videos
|
||||
</summary>
|
||||
|
||||
#### ✨ Youtube presentation [`V1`](https://youtu.be/hGEWOif5D4Y?si=WQ-PrPwEhM5Og76Q)
|
||||
#### ✨ Youtube presentation [`V2`](https://youtu.be/Qc4VP9JFh2Y)
|
||||
|
||||
@ -82,15 +119,21 @@ sudo nano /etc/apt/sources.list
|
||||
#### 💯💯 Check out Installation Video coverage by KSK royal (Kali Linux xfce + nvidia). He have details regarding installing timeshift and switching to sddm from lightdm. He also covers removal of nouveau in favor of proprietary nvidia drivers
|
||||
- [`Link`](https://youtu.be/NtpRtSBjz3I?si=YGkS75u_7cW5D_zu)
|
||||
|
||||
</details>
|
||||
|
||||
### 🪧🪧🪧 ANNOUNCEMENT 🪧🪧🪧
|
||||
- This Repo does not contain Hyprland Dots or configs! Dotfiles can be checked here [`Hyprland-Dots`](https://github.com/JaKooLit/Hyprland-Dots) . During installation, if you opt to copy installation, it will be downloaded from that centralized repo.
|
||||
- This Repo does not contain Hyprland Dots or configs! Dotfiles can be checked here [`Hyprland-Dots`](https://github.com/JaKooLit/Hyprland-Dots) . During installation, if you opt to copy pre-configured dots, it will be downloaded from that centralized repo.
|
||||
- Hyprland-Dots use are constantly evolving / improving. you can check CHANGELOGS here [`Hyprland-Dots-Changelogs`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Changelogs)
|
||||
- Since the Hyprland-Dots are evolving, some of the screenshots maybe old
|
||||
- the wallpaper offered to be downloaded towards the end is from this [`REPO`](https://github.com/JaKooLit/Wallpaper-Bank)
|
||||
- The dotfiles that will be pulled by this installer is only specific. Since newer dotfiles might not work properly
|
||||
|
||||
> [!NOTE]
|
||||
> There is a lot of changes on Hyprland v0.40.0. And because of this, the latest Hyprland-Dots compatible for this script will be Hyprland-Dots v2.2.14 [`LINK`](https://github.com/JaKooLit/Hyprland-Dots/releases/tag/v2.2.14)
|
||||
|
||||
#### ✨ Some notes on this installer / Prerequisites
|
||||
- This script is meant to install in Debian Testing (Trixie).
|
||||
- If However, decided to try, recommend to install SDDM. Apart from GDM and SDDM, any other Login Manager may not work nor launch Hyprland. However, hyprland can be launched through tty by type Hyprland
|
||||
- This script is meant to install in Ubuntu 24.04 LTS
|
||||
- If you are using gnome already, DO NOT install SDDM. GDM will work. Apart from GDM and SDDM, any other Login Manager may not work nor launch Hyprland. However, hyprland can be launched through tty by type Hyprland
|
||||
- 🕯️ network-manager-gnome (nm-applet) has been removed from the packages to install. This is because it is known to restart the networkmanager causing issues in the installation process. After you boot up, inorder to get the network-manager applet, install network-manager-gnome. `sudo apt install network-manager-gnome` See below if your network or wifi became unmanaged after installation
|
||||
- If you have nvidia, and wanted to use proprietary drivers, uninstall nouveau first (if installed). This script will be installing proprietary nvidia drivers and will not deal with removal of nouveau.
|
||||
- NVIDIA users / owners, after installation, check [`THIS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Notes_to_remember#--for-nvidia-gpu-users)
|
||||
@ -99,28 +142,26 @@ sudo nano /etc/apt/sources.list
|
||||
- nwg-look is a utility to costumize your GTK theme. It's a LXAppearance like. Its a good tool though but this package is entirely optional
|
||||
|
||||
#### ✨ Costumize the packages to be installed
|
||||
- inside the install-scripts folder, you can edit 00-hypr-pkgs.sh. Do not edit 00-dependencies.sh unless you know what you are doing. Care though as the Hyprland Dots may not work properly!
|
||||
- default GTK theme if agreed to be installed is Tokyo night GTK themes (dark and light) + Tokyo night SE icons
|
||||
- inside the install-scripts directory, you can edit 00-hypr-pkgs.sh. Do not edit 00-dependencies.sh unless you know what you are doing. Care though as the Hyprland Dots may not work properly!
|
||||
|
||||
#### 💫 SDDM and GTK Themes offered
|
||||
- If you opted to install SDDM theme, here's the [`LINK`](https://github.com/JaKooLit/simple-sddm)
|
||||
- If you opted to install GTK Themes, Icons and Cursor offered are Tokyo Nights. [`LINK`](https://github.com/JaKooLit/GTK-themes-icons) & Bibata Cursor Modern Ice
|
||||
- If you opted to install GTK Themes, Icons, here's the [`LINK`](https://github.com/JaKooLit/GTK-themes-icons) & Bibata Cursor Modern Ice (assets directory)
|
||||
|
||||
#### 🔔 NOTICE TO NVIDIA OWNERS ###
|
||||
- by default it is installing the latest and newest nvidia drivers. If you have an older nvidia-gpu (GTX 800 series and older), check out nvidia-debian website [`LINK`](https://wiki.debian.org/NvidiaGraphicsDrivers) and edit nvidia.sh in install-scripts folder to install proper gpu driver
|
||||
> [!IMPORTANT]
|
||||
> If you want to use nouveau driver, choose N when asked if you have nvidia gpu. This is because the nvidia installer part, it will blacklist nouveau. Hyprland will still be installed but it will skip blacklisting nouveau.
|
||||
|
||||
# ✨ to run or Use this script
|
||||
## ✨ to use this script
|
||||
> clone this repo (latest commit only) by using git. Change directory, make executable and run the script
|
||||
```bash
|
||||
git clone --depth=1 https://github.com/JaKooLit/Debian-Hyprland.git ~/Debian-Hyprland
|
||||
cd ~/Debian-Hyprland
|
||||
git clone --depth=1 -b Ubuntu-24.04-LTS https://github.com/JaKooLit/Debian-Hyprland.git ~/Ubuntu-Hyprland
|
||||
cd ~/Ubuntu-Hyprland
|
||||
chmod +x install.sh
|
||||
./install.sh
|
||||
```
|
||||
<p align="center">
|
||||
<img align="center" width="100%" src="https://raw.githubusercontent.com/JaKooLit/Debian-Hyprland/main/Debian-Installer.png" />
|
||||
<img align="center" width="100%" src="https://github.com/JaKooLit/Debian-Hyprland/blob/Ubuntu-24.04-LTS/Ubuntu24.04.png" />
|
||||
|
||||
#### ✨ for ZSH and OH-MY-ZSH installation
|
||||
> installer should auto change your default shell to zsh. However, if it does not, do this
|
||||
@ -176,9 +217,15 @@ source ~/.zshrc
|
||||
- for the install part, kindly open issue on this repo
|
||||
- for the Pre-configured Hyprland dots / configuration, submit issue [`here`](https://github.com/JaKooLit/Hyprland-Dots/issues)
|
||||
|
||||
#### 🔧 Proper way to re-installing a particular script from install-scripts folder
|
||||
- CD into Debian-Hyprland Folder and then ran the below command.
|
||||
- i.e. `./install-scripts/gtk-themes` - For reinstall GTK Themes.
|
||||
#### ⌨ Keybinds
|
||||
- Keybinds [`CLICK`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Keybinds)
|
||||
|
||||
#### 🔧 Proper way to re-installing a particular script from install-scripts directory
|
||||
- CD into Ubuntu-Hyprland Folder and then ran the below command.
|
||||
- i.e. `./install-scripts/gtk-themes.sh` - For reinstall GTK Themes or
|
||||
- `./install-scripts/sddm.sh` - For reinstall sddm
|
||||
> [!IMPORTANT]
|
||||
> DO NOT cd into install-scripts directory as script will most likely to fail
|
||||
|
||||
#### 🛣️ Roadmap:
|
||||
- [ ] possibly adding gruvbox themes, cursors, icons
|
||||
@ -193,23 +240,49 @@ log into your account
|
||||
`ls -l /dev/dri/by-path` to check where the symlink points to
|
||||
)
|
||||
```
|
||||
- add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config (.config/hypr/UserConfigs/ENVariables.conf) ; X being where the symlink of the gpu points to
|
||||
- add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config `~/.config/hypr/UserConfigs/ENVariables.conf` ; X being where the symlink of the gpu points to
|
||||
|
||||
- more info from the hyprland wiki [`Hyprland Wiki Link`](https://wiki.hyprland.org/FAQ/#my-external-monitor-is-blank--doesnt-render--receives-no-signal-laptop)
|
||||
|
||||
|
||||
- reports from a member of discord for Nvidia for additional env's
|
||||
- remove # from the following env's on
|
||||
```
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = WLR_RENDERER_ALLOW_SOFTWARE,1
|
||||
```
|
||||
|
||||
#### ❗ other known issues
|
||||
> [!NOTE]
|
||||
> Auto start of Hyprland after login (no SDDM or GDM or any login managers)
|
||||
- [ ] This was disabled a few days ago. (19 May 2024). This was because some users, after they used the Distro-Hyprland scripts with other DE (gnome-wayland or plasma-wayland), if they choose to login into gnome-wayland for example, Hyprland is starting.
|
||||
- [ ] to avoid this, I disabled it. You can re-enable again by editing `~/.zprofile` . Remove all the # on the first lines
|
||||
- [ ] ROFI issues (scaling, unexplained scaling etc). This is most likely to experience if you are installing on a system where rofi is currently installed. To fix it uninstall rofi and install rofi-wayland . `sudo apt autoremove rofi` .
|
||||
- Install rofi-wayland with
|
||||
```bash
|
||||
cd ~/Debian-Hyprland
|
||||
./install-scripts/rofi-wayland.sh
|
||||
```
|
||||
- [ ] Rofi-wayland is compatible with x11 so no need to worry.
|
||||
- [ ] Does not work in Ubuntu 23.10 and older
|
||||
- [ ] sddm blackscreen when log-out
|
||||
- [ ] Installing SDDM if or any other Login Manager installed. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
||||
- [ ] network is down or become unmanaged [`This`](https://askubuntu.com/questions/71159/network-manager-says-device-not-managed) might help
|
||||
- [ ] pyprland is a hit and miss. Drop down not working, zooming is hit and miss
|
||||
- [ ] See note above about Hyprland-Dots newer version incompatibility
|
||||
|
||||
|
||||
#### 📒 Final Notes
|
||||
- join my discord channel [`Discord`](https://discord.gg/V2SJ92vbEN)
|
||||
- join my discord channel [`Discord`](https://discord.com/invite/9JEgZsfhex)
|
||||
- Feel free to copy, re-distribute, and use this script however you want. Would appreciate if you give me some loves by crediting my work :)
|
||||
|
||||
|
||||
#### ⏩ Contributing
|
||||
- As stated above, these script does not contain actual config files. These are only the installer of packages
|
||||
- The development branch of this script is pulling the latest "stable" releases of the Hyprland-Dotfiles.
|
||||
- If you want to contribute and/or test the Hyprland-Dotfiles (development branch), [`Hyprland-Dots-Development`](https://github.com/JaKooLit/Hyprland-Dots/tree/development)
|
||||
|
||||
|
||||
#### 👍👍👍 Thanks and Credits!
|
||||
- [`Hyprland`](https://hyprland.org/) Of course to Hyprland and @vaxerski for this awesome Dynamic Tiling Manager.
|
||||
|
||||
|
||||
BIN
Ubuntu24.04.png
Normal file
BIN
Ubuntu24.04.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 MiB |
@ -1,3 +1,3 @@
|
||||
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||
Hyprland
|
||||
fi
|
||||
#if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||
# Hyprland
|
||||
#fi
|
||||
|
||||
@ -19,16 +19,3 @@ source $ZSH/oh-my-zsh.sh
|
||||
#pokemon-colorscripts --no-title -s -r
|
||||
|
||||
|
||||
### From this line is for pywal-colors
|
||||
# Import colorscheme from 'wal' asynchronously
|
||||
# & # Run the process in the background.
|
||||
# ( ) # Hide shell job control messages.
|
||||
# Not supported in the "fish" shell.
|
||||
#(cat ~/.cache/wal/sequences &)
|
||||
|
||||
# Alternative (blocks terminal for 0-3ms)
|
||||
#cat ~/.cache/wal/sequences
|
||||
|
||||
# To add support for TTYs this line can be optionally added.
|
||||
#source ~/.cache/wal/colors-tty.sh
|
||||
|
||||
|
||||
124
assets/Thunar/accels.scm
Normal file
124
assets/Thunar/accels.scm
Normal file
@ -0,0 +1,124 @@
|
||||
; Thunar GtkAccelMap rc-file -*- scheme -*-
|
||||
; this file is an automated accelerator map dump
|
||||
;
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut" "<Primary>x")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/clear-directory-specific-settings" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size-in-bytes" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/3925ac2f7e4055558c447a20c2e047ad" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open" "<Primary>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-split-view" "F3")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy-2" "<Primary>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete" "Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-configure-toolbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/9f0d843e4074095bf657b996746ec75c" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/a16339451d60726d0755a887bd755af2" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>KP_Subtract")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-menu" "F10")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-highlight" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/44e0e66b3d753576f90ed75c87917822" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "<Primary>a")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/execute" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut-2" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-dtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste-2" "<Shift>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-filetype" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-document" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/978d3e7a7225e42c977fe94183792d87" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/cancel-search" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt2" "<Primary>equal")
|
||||
; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "<Primary>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/undo" "<Primary>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/toggle-sort-order" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt" "F5")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-entry" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste" "<Primary>v")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>KP_Add")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore-show" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-display-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/remove-from-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-with-other" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/move-to-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy" "<Primary>c")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-3" "<Shift>KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/a50db0a56a1e6c31df6bf18c55eb78cd" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/unselect-all-files" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/bookmarks-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-image-preview" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/search" "<Primary>f")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents/help-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-tab" "<Primary><Shift>p")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-buttons" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/redo" "<Primary><Shift>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "<Primary><Shift>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-location" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/c76f07a72d3c8ef5d4bf8e84c8981221" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete-2" "KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/set-default-app" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt" "BackSpace")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/8ea92a0b35875a5a65ffafcf02698ce8" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/sendto-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>KP_0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/about" "")
|
||||
17
assets/gtk-3.0/settings.ini
Normal file
17
assets/gtk-3.0/settings.ini
Normal file
@ -0,0 +1,17 @@
|
||||
[Settings]
|
||||
gtk-theme-name=Andromeda-dark
|
||||
gtk-icon-theme-name=Flat-Remix-Blue-Dark
|
||||
gtk-font-name=Fira Code Semi-Bold 14
|
||||
gtk-cursor-theme-name=Bibata-Modern-Ice
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintslight
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-application-prefer-dark-theme=1
|
||||
@ -8,6 +8,7 @@ dependencies=(
|
||||
cmake
|
||||
cmake-extras
|
||||
curl
|
||||
gawk
|
||||
gettext
|
||||
gir1.2-graphene-1.0
|
||||
git
|
||||
@ -32,13 +33,12 @@ dependencies=(
|
||||
libgraphene-1.0-0
|
||||
libgraphene-1.0-dev
|
||||
libgtk-3-dev
|
||||
libgulkan-0.15-0
|
||||
libgulkan-dev
|
||||
libinih-dev
|
||||
libinput-dev
|
||||
libjbig-dev
|
||||
libjpeg-dev
|
||||
libjpeg62-turbo-dev
|
||||
libjpeg62-dev
|
||||
liblerc-dev
|
||||
libliftoff-dev
|
||||
liblzma-dev
|
||||
@ -77,6 +77,7 @@ dependencies=(
|
||||
libxkbregistry-dev
|
||||
libxml2-dev
|
||||
libxxhash-dev
|
||||
make
|
||||
meson
|
||||
ninja-build
|
||||
openssl
|
||||
@ -91,7 +92,6 @@ dependencies=(
|
||||
seatd
|
||||
spirv-tools
|
||||
vulkan-validationlayers
|
||||
vulkan-validationlayers-dev
|
||||
wayland-protocols
|
||||
xdg-desktop-portal
|
||||
xwayland
|
||||
|
||||
@ -16,7 +16,7 @@ hypr_package=(
|
||||
grim
|
||||
gvfs
|
||||
gvfs-backends
|
||||
imagemagick
|
||||
inxi
|
||||
kitty
|
||||
nano
|
||||
pavucontrol
|
||||
@ -51,6 +51,7 @@ hypr_package_2=(
|
||||
mpv-mpris
|
||||
nvtop
|
||||
pamixer
|
||||
qalculate-gtk
|
||||
vim
|
||||
)
|
||||
|
||||
@ -97,9 +98,4 @@ done
|
||||
## making brightnessctl work
|
||||
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
||||
|
||||
## Installing pywal colors
|
||||
printf "\n%s - Installing Pywal.... \n" "${NOTE}"
|
||||
|
||||
sudo pip3 install pywal --break-system-packages 2>&1 | tee -a "$LOG"
|
||||
|
||||
clear
|
||||
|
||||
77
install-scripts/ags.sh
Executable file
77
install-scripts/ags.sh
Executable file
@ -0,0 +1,77 @@
|
||||
7#!/bin/bash
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# Aylur's GTK Shell #
|
||||
|
||||
ags=(
|
||||
node-typescript
|
||||
npm
|
||||
meson
|
||||
libgjs-dev
|
||||
gjs
|
||||
libgtk-layer-shell-dev
|
||||
libgtk-3-dev
|
||||
libpulse-dev
|
||||
libdbusmenu-gtk3-dev
|
||||
libsoup-3.0-dev
|
||||
)
|
||||
|
||||
# specific tags to download
|
||||
ags_tag="v1.8.2"
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Change the working directory to the parent directory of the script
|
||||
PARENT_DIR="$SCRIPT_DIR/.."
|
||||
cd "$PARENT_DIR" || exit 1
|
||||
|
||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_ags.log"
|
||||
MLOG="install-$(date +%d-%H%M%S)_ags.log"
|
||||
|
||||
# Installing ags Dependencies
|
||||
for PKG1 in "${ags[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
#install typescript by npm
|
||||
sudo npm install --global typescript 2>&1 | tee -a "$LOG"
|
||||
|
||||
# ags
|
||||
|
||||
printf "${NOTE} Install and Compiling Aylurs GTK shell\n"
|
||||
|
||||
# Check if folder exists and remove it
|
||||
if [ -d "ags" ]; then
|
||||
printf "${NOTE} Removing existing ags folder...\n"
|
||||
rm -rf "ags"
|
||||
fi
|
||||
|
||||
# Clone nwg-look repository with the specified tag
|
||||
if git clone --recursive -b "$ags_tag" --depth 1 https://github.com/Aylur/ags.git; then
|
||||
cd ags || exit 1
|
||||
# Build and install ags
|
||||
npm install
|
||||
meson setup build
|
||||
if sudo meson install -C build 2>&1 | tee -a "$MLOG"; then
|
||||
printf "${OK} ags installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "${ERROR} Installation failed for ags" 2>&1 | tee -a "$MLOG"
|
||||
fi
|
||||
|
||||
# Move logs to Install-Logs directory
|
||||
mv "$MLOG" ../Install-Logs/ || true
|
||||
cd ..
|
||||
else
|
||||
echo -e "${ERROR} Failed to download ags Please check your connection" 2>&1 | tee -a "$LOG"
|
||||
mv "$MLOG" ../Install-Logs/ || true
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -1,86 +1,51 @@
|
||||
#!/bin/bash
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# Hyprland-Dots to download from Releases #
|
||||
if [[ $USE_PRESET = [Yy] ]]; then
|
||||
source ./preset.sh
|
||||
fi
|
||||
# Hyprland-Dots to download a specific release #
|
||||
|
||||
# Define the specific release version to download
|
||||
specific_version="v2.2.14"
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
|
||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
|
||||
printf "${NOTE} Downloading / Checking for existing Hyprland-Dots.tar.gz...\n"
|
||||
printf "${NOTE} Downloading / Checking for existing Hyprland-Dots-${specific_version}.tar.gz...\n"
|
||||
|
||||
# Check if Hyprland-Dots.tar.gz exists
|
||||
if [ -f Hyprland-Dots.tar.gz ]; then
|
||||
printf "${NOTE} Hyprland-Dots.tar.gz found.\n"
|
||||
|
||||
# Get the version from the existing tarball filename
|
||||
existing_version=$(echo Hyprland-Dots.tar.gz | grep -oP 'v\d+\.\d+\.\d+' | sed 's/v//')
|
||||
|
||||
# Fetch the tag_name for the latest release using the GitHub API
|
||||
latest_version=$(curl -s https://api.github.com/repos/JaKooLit/Hyprland-Dots/releases/latest | grep "tag_name" | cut -d '"' -f 4 | sed 's/v//')
|
||||
|
||||
# Check if versions match
|
||||
if [ "$existing_version" = "$latest_version" ]; then
|
||||
echo -e "${OK} Hyprland-Dots.tar.gz is up-to-date with the latest release ($latest_version)."
|
||||
|
||||
# Sleep for 10 seconds before exiting
|
||||
printf "${NOTE} No update found. Sleeping for 10 seconds...\n"
|
||||
sleep 10
|
||||
exit 0
|
||||
else
|
||||
echo -e "${WARN} Hyprland-Dots.tar.gz is outdated (Existing version: $existing_version, Latest version: $latest_version)."
|
||||
if [[ -z $upgrade_choice ]]; then
|
||||
read -p "Do you want to upgrade to the latest version? (y/n): " upgrade_choice
|
||||
fi
|
||||
if [ "$upgrade_choice" = "y" ]; then
|
||||
echo -e "${NOTE} Proceeding to download the latest release." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
|
||||
# Delete existing directories starting with JaKooLit-Hyprland-Dots
|
||||
find . -type d -name 'JaKooLit-Hyprland-Dots*' -exec rm -rf {} +
|
||||
rm -f Hyprland-Dots.tar.gz
|
||||
printf "${WARN} Removed existing Hyprland-Dots.tar.gz.\n"
|
||||
else
|
||||
echo -e "${NOTE} User chose not to upgrade. Exiting..." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
# Check if the specific release tarball exists
|
||||
if [ -f "Hyprland-Dots-${specific_version}.tar.gz" ]; then
|
||||
printf "${NOTE} Hyprland-Dots-${specific_version}.tar.gz found.\n"
|
||||
echo -e "${OK} Hyprland-Dots-${specific_version}.tar.gz is already downloaded."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
printf "${NOTE} Downloading the latest Hyprland source code release...\n"
|
||||
printf "${NOTE} Downloading the Hyprland-Dots-${specific_version} source code release...\n"
|
||||
|
||||
# Fetch the tag name for the latest release using the GitHub API
|
||||
latest_tag=$(curl -s https://api.github.com/repos/JaKooLit/Hyprland-Dots/releases/latest | grep "tag_name" | cut -d '"' -f 4)
|
||||
|
||||
# Check if the tag is obtained successfully
|
||||
if [ -z "$latest_tag" ]; then
|
||||
echo -e "${ERROR} Unable to fetch the latest tag information." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
# Fetch the tag name for the specific release using the GitHub API
|
||||
release_info=$(curl -s "https://api.github.com/repos/JaKooLit/Hyprland-Dots/releases/tags/${specific_version}")
|
||||
if [ -z "$release_info" ]; then
|
||||
echo -e "${ERROR} Unable to fetch information for release ${specific_version}." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fetch the tarball URL for the latest release using the GitHub API
|
||||
latest_tarball_url=$(curl -s https://api.github.com/repos/JaKooLit/Hyprland-Dots/releases/latest | grep "tarball_url" | cut -d '"' -f 4)
|
||||
# Get the tarball URL for the specific release
|
||||
tarball_url=$(echo "$release_info" | grep "tarball_url" | cut -d '"' -f 4)
|
||||
|
||||
# Check if the URL is obtained successfully
|
||||
if [ -z "$latest_tarball_url" ]; then
|
||||
echo -e "${ERROR} Unable to fetch the tarball URL for the latest release." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
if [ -z "$tarball_url" ]; then
|
||||
echo -e "${ERROR} Unable to fetch the tarball URL for release ${specific_version}." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the filename from the URL and include the tag name in the file name
|
||||
file_name="Hyprland-Dots-${latest_tag}.tar.gz"
|
||||
|
||||
# Download the latest release source code tarball to the current directory
|
||||
if curl -L "$latest_tarball_url" -o "$file_name"; then
|
||||
# Download the specific release source code tarball to the current directory
|
||||
if curl -L "$tarball_url" -o "Hyprland-Dots-${specific_version}.tar.gz"; then
|
||||
# Extract the contents of the tarball
|
||||
tar -xzf "$file_name" || exit 1
|
||||
tar -xzf "Hyprland-Dots-${specific_version}.tar.gz" || exit 1
|
||||
|
||||
# delete existing Hyprland-Dots
|
||||
# Delete existing Hyprland-Dots
|
||||
rm -rf JaKooLit-Hyprland-Dots
|
||||
|
||||
# Identify the extracted directory
|
||||
extracted_directory=$(tar -tf "$file_name" | grep -o '^[^/]\+' | uniq)
|
||||
extracted_directory=$(tar -tf "Hyprland-Dots-${specific_version}.tar.gz" | grep -o '^[^/]\+' | uniq)
|
||||
|
||||
# Rename the extracted directory to JaKooLit-Hyprland-Dots
|
||||
mv "$extracted_directory" JaKooLit-Hyprland-Dots || exit 1
|
||||
@ -91,9 +56,9 @@ if curl -L "$latest_tarball_url" -o "$file_name"; then
|
||||
chmod +x copy.sh
|
||||
./copy.sh
|
||||
|
||||
echo -e "${OK} Latest Dotfiles release downloaded, extracted, and processed successfully. Check JaKooLit-Hyprland-Dots folder for more detailed install logs" 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
echo -e "${OK} Hyprland-Dots-${specific_version} release downloaded, extracted, and processed successfully. Check JaKooLit-Hyprland-Dots folder for more detailed install logs" 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
else
|
||||
echo -e "${ERROR} Failed to download the latest Dotfiles release." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
echo -e "${ERROR} Failed to download Hyprland-Dots-${specific_version} release." 2>&1 | tee -a "../Install-Logs/install-$(date +'%d-%H%M%S')_dotfiles.log"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
#!/bin/bash
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# force reinstall packages cause it says its already installed but still not
|
||||
# some users report that they need to install this packages
|
||||
|
||||
force=(
|
||||
imagemagick
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Change the working directory to the parent directory of the script
|
||||
PARENT_DIR="$SCRIPT_DIR/.."
|
||||
cd "$PARENT_DIR" || exit 1
|
||||
|
||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_force.log"
|
||||
|
||||
printf "${NOTE} Force installing packages...\n"
|
||||
for FORCE in "${force[@]}"; do
|
||||
sudo apt-get --reinstall install -y "$FORCE" 2>&1 | tee -a "$LOG"
|
||||
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE Package installation failed, Please check the installation logs"; exit 1; }
|
||||
done
|
||||
|
||||
clear
|
||||
@ -32,11 +32,11 @@ done
|
||||
|
||||
# Check if the directory exists and delete it if present
|
||||
if [ -d "GTK-themes-icons" ]; then
|
||||
echo "$NOTE Tokyo Theme GTK themes and Icons folder exist..deleting..." 2>&1 | tee -a "$LOG"
|
||||
echo "$NOTE GTK themes and Icons folder exist..deleting..." 2>&1 | tee -a "$LOG"
|
||||
rm -rf "GTK-themes-icons" 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
echo "$NOTE Cloning Tokyo Theme GTK themes and Icons repository..." 2>&1 | tee -a "$LOG"
|
||||
echo "$NOTE Cloning GTK themes and Icons repository..." 2>&1 | tee -a "$LOG"
|
||||
if git clone https://github.com/JaKooLit/GTK-themes-icons.git ; then
|
||||
cd GTK-themes-icons
|
||||
chmod +x auto-extract.sh
|
||||
@ -44,7 +44,7 @@ if git clone https://github.com/JaKooLit/GTK-themes-icons.git ; then
|
||||
cd ..
|
||||
echo "$OK Extracted GTK Themes & Icons to ~/.icons & ~/.themes folders" 2>&1 | tee -a "$LOG"
|
||||
else
|
||||
echo "$ERROR Download failed for Tokyo Theme GTK themes and Icons.." 2>&1 | tee -a "$LOG"
|
||||
echo "$ERROR Download failed for GTK themes and Icons.." 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
tar -xf "assets/Bibata-Modern-Ice.tar.xz" -C ~/.icons 2>&1 | tee -a "$LOG"
|
||||
|
||||
@ -4,7 +4,8 @@
|
||||
# Hyprland plugins: pyprland
|
||||
|
||||
pypr_depend=(
|
||||
python-is-python3
|
||||
python3-aiofiles
|
||||
python-is-python3
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
@ -42,6 +43,4 @@ curl https://raw.githubusercontent.com/hyprland-community/pyprland/main/scripts/
|
||||
|
||||
pip install pyprland --break-system-packages 2>&1 | tee -a "$LOG"
|
||||
|
||||
|
||||
|
||||
|
||||
clear
|
||||
|
||||
@ -43,5 +43,9 @@ else
|
||||
echo -e "${ERROR} Download failed for Hyprland." 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
wayland_sessions_dir=/usr/share/wayland-sessions
|
||||
[ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir -p "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; }
|
||||
sudo cp assets/hyprland.desktop "$wayland_sessions_dir/" 2>&1 | tee -a "$LOG"
|
||||
|
||||
clear
|
||||
|
||||
|
||||
@ -45,8 +45,8 @@ printf "${NOTE} Installing hyprlock...\n"
|
||||
if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then
|
||||
cd hyprlock || exit 1
|
||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
||||
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
||||
if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then
|
||||
printf "${OK} hyprlock installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "${ERROR} Installation failed for hyprlock." 2>&1 | tee -a "$MLOG"
|
||||
|
||||
61
install-scripts/imagemagick.sh
Executable file
61
install-scripts/imagemagick.sh
Executable file
@ -0,0 +1,61 @@
|
||||
#!/bin/bash
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# imagemagick from source #
|
||||
|
||||
depend=(
|
||||
build-essential
|
||||
)
|
||||
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Change the working directory to the parent directory of the script
|
||||
PARENT_DIR="$SCRIPT_DIR/.."
|
||||
cd "$PARENT_DIR" || exit 1
|
||||
|
||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_image.log"
|
||||
MLOG="install-$(date +%d-%H%M%S)_image.log"
|
||||
|
||||
# Installing depencies
|
||||
for PKG1 in "${depend[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
##
|
||||
printf "${NOTE} Installing ImageMagick from source...\n"
|
||||
|
||||
# Check if folder exists and remove it
|
||||
if [ -d "ImageMagick" ]; then
|
||||
printf "${NOTE} Removing existing ImageMagick folder...\n"
|
||||
rm -rf "ImageMagick"
|
||||
fi
|
||||
|
||||
# Clone and build ImageMagick
|
||||
printf "${NOTE} Installing ImageMagick...\n"
|
||||
if git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git; then
|
||||
cd ImageMagick || exit 1
|
||||
./configure
|
||||
make
|
||||
if sudo make install 2>&1 | tee -a "$MLOG" ; then
|
||||
sudo ldconfig /usr/local/lib
|
||||
printf "${OK} ImageMagick installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "${ERROR} Installation failed for ImageMagick." 2>&1 | tee -a "$MLOG"
|
||||
fi
|
||||
#moving the addional logs to Install-Logs directory
|
||||
mv $MLOG ../Install-Logs/ || true
|
||||
cd ..
|
||||
else
|
||||
echo -e "${ERROR} Download failed for ImageMagick." 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
clear
|
||||
@ -4,16 +4,13 @@
|
||||
# UBUNTU USERS, FOLLOW README!
|
||||
|
||||
nvidia_pkg=(
|
||||
nvidia-driver
|
||||
firmware-misc-nonfree
|
||||
nvidia-kernel-dkms
|
||||
linux-headers-$(uname -r)
|
||||
libva-wayland2
|
||||
libnvidia-egl-wayland1
|
||||
nvidia-vaapi-driver
|
||||
)
|
||||
|
||||
# for ubuntu-nvidia owners! just delete #
|
||||
# sudo ubuntu-drivers install
|
||||
sudo ubuntu-drivers install
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
@ -35,8 +32,8 @@ sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 2>&1 | tee -a "$LOG"
|
||||
|
||||
## UBUNTU - NVIDIA (comment this two by adding # you dont need this!)
|
||||
# Add the comment and repository entry to sources.list
|
||||
echo "## for nvidia" | sudo tee -a /etc/apt/sources.list 2>&1 | tee -a "$LOG"
|
||||
echo "deb http://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware" | sudo tee -a /etc/apt/sources.list 2>&1 | tee -a "$LOG"
|
||||
#echo "## for nvidia" | sudo tee -a /etc/apt/sources.list 2>&1 | tee -a "$LOG"
|
||||
#echo "deb http://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware" | sudo tee -a /etc/apt/sources.list 2>&1 | tee -a "$LOG"
|
||||
|
||||
# Update the package list
|
||||
sudo apt update
|
||||
@ -81,7 +78,7 @@ printf "${YELLOW} nvidia-stuff to /etc/default/grub..."
|
||||
# Define the configuration file and the line to add
|
||||
config_file="/etc/modprobe.d/nvidia.conf"
|
||||
line_to_add="""
|
||||
options nvidia-drm modeset=1
|
||||
options nvidia-drm modeset=1 fbdev=1
|
||||
options nvidia NVreg_PreserveVideoMemoryAllocations=1
|
||||
"""
|
||||
|
||||
|
||||
@ -1,32 +0,0 @@
|
||||
#!/bin/bash
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# Pywal Colors) #
|
||||
|
||||
pywal=(
|
||||
imagemagick
|
||||
python3-pip
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Change the working directory to the parent directory of the script
|
||||
PARENT_DIR="$SCRIPT_DIR/.."
|
||||
cd "$PARENT_DIR" || exit 1
|
||||
|
||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +'%d-%H%M%S')_pywal.log"
|
||||
|
||||
# Installing Pywal dependencies
|
||||
for package in "${pywal[@]}"; do
|
||||
install_package "$package" || exit 1
|
||||
done
|
||||
|
||||
## Installing pywal colors
|
||||
printf "\n%s - Installing Pywal.... \n" "${NOTE}"
|
||||
sudo pip3 install pywal --break-system-packages 2>&1 | tee -a "$LOG"
|
||||
|
||||
clear
|
||||
@ -5,6 +5,13 @@
|
||||
rofi=(
|
||||
bison
|
||||
flex
|
||||
pandoc
|
||||
doxygen
|
||||
cppcheck
|
||||
ohcount
|
||||
libmpdclient-dev
|
||||
libnl-3-dev
|
||||
libasound2-dev
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
@ -46,25 +53,23 @@ printf "\n\n"
|
||||
# Clone and build rofi - wayland
|
||||
printf "${NOTE} Installing rofi-wayland...\n"
|
||||
|
||||
printf "${NOTE} Installing rofi-wayland\n"
|
||||
|
||||
# Check if rofi folder exists
|
||||
if [ -d "rofi" ]; then
|
||||
printf "${NOTE} rofi folder exists. Pulling latest changes...\n"
|
||||
printf "${NOTE} rofi folder exists. Removing existing directory...\n"
|
||||
rm -rf rofi
|
||||
fi
|
||||
|
||||
# cloning rofi-wayland
|
||||
printf "${NOTE} Cloning rofi-wayland repository...\n"
|
||||
if git clone https://github.com/lbonn/rofi.git; then
|
||||
cd rofi || exit 1
|
||||
git pull origin master 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
printf "${NOTE} Cloning rofi repository...\n"
|
||||
if git clone https://github.com/lbonn/rofi.git; then
|
||||
cd rofi || exit 1
|
||||
else
|
||||
echo -e "${ERROR} Download failed for rofi-wayland." 2>&1 | tee -a "$LOG"
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${ERROR} Download failed for rofi-wayland." 2>&1 | tee -a "$LOG"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Proceed with the installation steps
|
||||
if meson setup build && ninja -C build; then
|
||||
if meson setup build && ninja -C build ; then
|
||||
if sudo ninja -C build install 2>&1 | tee -a "$MLOG"; then
|
||||
printf "${OK} rofi-wayland installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
@ -79,4 +84,3 @@ mv "$MLOG" ../Install-Logs/ || true
|
||||
cd .. || exit 1
|
||||
|
||||
clear
|
||||
|
||||
|
||||
@ -2,6 +2,10 @@
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# ASUS ROG ) #
|
||||
|
||||
asus=(
|
||||
power-profiles-daemon
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
@ -15,6 +19,18 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="install-$(date +%d-%H%M%S)_rog.log"
|
||||
|
||||
# Installing enhancemet
|
||||
for PKG1 in "${asus[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
printf " enabling power-profiles-daemon...\n"
|
||||
sudo systemctl enable power-profiles-daemon 2>&1 | tee -a "$LOG"
|
||||
|
||||
# Function to handle the installation and log messages
|
||||
install_and_log() {
|
||||
local project_name="$1"
|
||||
|
||||
@ -99,7 +99,7 @@ while [ "$valid_input" != true ]; do
|
||||
fi
|
||||
|
||||
sudo mv simple-sddm /usr/share/sddm/themes/
|
||||
echo -e "[Theme]\nCurrent=simple-sddm" | sudo tee "$sddm_conf_dir/10-theme.conf" &>> "$LOG"
|
||||
echo -e "[Theme]\nCurrent=simple-sddm" | sudo tee "$sddm_conf_dir/theme.conf.user" &>> "$LOG"
|
||||
else
|
||||
echo -e "\e[1A\e[K${ERROR} - Failed to clone the theme repository. Please check your internet connection or repository availability." | tee -a "$LOG" >&2
|
||||
fi
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# swappy - for screenshot) #
|
||||
|
||||
swappy=(
|
||||
liblocale-msgfmt-perl
|
||||
gettext
|
||||
libgtk-3-dev
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
@ -18,28 +24,47 @@ MLOG="install-$(date +%d-%H%M%S)_swappy.log"
|
||||
|
||||
printf "${NOTE} Installing swappy..\n"
|
||||
|
||||
# Check if swappy folder exists
|
||||
if [ -d "swappy" ]; then
|
||||
printf "${NOTE} swappy folder exists. Pulling latest changes...\n"
|
||||
cd swappy || exit 1
|
||||
git pull origin master 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
printf "${NOTE} Cloning swappy repository...\n"
|
||||
if git clone https://github.com/jtheoof/swappy.git; then
|
||||
cd swappy || exit 1
|
||||
else
|
||||
echo -e "${ERROR} Download failed for swappy" 2>&1 | tee -a "$LOG"
|
||||
for PKG1 in "${swappy[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
# Force reinstall above as seems its giving issue as swappy cant be build
|
||||
for PKG1 in "${swappy[@]}"; do
|
||||
sudo apt-get --reinstall install "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[1A\e[K${ERROR} - $PKG1 Package re-installation failed, Please check the installation logs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
printf "${NOTE} Installing swappy from source...\n"
|
||||
|
||||
# Check if folder exists and remove it
|
||||
if [ -d "swappy" ]; then
|
||||
printf "${NOTE} deleting existing swappy folder...\n"
|
||||
rm -rf "swappy"
|
||||
fi
|
||||
|
||||
# Proceed with the installation steps
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install 2>&1 | tee -a "$MLOG"
|
||||
|
||||
# Moving logs into main Install-Logs
|
||||
mv "$MLOG" ../Install-Logs/ || true
|
||||
cd - || exit 1
|
||||
# Clone and build swappy
|
||||
printf "${NOTE} Installing swappy...\n"
|
||||
if git clone --depth 1 https://github.com/jtheoof/swappy.git; then
|
||||
cd swappy || exit 1
|
||||
meson setup build
|
||||
ninja -C build
|
||||
if sudo ninja -C build install 2>&1 | tee -a "$MLOG" ; then
|
||||
printf "${OK} swappy installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "${ERROR} Installation failed for swappy." 2>&1 | tee -a "$MLOG"
|
||||
fi
|
||||
#moving the addional logs to Install-Logs directory
|
||||
mv $MLOG ../Install-Logs/ || true
|
||||
cd ..
|
||||
else
|
||||
echo -e "${ERROR} Download failed for swappy." 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
swww=(
|
||||
cargo
|
||||
liblz4-dev
|
||||
rustc
|
||||
)
|
||||
|
||||
#specific branch or release
|
||||
@ -35,6 +36,14 @@ for PKG1 in "${swww[@]}"; do
|
||||
fi
|
||||
done
|
||||
|
||||
printf "${NOTE} Force installing packages...\n"
|
||||
for FORCE in "${swww[@]}"; do
|
||||
sudo apt-get --reinstall install -y "$FORCE" 2>&1 | tee -a "$LOG"
|
||||
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE Package installation failed, Please check the installation logs"; exit 1; }
|
||||
done
|
||||
|
||||
printf "\n\n"
|
||||
|
||||
printf "${NOTE} Installing swww\n"
|
||||
|
||||
# Check if swww folder exists
|
||||
@ -44,7 +53,7 @@ if [ -d "swww" ]; then
|
||||
git pull origin main 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
printf "${NOTE} Cloning swww repository...\n"
|
||||
if git clone --recursive -b $swww_tag https://github.com/Horus645/swww.git; then
|
||||
if git clone --recursive https://github.com/Horus645/swww.git; then
|
||||
cd swww || exit 1
|
||||
else
|
||||
echo -e "${ERROR} Download failed for swww" 2>&1 | tee -a "$LOG"
|
||||
@ -52,14 +61,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# install new rust
|
||||
# Define environment variables for non-interactive installation
|
||||
export RUSTUP_INIT_SKIP_PATH_CHECK=yes
|
||||
export RUSTUP_INIT_SKIP_CONFIRMATION=yes
|
||||
|
||||
# Download and execute the Rust installer script, automatically answering "yes" to all prompts
|
||||
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path 2>&1 | tee -a "$LOG" || true
|
||||
|
||||
# Proceed with the rest of the installation steps
|
||||
source "$HOME/.cargo/env" || true
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ printf "${NOTE} Installing Thunar Packages...\n"
|
||||
done
|
||||
|
||||
# Check for existing configs and copy if does not exist
|
||||
for DIR1 in Thunar xfce4; do
|
||||
for DIR1 in gtk-3.0 Thunar xfce4; do
|
||||
DIRPATH=~/.config/$DIR1
|
||||
if [ -d "$DIRPATH" ]; then
|
||||
echo -e "${NOTE} Config for $DIR1 found, no need to copy." 2>&1 | tee -a "$LOG"
|
||||
|
||||
63
install-scripts/wallust.sh
Executable file
63
install-scripts/wallust.sh
Executable file
@ -0,0 +1,63 @@
|
||||
#!/bin/bash
|
||||
# 💫 https://github.com/JaKooLit 💫 #
|
||||
# wallust - pywal colors replacment #
|
||||
|
||||
depend=(
|
||||
librust-jpeg-decoder-dev
|
||||
cargo
|
||||
)
|
||||
|
||||
#specific branch or release
|
||||
wal_tag="dev"
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Change the working directory to the parent directory of the script
|
||||
PARENT_DIR="$SCRIPT_DIR/.."
|
||||
cd "$PARENT_DIR" || exit 1
|
||||
|
||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_wallust.log"
|
||||
MLOG="install-$(date +%d-%H%M%S)_wallust.log"
|
||||
|
||||
# Installing depencies
|
||||
for PKG1 in "${depend[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
##
|
||||
printf "${NOTE} Installing wallust from dev branch...\n"
|
||||
|
||||
# Check if folder exists and remove it
|
||||
if [ -d "wallust" ]; then
|
||||
printf "${NOTE} Removing existing wallust folder...\n"
|
||||
rm -rf "wallust"
|
||||
fi
|
||||
|
||||
# Clone and build wallust
|
||||
printf "${NOTE} Installing wallust...\n"
|
||||
if git clone --depth 1 -b $wal_tag https://codeberg.org/explosion-mental/wallust.git; then
|
||||
cd wallust || exit 1
|
||||
make
|
||||
if sudo make install 2>&1 | tee -a "$MLOG" ; then
|
||||
printf "${OK} wallust installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "${ERROR} Installation failed for wallust." 2>&1 | tee -a "$MLOG"
|
||||
fi
|
||||
#moving the addional logs to Install-Logs directory
|
||||
mv $MLOG ../Install-Logs/ || true
|
||||
cd ..
|
||||
else
|
||||
echo -e "${ERROR} Download failed for wallust." 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
zsh=(
|
||||
zsh
|
||||
zplug
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
|
||||
66
install.sh
66
install.sh
@ -10,13 +10,52 @@ fi
|
||||
|
||||
clear
|
||||
|
||||
# Function to display ASCII art
|
||||
display_hello() {
|
||||
cat << "EOF"
|
||||
_ _ _ _ __ __ _ _ _
|
||||
| | | | ___| | | ___ \ \ / /__ _ __| | __| | |
|
||||
| |_| |/ _ \ | |/ _ \ \ \ /\ / / _ \| '__| |/ _` | |
|
||||
| _ | __/ | | (_) | \ V V / (_) | | | | (_| |_|
|
||||
|_| |_|\___|_|_|\___( ) \_/\_/ \___/|_| |_|\__,_(_)
|
||||
|/
|
||||
EOF
|
||||
}
|
||||
|
||||
# Display ASCII art
|
||||
display_hello
|
||||
|
||||
# Loop until valid input is provided
|
||||
while true; do
|
||||
printf "${WARN} - Attention! Ubuntu-Hyprland have been moved into new repo!\n\n"
|
||||
read -p "${NOTE} - Please note that I have now moved to a newer install script. Would you like to exit and download the new script? (y/n): " initial_choice
|
||||
|
||||
# Check user input
|
||||
if [[ $initial_choice == "y" || $initial_choice == "Y" ]]; then
|
||||
echo "Exiting and downloading the new script..."
|
||||
cd
|
||||
git clone --depth 1 -b 24.04 https://github.com/JaKooLit/Ubuntu-Hyprland ~/Ubuntu-Hyprland-24.04
|
||||
cd Ubuntu-Hyprland-24.04
|
||||
chmod +x install.sh
|
||||
./install.sh
|
||||
exit 0
|
||||
break
|
||||
elif [[ $initial_choice == "n" || $initial_choice == "N" ]]; then
|
||||
echo "Continuing to install Ubuntu Hyprland using this script..."
|
||||
break
|
||||
else
|
||||
echo "Invalid choice. Please enter 'y' or 'n'."
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
printf "\n%.0s" {1..3}
|
||||
echo " | _. |/ _ _ | o _|_ "
|
||||
echo " \_| (_| o |\ (_) (_) |_ | |_ "
|
||||
printf "\n%.0s" {1..2}
|
||||
|
||||
# Welcome message
|
||||
echo "$(tput setaf 6)Welcome to JaKooLit's Debian / Ubuntu Hyprland Install Script!$(tput sgr0)"
|
||||
echo "$(tput setaf 6)Welcome to JaKooLit's Ubuntu 24.04 Hyprland Install Script!$(tput sgr0)"
|
||||
echo
|
||||
echo "$(tput setaf 166)ATTENTION: Run a full system update and Reboot first!! (Highly Recommended) $(tput sgr0)"
|
||||
echo
|
||||
@ -25,6 +64,16 @@ echo
|
||||
echo "$(tput setaf 3)NOTE: If you are installing on a VM, ensure to enable 3D acceleration else Hyprland wont start! $(tput sgr0)"
|
||||
echo
|
||||
|
||||
printf "\n%.0s" {1..4}
|
||||
echo "$(tput bold)$(tput setaf 3)ATTENTION!!!! VERY IMPORTANT NOTICE!!!! $(tput sgr0)"
|
||||
echo "$(tput bold)$(tput setaf 7)Latest Hyprland compatible with Ubuntu 24.04 is only up to v0.39.1 $(tput sgr0)"
|
||||
echo "$(tput bold)$(tput setaf 7)This was due to old version is wayland-protocols available in Ubuntu Repo $(tput sgr0)"
|
||||
echo "$(tput bold)$(tput setaf 7)Because of the above, the latest Hyprland-Dots compatible will only be v2.2.13 $(tput sgr0)"
|
||||
echo "$(tput bold)$(tput setaf 7)Newer dots may not be compatible.$(tput sgr0)"
|
||||
echo "$(tput bold)$(tput setaf 7)This would also mean that support for this project might slowdown$(tput sgr0)"
|
||||
echo "$(tput bold)$(tput setaf 7)Please be guided$(tput sgr0)"
|
||||
printf "\n%.0s" {1..3}
|
||||
|
||||
read -p "$(tput setaf 6)Would you like to proceed? (y/n): $(tput sgr0)" proceed
|
||||
|
||||
if [ "$proceed" != "y" ]; then
|
||||
@ -32,13 +81,6 @@ if [ "$proceed" != "y" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
read -p "$(tput setaf 6)Have you edited your /etc/apt/sources.list? [Debian only] (y/n): $(tput sgr0)" proceed2
|
||||
|
||||
if [ "$proceed2" != "y" ]; then
|
||||
echo "Installation aborted Kindly edit your sources.list first. Refer to readme."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create Directory for Install Logs
|
||||
if [ ! -d Install-Logs ]; then
|
||||
mkdir Install-Logs
|
||||
@ -157,12 +199,13 @@ sudo apt update
|
||||
# Install hyprland packages
|
||||
execute_script "00-dependencies.sh"
|
||||
execute_script "00-hypr-pkgs.sh"
|
||||
execute_script "imagemagick.sh"
|
||||
execute_script "fonts.sh"
|
||||
execute_script "swappy.sh"
|
||||
execute_script "swww.sh"
|
||||
execute_script "rofi-wayland.sh"
|
||||
execute_script "pywal.sh"
|
||||
execute_script "force-install.sh"
|
||||
execute_script "wallust.sh"
|
||||
execute_script "ags.sh"
|
||||
execute_script "hyprlang.sh"
|
||||
execute_script "hyprlock.sh"
|
||||
execute_script "hyprcursor.sh"
|
||||
@ -208,7 +251,8 @@ fi
|
||||
if [ "$rog" == "Y" ]; then
|
||||
execute_script "rog.sh"
|
||||
fi
|
||||
|
||||
# re-install rofi-wayland
|
||||
execute_script "rofi-wayland.sh"
|
||||
execute_script "InputGroup.sh"
|
||||
|
||||
if [ "$dots" == "Y" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user