Compare commits
157 Commits
Arch-Hyprl
...
Arch-Hyprl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a67a21a33 | ||
|
|
b6d982d168 | ||
|
|
1d812d7357 | ||
|
|
38ce478f5c | ||
|
|
527a504e83 | ||
|
|
a44b376e79 | ||
|
|
2e62542a35 | ||
|
|
5343041805 | ||
|
|
221870054e | ||
|
|
193977dcb6 | ||
|
|
c18526390d | ||
|
|
7b403cd72d | ||
|
|
9a6fce78ab | ||
|
|
0c8c829c57 | ||
|
|
2ed79c491a | ||
|
|
c1c5450c9b | ||
|
|
7eea1d7659 | ||
|
|
dac6c373c9 | ||
|
|
b9b437cb23 | ||
|
|
01a001f9a6 | ||
|
|
fc2df0f9a3 | ||
|
|
67d6c1524e | ||
|
|
e96da3ea4a | ||
|
|
b3a0055785 | ||
|
|
bd03f3eeeb | ||
|
|
68eef02324 | ||
|
|
6ab203a6d4 | ||
|
|
2fc7acf538 | ||
|
|
7a70f63f3e | ||
|
|
7d056ae6e4 | ||
|
|
4c09bdfad1 | ||
|
|
94bc08c1a4 | ||
|
|
71cc8ef641 | ||
|
|
5610bc9d30 | ||
|
|
e7fc2dc95a | ||
|
|
ced449539e | ||
|
|
79fbcc022b | ||
|
|
2f4790f04e | ||
|
|
ef7e427b7e | ||
|
|
fbe4560a4a | ||
|
|
4d783a270b | ||
|
|
e4c8763d6f | ||
|
|
b253c9f764 | ||
|
|
813b11dcab | ||
|
|
09fb19d8a3 | ||
|
|
3cab113056 | ||
|
|
a31f6a4716 | ||
|
|
3f2c9ac655 | ||
|
|
080c210d60 | ||
|
|
70604dc0a5 | ||
|
|
ac22f4e161 | ||
|
|
cbe3de92f5 | ||
|
|
e5c54b9145 | ||
|
|
170e36518a | ||
|
|
54b65e92b8 | ||
|
|
84a413c615 | ||
|
|
cea9183d2d | ||
|
|
8eef96db51 | ||
|
|
f99474f81f | ||
|
|
10a1e9142d | ||
|
|
b4bfd935d9 | ||
|
|
17b836ee2f | ||
|
|
54bc0d1499 | ||
|
|
0e876533c2 | ||
|
|
f096714637 | ||
|
|
38f24a43bb | ||
|
|
0ed0894c38 | ||
|
|
c0b198d562 | ||
|
|
99cc2c481b | ||
|
|
b16dffda4d | ||
|
|
04995241c4 | ||
|
|
44b58b3c65 | ||
|
|
eb033d3220 | ||
|
|
ba7dcc8523 | ||
|
|
bbc3094e3d | ||
|
|
8ad8784443 | ||
|
|
477545ac2e | ||
|
|
5f59d96640 | ||
|
|
4f7ff52523 | ||
|
|
16f3c44ec8 | ||
|
|
fb2866eed1 | ||
|
|
b47a5f7a9a | ||
|
|
8a452057cf | ||
|
|
9241cbf2c6 | ||
|
|
3318f33c31 | ||
|
|
267eda6dc4 | ||
|
|
48b57acbfd | ||
|
|
e25cbba2c6 | ||
|
|
38cb01047c | ||
|
|
6fe4514341 | ||
|
|
43ce92bb86 | ||
|
|
8a5705156e | ||
|
|
3ed441614e | ||
|
|
37f9b02292 | ||
|
|
f8a0c925c3 | ||
|
|
d0605b5afe | ||
|
|
39a97acf3b | ||
|
|
a177ed254f | ||
|
|
73938d8343 | ||
|
|
f82fcf966c | ||
|
|
f7bf5a4667 | ||
|
|
9ac06f2125 | ||
|
|
acce625ac7 | ||
|
|
a09c819cb6 | ||
|
|
c891da45d5 | ||
|
|
0b1be97f7b | ||
|
|
939444a27d | ||
|
|
ae4bc4a855 | ||
|
|
7ebfa06c3b | ||
|
|
6655cc12e6 | ||
|
|
3502766cd7 | ||
|
|
60c62bd122 | ||
|
|
611d8ba612 | ||
|
|
56d3cbb19b | ||
|
|
69e938e33c | ||
|
|
b0f2e59cd1 | ||
|
|
227ef1d75d | ||
|
|
165d8ff0bb | ||
|
|
0fdd31534f | ||
|
|
2ae238ace1 | ||
|
|
1f822e3d5f | ||
|
|
322ddee8e7 | ||
|
|
9615baf63e | ||
|
|
5add49ac89 | ||
|
|
86943a51b3 | ||
|
|
d24a9c4888 | ||
|
|
62e69cfd73 | ||
|
|
97992554b1 | ||
|
|
6120faaea5 | ||
|
|
f45f41d14a | ||
|
|
f214cf3c8d | ||
|
|
55f5819ae9 | ||
|
|
c15100db44 | ||
|
|
c429266320 | ||
|
|
3b6c7c3c73 | ||
|
|
4c56e4fbcc | ||
|
|
e3c10a7661 | ||
|
|
5fc5342a67 | ||
|
|
216008382e | ||
|
|
51f4bcfa26 | ||
|
|
6f2128a27a | ||
|
|
07824f1fab | ||
|
|
1d100b2ca9 | ||
|
|
8b01d91625 | ||
|
|
bd162bffd3 | ||
|
|
bc4a9b54f7 | ||
|
|
dc3dc39e12 | ||
|
|
03ca2d6494 | ||
|
|
eb62120deb | ||
|
|
340019c627 | ||
|
|
7a111e0284 | ||
|
|
6252e96186 | ||
|
|
92f595b6e4 | ||
|
|
37f09a8e7e | ||
|
|
ae859493b6 | ||
|
|
ae720c7299 | ||
|
|
84e32d5ea3 |
83
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
83
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: Something is not working right
|
||||||
|
title: "[Bug]: "
|
||||||
|
labels: ["bug"]
|
||||||
|
assignees:
|
||||||
|
- JaKooLit
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Already reported ? *
|
||||||
|
description: Before opening a new bug report, please take a moment to search through the current open and closed issues to check if it already exists.
|
||||||
|
options:
|
||||||
|
- label: I have searched the existing open and closed issues.
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: type
|
||||||
|
attributes:
|
||||||
|
label: Regression?
|
||||||
|
description: |
|
||||||
|
Regression means that something used to work but no longer does.
|
||||||
|
options:
|
||||||
|
- "Yes"
|
||||||
|
- "No"
|
||||||
|
- "Not sure"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: ver
|
||||||
|
attributes:
|
||||||
|
label: System Info and Version
|
||||||
|
description: |
|
||||||
|
Paste the output of `inxi --full` here.
|
||||||
|
install inxi if command not found.
|
||||||
|
value: "<details>
|
||||||
|
<summary>System/Version info</summary>
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
<Paste the output of the command here, without removing any formatting around this>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
</details>"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: dots
|
||||||
|
attributes:
|
||||||
|
label: KooL's Dots version
|
||||||
|
description: |
|
||||||
|
Paste the output of `find ~/.config/hypr/ -type f -name 'v*' -exec basename {} \;`
|
||||||
|
This is just KooL's Hyprland Dots version.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: desc
|
||||||
|
attributes:
|
||||||
|
label: Description
|
||||||
|
description: "What went wrong? What exactly happened?"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: repro
|
||||||
|
attributes:
|
||||||
|
label: How to reproduce
|
||||||
|
description: "How can someone else reproduce the issue?"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: install logs, images or videos
|
||||||
|
description: |
|
||||||
|
Anything that can help. Please always ATTACH and not paste them.
|
||||||
46
.github/ISSUE_TEMPLATE/bug_report.md
vendored
46
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,46 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: "[Bug]: Short description of the issue"
|
|
||||||
labels: "Something isn't working"
|
|
||||||
---
|
|
||||||
|
|
||||||
## Bug Report
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
[Provide a clear and concise description of the bug.]
|
|
||||||
|
|
||||||
### Steps to Reproduce
|
|
||||||
|
|
||||||
1. [First Step]
|
|
||||||
2. [Second Step]
|
|
||||||
3. [and so on...]
|
|
||||||
|
|
||||||
### Expected Behavior
|
|
||||||
|
|
||||||
[What did you expect to happen?]
|
|
||||||
|
|
||||||
### Actual Behavior
|
|
||||||
|
|
||||||
[What actually happened?]
|
|
||||||
|
|
||||||
### Screenshots
|
|
||||||
|
|
||||||
[If applicable, add screenshots to help explain your problem.]
|
|
||||||
|
|
||||||
### Environment
|
|
||||||
|
|
||||||
[Please add any other relevant information about the bug and remove the unnecessary lines.]
|
|
||||||
|
|
||||||
e.g.,
|
|
||||||
|
|
||||||
- Linux Distro: [e.g., ArchLinux, EndeavourOS, Arco, Manjaro]
|
|
||||||
- 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
|
|
||||||
|
|
||||||
[Add any other information about the problem here. For example, you might include the error message, any recent changes that you made to the project, or any other relevant details.]
|
|
||||||
38
.github/ISSUE_TEMPLATE/custom.md
vendored
38
.github/ISSUE_TEMPLATE/custom.md
vendored
@@ -1,38 +0,0 @@
|
|||||||
---
|
|
||||||
name: Custom template
|
|
||||||
about: Use this template to submit a custom issue
|
|
||||||
title: "[Custom]: Short description of the issue"
|
|
||||||
labels: "custom"
|
|
||||||
---
|
|
||||||
|
|
||||||
## Custom Template
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
[Provide a clear and concise description of the issue or request.]
|
|
||||||
|
|
||||||
### Steps to Reproduce (if applicable)
|
|
||||||
|
|
||||||
1. [First Step]
|
|
||||||
2. [Second Step]
|
|
||||||
3. [and so on...]
|
|
||||||
|
|
||||||
### Expected Behavior
|
|
||||||
|
|
||||||
[What did you expect to happen?]
|
|
||||||
|
|
||||||
### Actual Behavior
|
|
||||||
|
|
||||||
[What actually happened?]
|
|
||||||
|
|
||||||
### Screenshots (if applicable)
|
|
||||||
|
|
||||||
[If applicable, add screenshots to help explain your problem.]
|
|
||||||
|
|
||||||
### Proposed Solution (if applicable)
|
|
||||||
|
|
||||||
[If you have a specific solution in mind, describe it here. If not, you can skip this section.]
|
|
||||||
|
|
||||||
### 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.]
|
|
||||||
30
.github/ISSUE_TEMPLATE/documentation-update.yml
vendored
Normal file
30
.github/ISSUE_TEMPLATE/documentation-update.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Documentation update
|
||||||
|
description: Propose a change to the project documentation wiki
|
||||||
|
title: "[Documentation update]: "
|
||||||
|
labels: ["documentation_update"]
|
||||||
|
assignees:
|
||||||
|
- JaKooLit
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: textarea
|
||||||
|
id: desc
|
||||||
|
attributes:
|
||||||
|
label: Description
|
||||||
|
description: "Provide a clear and concise description of the documentation update"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: repro
|
||||||
|
attributes:
|
||||||
|
label: Proposed Solution
|
||||||
|
description: "Provide a clear and concise description of the updated documentation that you'd like to see added"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: install links, images or videos
|
||||||
|
description: |
|
||||||
|
Add any other information about the documentation update here. For example, you might include links to similar documentation in other projects, or screenshots or diagrams to help explain your idea
|
||||||
24
.github/ISSUE_TEMPLATE/documentation_update.md
vendored
24
.github/ISSUE_TEMPLATE/documentation_update.md
vendored
@@ -1,24 +0,0 @@
|
|||||||
---
|
|
||||||
name: Documentation update
|
|
||||||
about: Propose a change to the project documentation
|
|
||||||
title: "[Docs]: Short description of the change"
|
|
||||||
labels: "documentation update"
|
|
||||||
---
|
|
||||||
|
|
||||||
## Documentation Update
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
[Provide a clear and concise description of the documentation update you'd like to see made.]
|
|
||||||
|
|
||||||
### Current Documentation
|
|
||||||
|
|
||||||
[Provide a link to the current documentation or describe where it can be found.]
|
|
||||||
|
|
||||||
### Proposed Documentation
|
|
||||||
|
|
||||||
[Provide a clear and concise description of the updated documentation that you'd like to see added.]
|
|
||||||
|
|
||||||
### Additional Information
|
|
||||||
|
|
||||||
[Add any other information about the documentation update here. For example, you might include links to similar documentation in other projects, or screenshots or diagrams to help explain your idea.]
|
|
||||||
38
.github/ISSUE_TEMPLATE/feature.yml
vendored
Normal file
38
.github/ISSUE_TEMPLATE/feature.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
name: Feature Request
|
||||||
|
description: I'd like to propose some changes and enhancements
|
||||||
|
title: "[Enhancement]: "
|
||||||
|
labels: ["enhancement"]
|
||||||
|
assignees:
|
||||||
|
- JaKooLit
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Already reported ? *
|
||||||
|
description: Before opening a new feature request, please take a moment to search through the current open and closed issues / request to check if it already exists.
|
||||||
|
options:
|
||||||
|
- label: I have searched the existing open and closed request.
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: desc
|
||||||
|
attributes:
|
||||||
|
label: Description
|
||||||
|
description: "Describe your idea?"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: repro
|
||||||
|
attributes:
|
||||||
|
label: Proposed Solution
|
||||||
|
description: "describe if you have a specific solution in mind"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
28
.github/ISSUE_TEMPLATE/feature_request.md
vendored
28
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest a feature for this project
|
|
||||||
title: "[Feature Request]: Short description of the feature"
|
|
||||||
labels: "enhancement, needs triage, feature request"
|
|
||||||
---
|
|
||||||
|
|
||||||
## Feature Request
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
[Provide a clear and concise description of the feature you'd like to see added.]
|
|
||||||
|
|
||||||
### Use Case
|
|
||||||
|
|
||||||
[Describe how this feature would be useful to you or to other users of the project.]
|
|
||||||
|
|
||||||
### Proposed Solution
|
|
||||||
|
|
||||||
[If you have a specific solution in mind, describe it here. If not, you can skip this section.]
|
|
||||||
|
|
||||||
### Alternatives
|
|
||||||
|
|
||||||
[Are there any alternative solutions or workarounds that you've considered? If so, describe them here.]
|
|
||||||
|
|
||||||
### Additional Information
|
|
||||||
|
|
||||||
[Add any other information about the feature request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]
|
|
||||||
@@ -1,5 +1,95 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
|
## 01 Fed 2025
|
||||||
|
- added a small scripts in the assets directory to install git and non-git version of hyprland (instruction on the readme)
|
||||||
|
|
||||||
|
## 30 Jan 2025
|
||||||
|
- separate AGS v1 installation separate
|
||||||
|
|
||||||
|
## 29 Jan 2025
|
||||||
|
- enhanced nvidia.sh to add additional systemd-bootloader entries for nvidia
|
||||||
|
|
||||||
|
## 16 Jan 2025
|
||||||
|
- updated nvidia.sh to install non-git libva-nvidia-driver
|
||||||
|
|
||||||
|
## 13 Jan 2025
|
||||||
|
- replaced polkit-gnome with hyprpolkitagent
|
||||||
|
|
||||||
|
## 12 Jan 2025
|
||||||
|
- switch to final version of aylurs-gtk-shell-v1
|
||||||
|
|
||||||
|
## 11 Jan 2025
|
||||||
|
- added cachyos-hyprland-settings to uninstall
|
||||||
|
|
||||||
|
## 06 Jan 2025
|
||||||
|
- added copying of modified fastfetch-compact for Arch
|
||||||
|
- default theme for oh my zsh theme is now "funky"
|
||||||
|
|
||||||
|
## 26 Dec 2024
|
||||||
|
- Removal of Bibata Ice cursor on assets since its integrated in the GTK Themes and Icons extract from a separate repo
|
||||||
|
- integrated hyprcursor in Bibata Ice Cursor
|
||||||
|
|
||||||
|
## 15 Nov 2024
|
||||||
|
- revert Aylurs GTK Shell (AGS) to install older version
|
||||||
|
- added aylurs-gtk-shell to uninstall
|
||||||
|
|
||||||
|
## 20 Sep 2024
|
||||||
|
- User will be ask if they want to set Thunar as default file manager if they decided to install it
|
||||||
|
|
||||||
|
## 19 Sep 2024
|
||||||
|
- Added fastfetch on tty. However, will be disabled if user decided to install pokemon colorscripts
|
||||||
|
|
||||||
|
## 18 Sep 2024
|
||||||
|
- dotfiles will now be downloaded from main or master branch instead of from the releases version.
|
||||||
|
|
||||||
|
## 14 Sep 2024
|
||||||
|
- remove the final error checks instead, introduced a final check of essential packages to ran Hyprland
|
||||||
|
|
||||||
|
## 08 Sep 2024
|
||||||
|
- Added final error checks on install-logs
|
||||||
|
|
||||||
|
## 07 Sep 2024
|
||||||
|
- added pulseaudio check
|
||||||
|
- added sof-firmware
|
||||||
|
|
||||||
|
## 29 Aug 2024
|
||||||
|
- switched over to non-git wallust package
|
||||||
|
- improved indentions on some install scripts
|
||||||
|
|
||||||
|
## 28 Aug 2024
|
||||||
|
- Added final check if hyprland is installed and will give an error to user
|
||||||
|
|
||||||
|
## 26 Aug 2024
|
||||||
|
- Set to uninstall rofi as conflicts with rofi-wayland
|
||||||
|
- added nvidia_drm.fbdev=1 for grub
|
||||||
|
|
||||||
|
## 14 Aug 2024
|
||||||
|
- added archlinux-keyring on base.sh
|
||||||
|
|
||||||
|
## 08 Aug 2024
|
||||||
|
- Increased to 1 sec delay for installing base-devel [commit](https://github.com/JaKooLit/Arch-Hyprland/commit/7ebfa06c3b186f9bec0bcf268fae401ba67dfc2a)
|
||||||
|
|
||||||
|
## 07 Jul 2024
|
||||||
|
- added eza (ls replacement for tty). Note only on .zshrc
|
||||||
|
|
||||||
|
## 25 Jun 2024
|
||||||
|
- added fbdev=1 for nvidia.sh on `/etc/modprobe.d/nvidia.conf`. see here `https://wiki.hyprland.org/Nvidia/#drm-kernel-mode-setting`
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
- added fastfetch
|
||||||
|
|
||||||
|
## 22 May 2024
|
||||||
|
- nwg-look is now in extra repo so replaced with nwg-look from nwg-look-bin
|
||||||
|
- 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
|
## 10 May 2024
|
||||||
- added wallust-git and remove python-pywal for migration to wallust on Hyprland-Dots v2.2.11
|
- added wallust-git and remove python-pywal for migration to wallust on Hyprland-Dots v2.2.11
|
||||||
|
|
||||||
|
|||||||
128
CODE_OF_CONDUCT.md
Normal file
128
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
# Contributor Covenant Code of Conduct
|
||||||
|
|
||||||
|
## Our Pledge
|
||||||
|
|
||||||
|
We as members, contributors, and leaders pledge to make participation in our
|
||||||
|
community a harassment-free experience for everyone, regardless of age, body
|
||||||
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||||
|
identity and expression, level of experience, education, socio-economic status,
|
||||||
|
nationality, personal appearance, race, religion, or sexual identity
|
||||||
|
and orientation.
|
||||||
|
|
||||||
|
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||||
|
diverse, inclusive, and healthy community.
|
||||||
|
|
||||||
|
## Our Standards
|
||||||
|
|
||||||
|
Examples of behavior that contributes to a positive environment for our
|
||||||
|
community include:
|
||||||
|
|
||||||
|
* Demonstrating empathy and kindness toward other people
|
||||||
|
* Being respectful of differing opinions, viewpoints, and experiences
|
||||||
|
* Giving and gracefully accepting constructive feedback
|
||||||
|
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||||
|
and learning from the experience
|
||||||
|
* Focusing on what is best not just for us as individuals, but for the
|
||||||
|
overall community
|
||||||
|
|
||||||
|
Examples of unacceptable behavior include:
|
||||||
|
|
||||||
|
* The use of sexualized language or imagery, and sexual attention or
|
||||||
|
advances of any kind
|
||||||
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||||
|
* Public or private harassment
|
||||||
|
* Publishing others' private information, such as a physical or email
|
||||||
|
address, without their explicit permission
|
||||||
|
* Other conduct which could reasonably be considered inappropriate in a
|
||||||
|
professional setting
|
||||||
|
|
||||||
|
## Enforcement Responsibilities
|
||||||
|
|
||||||
|
Community leaders are responsible for clarifying and enforcing our standards of
|
||||||
|
acceptable behavior and will take appropriate and fair corrective action in
|
||||||
|
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||||
|
or harmful.
|
||||||
|
|
||||||
|
Community leaders have the right and responsibility to remove, edit, or reject
|
||||||
|
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||||
|
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||||
|
decisions when appropriate.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
This Code of Conduct applies within all community spaces, and also applies when
|
||||||
|
an individual is officially representing the community in public spaces.
|
||||||
|
Examples of representing our community include using an official e-mail address,
|
||||||
|
posting via an official social media account, or acting as an appointed
|
||||||
|
representative at an online or offline event.
|
||||||
|
|
||||||
|
## Enforcement
|
||||||
|
|
||||||
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
|
reported to the community leaders responsible for enforcement at
|
||||||
|
mail[at]ml4w.com.
|
||||||
|
All complaints will be reviewed and investigated promptly and fairly.
|
||||||
|
|
||||||
|
All community leaders are obligated to respect the privacy and security of the
|
||||||
|
reporter of any incident.
|
||||||
|
|
||||||
|
## Enforcement Guidelines
|
||||||
|
|
||||||
|
Community leaders will follow these Community Impact Guidelines in determining
|
||||||
|
the consequences for any action they deem in violation of this Code of Conduct:
|
||||||
|
|
||||||
|
### 1. Correction
|
||||||
|
|
||||||
|
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||||
|
unprofessional or unwelcome in the community.
|
||||||
|
|
||||||
|
**Consequence**: A private, written warning from community leaders, providing
|
||||||
|
clarity around the nature of the violation and an explanation of why the
|
||||||
|
behavior was inappropriate. A public apology may be requested.
|
||||||
|
|
||||||
|
### 2. Warning
|
||||||
|
|
||||||
|
**Community Impact**: A violation through a single incident or series
|
||||||
|
of actions.
|
||||||
|
|
||||||
|
**Consequence**: A warning with consequences for continued behavior. No
|
||||||
|
interaction with the people involved, including unsolicited interaction with
|
||||||
|
those enforcing the Code of Conduct, for a specified period of time. This
|
||||||
|
includes avoiding interactions in community spaces as well as external channels
|
||||||
|
like social media. Violating these terms may lead to a temporary or
|
||||||
|
permanent ban.
|
||||||
|
|
||||||
|
### 3. Temporary Ban
|
||||||
|
|
||||||
|
**Community Impact**: A serious violation of community standards, including
|
||||||
|
sustained inappropriate behavior.
|
||||||
|
|
||||||
|
**Consequence**: A temporary ban from any sort of interaction or public
|
||||||
|
communication with the community for a specified period of time. No public or
|
||||||
|
private interaction with the people involved, including unsolicited interaction
|
||||||
|
with those enforcing the Code of Conduct, is allowed during this period.
|
||||||
|
Violating these terms may lead to a permanent ban.
|
||||||
|
|
||||||
|
### 4. Permanent Ban
|
||||||
|
|
||||||
|
**Community Impact**: Demonstrating a pattern of violation of community
|
||||||
|
standards, including sustained inappropriate behavior, harassment of an
|
||||||
|
individual, or aggression toward or disparagement of classes of individuals.
|
||||||
|
|
||||||
|
**Consequence**: A permanent ban from any sort of public interaction within
|
||||||
|
the community.
|
||||||
|
|
||||||
|
## Attribution
|
||||||
|
|
||||||
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||||
|
version 2.0, available at
|
||||||
|
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||||
|
|
||||||
|
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||||
|
enforcement ladder](https://github.com/mozilla/diversity).
|
||||||
|
|
||||||
|
[homepage]: https://www.contributor-covenant.org
|
||||||
|
|
||||||
|
For answers to common questions about this code of conduct, see the FAQ at
|
||||||
|
https://www.contributor-covenant.org/faq. Translations are available at
|
||||||
|
https://www.contributor-covenant.org/translations.
|
||||||
BIN
Installer.png
BIN
Installer.png
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.2 MiB |
133
README.md
133
README.md
@@ -1,21 +1,62 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
## 💌 ** JaKooLit's Arch Hyprland Install Script ** 💌
|
# 💌 ** KooL's Arch - Hyprland Install Script ** 💌
|
||||||
|
|
||||||
  
|
<p align="center">
|
||||||
|
<img src="https://raw.githubusercontent.com/JaKooLit/Hyprland-Dots/main/assets/latte.png" width="400" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
   <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/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
#### Hyprland-Dots-showcase
|
<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>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img src="https://raw.githubusercontent.com/JaKooLit/Hyprland-Dots/main/assets/latte.png" width="200" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
https://github.com/JaKooLit/Arch-Hyprland/assets/85185940/84e3948f-edbf-45b8-9e3f-1f6699e3830a
|
<p align="center">
|
||||||
|
<img src="https://raw.githubusercontent.com/JaKooLit/Hyprland-Dots/main/assets/latte.png" width="200" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<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/user-attachments/assets/49bc12b2-abaf-45de-a21c-67aacd9bb872
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
### Gallery and Videos
|
### Gallery and Videos
|
||||||
|
|
||||||
|
- latest Ksk royal's [youtube video](https://youtu.be/lR7EtbVYWuc?si=eNHVSbStKS1eNVly) installation
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
📷 Screenshots
|
📷 Screenshots
|
||||||
@@ -43,7 +84,7 @@ https://github.com/JaKooLit/Arch-Hyprland/assets/85185940/84e3948f-edbf-45b8-9e3
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
### 🪧🪧🪧 ANNOUNCEMENT 🪧🪧🪧
|
### 🪧🪧🪧 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)
|
- 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
|
- 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 wallpaper offered to be downloaded towards the end is from this [`REPO`](https://github.com/JaKooLit/Wallpaper-Bank)
|
||||||
@@ -54,7 +95,7 @@ https://github.com/JaKooLit/Arch-Hyprland/assets/85185940/84e3948f-edbf-45b8-9e3
|
|||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Main reason why I have not included an uninstallation script is simple. Some packages maybe already installed on your system by default. If I create an uninstall script with packages that I have set to install, you may end up a unrecoverable system.
|
> Main reason why I have not included an uninstallation script is simple. Some packages maybe already installed on your system by default. If I create an uninstall script with packages that I have set to install, you may end up a unrecoverable system.
|
||||||
|
|
||||||
> [!WARNING]
|
> [!CAUTION]
|
||||||
> Download this script on a directory where you have write permissions. ie. HOME. Or any directory within your home directory. Else script will fail
|
> Download this script on a directory where you have write permissions. ie. HOME. Or any directory within your home directory. Else script will fail
|
||||||
|
|
||||||
#### 🆕 Prerequisites
|
#### 🆕 Prerequisites
|
||||||
@@ -62,24 +103,29 @@ https://github.com/JaKooLit/Arch-Hyprland/assets/85185940/84e3948f-edbf-45b8-9e3
|
|||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> 🔘 Pipewire and Pipewire audio
|
> 🔘 Pipewire and Pipewire audio
|
||||||
- This script will install pipewire and will also disable or will uninstall pulseaudio. If you dont want it, edit install.sh, about line 191 and comment the line `execute_script "pipewire.sh"` or you can simply just delete pipewire.sh in install-scripts folder before installing.
|
- This script will install pipewire and will also disable or will uninstall pulseaudio. If you dont want it, edit install.sh, about line 191 and comment the line `execute_script "pipewire.sh"` or you can simply just delete pipewire.sh in install-scripts directory before installing.
|
||||||
|
|
||||||
#### ✨ Costumize the packages to be installed
|
#### ✨ Customize the packages to be installed
|
||||||
- inside the install-scripts folder, you can edit 00-hypr-pkgs.sh. Care though as the Hyprland Dots may not work properly!
|
- inside the install-scripts directory, you can edit 00-hypr-pkgs.sh. 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
|
|
||||||
|
|
||||||
#### 💫 SDDM and GTK Themes offered
|
#### 💫 SDDM and GTK Themes offered
|
||||||
- If you opted to install SDDM theme, here's the [`LINK`](https://github.com/JaKooLit/simple-sddm-2)
|
- If you opted to install SDDM theme, here's the [`LINK`](https://github.com/JaKooLit/simple-sddm-2)
|
||||||
- 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). This also includes Bibata Modern Ice cursor.
|
||||||
|
|
||||||
#### 👀 NVidia GPU Owners.
|
#### 👀 NVidia GPU Owners.
|
||||||
- By default, nvidia-dkms will be installed. and only supports GTX 900 and newer. If required to install older driver, edit the nvidia.sh in scripts-folder
|
- By default, nvidia-dkms will be installed. and only supports GTX 900 and newer. If required to install older driver, edit the nvidia.sh in install-scripts directory
|
||||||
> [!IMPORTANT]
|
> [!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.
|
> 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.
|
||||||
- After installation, check [`THIS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Notes_to_remember#--for-nvidia-gpu-users)
|
- After installation, check [`THIS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Notes_to_remember#--for-nvidia-gpu-users)
|
||||||
|
|
||||||
#### ✨ to run
|
## ✨ to use this script
|
||||||
> clone this repo (latest commit only) to reduce file size download by using git. Change directory, make executable and run the script
|
> clone this repo (latest commit only) to reduce file size download by using git. Change directory, make executable and run the script
|
||||||
|
|
||||||
|
>[!IMPORTANT]
|
||||||
|
> Make sure you have base-devel installed
|
||||||
|
|
||||||
|
- Without base-devel installed, script will fail
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone --depth=1 https://github.com/JaKooLit/Arch-Hyprland.git ~/Arch-Hyprland
|
git clone --depth=1 https://github.com/JaKooLit/Arch-Hyprland.git ~/Arch-Hyprland
|
||||||
cd ~/Arch-Hyprland
|
cd ~/Arch-Hyprland
|
||||||
@@ -98,8 +144,9 @@ zsh
|
|||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
```
|
```
|
||||||
- reboot or logout
|
- reboot or logout
|
||||||
- by default agnoster theme is installed. You can find more themes from this [`OH-MY-ZSH-THEMES`](https://github.com/ohmyzsh/ohmyzsh/wiki/Themes)
|
- by default `funky` theme is installed. You can find more themes from this [`OH-MY-ZSH-THEMES`](https://github.com/ohmyzsh/ohmyzsh/wiki/Themes)
|
||||||
- to change the theme, edit ~/.zshrc . Look for ZSH_THEME="desired theme"
|
- to change the theme, `SUPER SHIFT O` , choose desired theme, and close and open terminal.
|
||||||
|
- or manually edit `~/.zshrc` . Look for ZSH_THEME="desired theme"
|
||||||
|
|
||||||
#### ✨ TO DO once installation done and dotfiles copied
|
#### ✨ TO DO once installation done and dotfiles copied
|
||||||
- ~~if you opted to install gtk themes, to apply the theme and icon, press the dark/light button (beside the padlock). To apply Bibata modern ice cursor, launch nwg-look (GTK Settings) through rofi.~~ Hyprland-Dots v2.1.18, initial boot file will attempt to apply GTK themes,cursor, and icons. You can tweak more using nwg-look (GTK-Settings) utility
|
- ~~if you opted to install gtk themes, to apply the theme and icon, press the dark/light button (beside the padlock). To apply Bibata modern ice cursor, launch nwg-look (GTK Settings) through rofi.~~ Hyprland-Dots v2.1.18, initial boot file will attempt to apply GTK themes,cursor, and icons. You can tweak more using nwg-look (GTK-Settings) utility
|
||||||
@@ -107,22 +154,35 @@ source ~/.zshrc
|
|||||||
- SUPER H for HINT or click on the waybar HINT! Button
|
- SUPER H for HINT or click on the waybar HINT! Button
|
||||||
- Head over to [FAQ](https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ) and [TIPS](https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS)
|
- Head over to [FAQ](https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ) and [TIPS](https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS)
|
||||||
|
|
||||||
|
|
||||||
#### 🙋 Got a questions regarding the Hyprland Dots or configurations? 🙋
|
#### 🙋 Got a questions regarding the Hyprland Dots or configurations? 🙋
|
||||||
- Head over to wiki Link [`WIKI`](https://github.com/JaKooLit/Hyprland-Dots/wiki)
|
- Head over to wiki Link [`WIKI`](https://github.com/JaKooLit/Hyprland-Dots/wiki)
|
||||||
|
|
||||||
|
#### ⌨ Keybinds
|
||||||
|
- Keybinds [`CLICK`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Keybinds)
|
||||||
|
> [!TIP]
|
||||||
|
> KooL's Dots v2.3.7 has a searchable keybind function via rofi. (SUPER SHIFT K) or right click the `HINTS` waybar button
|
||||||
|
|
||||||
#### 🙋 👋 Having issues or questions?
|
#### 🙋 👋 Having issues or questions?
|
||||||
- for the install part, kindly open issue on this repo
|
- 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)
|
- 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
|
#### 🔧 Proper way to re-installing a particular script from install-scripts directory
|
||||||
- CD into Arch-Hyprland Folder and then ran the below command.
|
- CD into Arch-Hyprland directory and then ran the below command.
|
||||||
- i.e. `./install-scripts/gtk-themes` - For reinstall GTK Themes.
|
- 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
|
||||||
|
|
||||||
|
#### 🎞️ AGS Overview DEMO
|
||||||
|
- in case you wonder, here is a short demo of AGS overview [Youtube LINK](https://youtu.be/zY5SLNPBJTs)
|
||||||
|
|
||||||
#### 🛣️ Roadmap:
|
#### 🛣️ Roadmap:
|
||||||
- ~~[ ] Install zsh and oh-my-zsh without necessary steps above~~ DONE
|
- ~~[ ] Install zsh and oh-my-zsh without necessary steps above~~ DONE
|
||||||
- [ ] possibly adding gruvbox themes, cursors, icons
|
- [ ] possibly adding gruvbox themes, cursors, icons
|
||||||
|
|
||||||
#### ⚠️ some known issues
|
#### ❗ some known issues for nvidia
|
||||||
- reports from members of my discord, states that some users of nvidia are getting stuck on sddm login. credit to @Kenni Fix stated was
|
- reports from members of my discord, states that some users of nvidia are getting stuck on sddm login. credit to @Kenni Fix stated was
|
||||||
```
|
```
|
||||||
while in sddm press ctrl+alt+F2 or F3
|
while in sddm press ctrl+alt+F2 or F3
|
||||||
@@ -132,21 +192,50 @@ log into your account
|
|||||||
`ls -l /dev/dri/by-path` to check where the symlink points to
|
`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)
|
- 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)
|
||||||
|
|
||||||
|
|
||||||
- installing of cava-git on a newly installed Arch makes the install keep hanging. Switched back to cava. After booting and logged in, if cava dont work, replace it cava-git `yay -S cava-git` or `paru -S cava-git`
|
- 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
|
||||||
|
- [ ] If you are using this script on an Arch-Based distros like Arco linux, or cachy OS or EOS or Manjaro, make sure to install pipewire, pipewire-pulse & pipewire-audio first. Arco Linux, on some of their ISO's still shipped with pulseaudio as audio backend. You will experience getting "stuck" on installation.
|
||||||
|
- [ ] To install pipewire and its services , `sudo pacman -S pipewire wireplumber pipewire-audio pipewire-pulse` . When prompted, remove / replace pulseaudio. After that, you can ran `./install.sh`
|
||||||
|
- [ ] installing of cava-git on a newly installed Arch makes the install keep hanging. Switched back to cava. After booting and logged in, if cava dont work, replace it cava-git `yay -S cava-git` or `paru -S cava-git`
|
||||||
|
> [!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 pacman -Rns rofi` . Install rofi-wayland with `sudo pacman -S rofi-wayland`. Rofi-wayland is compatible with x11 so no need to worry.
|
||||||
|
|
||||||
|
|
||||||
#### 🫥 Improving performance for Older Nvidia Cards using driver 470
|
#### 🫥 Improving performance for Older Nvidia Cards using driver 470
|
||||||
- [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205)
|
- [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205)
|
||||||
|
|
||||||
|
|
||||||
|
#### ➕ Added Hyprland install either git or non-git version
|
||||||
|
- on assets directory of Arch-Hyprland, you will find install scripts to assist in switching non-git and git version of hyprland
|
||||||
|
- pretty straight forward `chmod +x actions.sh` `./actions.sh` and `1 for non-git` and `2 for git version`
|
||||||
|
|
||||||
|
|
||||||
#### 📒 Final Notes
|
#### 📒 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 :)
|
- 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!
|
#### 👍👍👍 Thanks and Credits!
|
||||||
- [`Hyprland`](https://hyprland.org/) Of course to Hyprland and @vaxerski for this awesome Dynamic Tiling Manager.
|
- [`Hyprland`](https://hyprland.org/) Of course to Hyprland and @vaxerski for this awesome Dynamic Tiling Manager.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
#if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||||
Hyprland
|
# Hyprland
|
||||||
fi
|
#fi
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
ZSH_THEME="xiong-chiamiov-plus"
|
ZSH_THEME="funky"
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
@@ -17,22 +17,22 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
# Check archlinux plugin commands here
|
# Check archlinux plugin commands here
|
||||||
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux
|
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux
|
||||||
|
|
||||||
|
|
||||||
# Display Pokemon-colorscripts
|
# Display Pokemon-colorscripts
|
||||||
# Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos
|
# Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos
|
||||||
#pokemon-colorscripts --no-title -s -r
|
#pokemon-colorscripts --no-title -s -r
|
||||||
|
|
||||||
|
# fastfetch. Will be disabled if above colorscript was chosen to install
|
||||||
|
fastfetch -c $HOME/.config/fastfetch/config-compact.jsonc
|
||||||
|
|
||||||
### From this line is for pywal-colors
|
# Set-up icons for files/folders in terminal
|
||||||
# Import colorscheme from 'wal' asynchronously
|
alias ls='eza -a --icons'
|
||||||
# & # Run the process in the background.
|
alias ll='eza -al --icons'
|
||||||
# ( ) # Hide shell job control messages.
|
alias lt='eza -a --tree --level=1 --icons'
|
||||||
# Not supported in the "fish" shell.
|
|
||||||
#(cat ~/.cache/wal/sequences &)
|
|
||||||
|
|
||||||
# Alternative (blocks terminal for 0-3ms)
|
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
|
||||||
#cat ~/.cache/wal/sequences
|
source <(fzf --zsh)
|
||||||
|
|
||||||
# To add support for TTYs this line can be optionally added.
|
|
||||||
#source ~/.cache/wal/colors-tty.sh
|
|
||||||
|
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
setopt appendhistory
|
||||||
|
|||||||
Binary file not shown.
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" "")
|
||||||
BIN
assets/fastfetch/arch.png
Normal file
BIN
assets/fastfetch/arch.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
75
assets/fastfetch/config-compact.jsonc
Normal file
75
assets/fastfetch/config-compact.jsonc
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
"source": "~/.config/fastfetch/arch.png",
|
||||||
|
"type": "kitty-direct",
|
||||||
|
"height": 10,
|
||||||
|
"width": 20,
|
||||||
|
"padding": {
|
||||||
|
"top": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"separator": " -> "
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"break",
|
||||||
|
{
|
||||||
|
"type": "title",
|
||||||
|
"keyWidth": 10,
|
||||||
|
"format": " {6}{7}{8}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": " ─────────────────────────── "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wm",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminal",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "blue"
|
||||||
|
},
|
||||||
|
/*
|
||||||
|
{
|
||||||
|
"type": "packages",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
*/
|
||||||
|
{
|
||||||
|
"type": "memory",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "magenta",
|
||||||
|
// format: used / total
|
||||||
|
"format": "{1} / {2}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "uptime",
|
||||||
|
"key": " ",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": " ─────────────────────────── "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[90m "
|
||||||
|
},
|
||||||
|
"break",
|
||||||
|
]
|
||||||
|
}
|
||||||
112
assets/fastfetch/config-v2.jsonc
Normal file
112
assets/fastfetch/config-v2.jsonc
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
//"source": "~/.config/fastfetch/nixos.png",
|
||||||
|
//"type": "kitty-direct",
|
||||||
|
"height": 15,
|
||||||
|
"width": 30,
|
||||||
|
"padding": {
|
||||||
|
"top": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"separator": " ➜ "
|
||||||
|
},
|
||||||
|
|
||||||
|
"modules": [
|
||||||
|
"break",
|
||||||
|
{
|
||||||
|
"type": "os",
|
||||||
|
"key": " DISTRO",
|
||||||
|
"keyColor": "31",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "31",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "packages",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "31",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"key": " └ ",
|
||||||
|
"keyColor": "31",
|
||||||
|
},
|
||||||
|
"break",
|
||||||
|
{
|
||||||
|
"type": "wm",
|
||||||
|
"key": " DE/WM",
|
||||||
|
"keyColor": "32",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wmtheme",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "32",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "icons",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "32",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cursor",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "32",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminal",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "32",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminalfont",
|
||||||
|
"key": " └ ",
|
||||||
|
"keyColor": "32",
|
||||||
|
},
|
||||||
|
"break",
|
||||||
|
{
|
||||||
|
"type": "host",
|
||||||
|
"format": "{2}",
|
||||||
|
"key": " SYSTEM",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cpu",
|
||||||
|
"format": "{1} ({3}) @ {7} GHz",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "gpu",
|
||||||
|
"format": "{2}",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "memory",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "swap",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "disk",
|
||||||
|
"key": " ├ ",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "display",
|
||||||
|
"key": " └ ",
|
||||||
|
"compactType": "original-with-refresh-rate",
|
||||||
|
"keyColor": "33",
|
||||||
|
},
|
||||||
|
"break",
|
||||||
|
"break",
|
||||||
|
]
|
||||||
|
}
|
||||||
128
assets/fastfetch/config.jsonc
Normal file
128
assets/fastfetch/config.jsonc
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
"padding": {
|
||||||
|
"top": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"separator": " "
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"break",
|
||||||
|
{
|
||||||
|
"type": "os",
|
||||||
|
"key": " DISTRO",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "packages",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"key": "│ └",
|
||||||
|
"keyColor": "yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wm",
|
||||||
|
"key": " DE/WM",
|
||||||
|
"keyColor": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wmtheme",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "icons",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cursor",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "blue",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminalfont",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "blue",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminal",
|
||||||
|
"key": "│ └",
|
||||||
|
"keyColor": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "host",
|
||||||
|
"key": " SYSTEM",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cpu",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "gpu",
|
||||||
|
"key": "│ ├",
|
||||||
|
"format": "{2}",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "display",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "green",
|
||||||
|
"compactType": "original-with-refresh-rate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "memory",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "swap",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "uptime",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "display",
|
||||||
|
"key": "│ └",
|
||||||
|
"keyColor": "green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "sound",
|
||||||
|
"key": " AUDIO",
|
||||||
|
"format": "{2}",
|
||||||
|
"keyColor": "magenta"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "player",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "magenta"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "media",
|
||||||
|
"key": "│ └",
|
||||||
|
"keyColor": "magenta"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m \u001b[39m \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m "
|
||||||
|
},
|
||||||
|
"break",
|
||||||
|
]
|
||||||
|
}
|
||||||
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
|
||||||
7
assets/hyprland-install/README
Normal file
7
assets/hyprland-install/README
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Arch-Hyprland - Sharing a scripts to install hyprland git or non-git versions
|
||||||
|
|
||||||
|
Basically created this script so I can easily switch to git and non-git version of hyprland on Arch Linux
|
||||||
|
|
||||||
|
|
||||||
|
chmod +x actions.sh
|
||||||
|
./actions.sh
|
||||||
57
assets/hyprland-install/actions.sh
Executable file
57
assets/hyprland-install/actions.sh
Executable file
@@ -0,0 +1,57 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
|
||||||
|
# Set some colors for output messages
|
||||||
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
|
INFO="$(tput setaf 4)[INFO]$(tput sgr0)"
|
||||||
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
|
MAGENTA=$(tput setaf 5)
|
||||||
|
WARNING=$(tput setaf 1)
|
||||||
|
YELLOW=$(tput setaf 3)
|
||||||
|
BLUE=$(tput setaf 4)
|
||||||
|
RESET=$(tput sgr0)
|
||||||
|
|
||||||
|
|
||||||
|
# Make all scripts in the scripts directory executable
|
||||||
|
echo -e "${INFO} Making all files in the ${BLUE}scripts${RESET} directory executable..."
|
||||||
|
chmod +x ./scripts/*
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
echo -e "${BLUE} Please choose an option:${RESET}"
|
||||||
|
echo -e "${YELLOW} -- 1 - Install non-git Hyprland version${RESET}"
|
||||||
|
echo -e "${YELLOW} -- 2 - Install git Hyprland version${RESET}"
|
||||||
|
echo -e "${MAGENTA} -- 3 - Quit${RESET}"
|
||||||
|
|
||||||
|
read -p "${CAT} Enter your choice [1, 2, or 3]: " choice
|
||||||
|
|
||||||
|
case $choice in
|
||||||
|
1)
|
||||||
|
printf "\n${OK} You chose ${BLUE}non-git version of Hyprland${RESET}....... executing...\n"
|
||||||
|
echo -e "${YELLOW} Uninstalling some hyprland packages first...${RESET}"
|
||||||
|
./scripts/uninstall.sh &&
|
||||||
|
./scripts/install-hyprland.sh
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
2)
|
||||||
|
printf "\n${OK} You chose ${BLUE}git version of Hyprland${RESET}....... executing...\n"
|
||||||
|
echo -e "${YELLOW} Uninstalling some hyprland packages....${RESET}"
|
||||||
|
./scripts/uninstall.sh &&
|
||||||
|
./scripts/install-hyprland-git.sh
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
3)
|
||||||
|
echo -e "${MAGENTA} You have cancel it. Good Bye!!...${RESET}"
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo -e "\n${WARNING} There are only 3 Choices!!!! 1 or 2 or 3. Enter 1, 2, or 3.${RESET}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
done
|
||||||
87
assets/hyprland-install/scripts/install-hyprland-git.sh
Executable file
87
assets/hyprland-install/scripts/install-hyprland-git.sh
Executable file
@@ -0,0 +1,87 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
|
||||||
|
# Set some colors for output messages
|
||||||
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
|
INFO="$(tput setaf 4)[INFO]$(tput sgr0)"
|
||||||
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
|
MAGENTA="$(tput setaf 5)"
|
||||||
|
ORANGE="$(tput setaf 214)"
|
||||||
|
WARNING="$(tput setaf 1)"
|
||||||
|
YELLOW="$(tput setaf 3)"
|
||||||
|
BLUE="$(tput setaf 4)"
|
||||||
|
RESET="$(tput sgr0)"
|
||||||
|
|
||||||
|
ISAUR=$(command -v yay || command -v paru)
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
# List of packages to install / update
|
||||||
|
packages=(
|
||||||
|
"hyprutils-git"
|
||||||
|
"hyprcursor-git"
|
||||||
|
"hyprwayland-scanner-git"
|
||||||
|
"aquamarine-git"
|
||||||
|
"hyprgraphics-git"
|
||||||
|
"hyprlang-git"
|
||||||
|
"hyprland-protocols-git"
|
||||||
|
"hyprland-qt-support-git"
|
||||||
|
"hyprland-qtutils-git"
|
||||||
|
"hyprland-git"
|
||||||
|
"hyprlock-git"
|
||||||
|
"hypridle-git"
|
||||||
|
"xdg-desktop-portal-hyprland-git"
|
||||||
|
"hyprpolkitagent-git"
|
||||||
|
"pyprland"
|
||||||
|
)
|
||||||
|
|
||||||
|
# rotating stars progress
|
||||||
|
show_progress() {
|
||||||
|
spin='-'
|
||||||
|
while ps | grep $1 &> /dev/null; do
|
||||||
|
echo -ne "\rInstalling ${ORANGE}$2${RESET} ... Kindly wait! $spin"
|
||||||
|
sleep 0.3
|
||||||
|
case $spin in
|
||||||
|
'-') spin='\';;
|
||||||
|
'\') spin='|';;
|
||||||
|
'|') spin='/';;
|
||||||
|
'/') spin='-';;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
echo -en "\rInstalling ${ORANGE}$2${RESET} ... Kindly wait! .... Done!"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Clearing cache
|
||||||
|
echo -n "${CAT} Recommend (choose y to all) to clear ${MAGENTA}pacman and aur helper${RESET} cache ..."
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
sudo pacman -Scc &&
|
||||||
|
$ISAUR -Scc
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
printf "${NOTE} Installing ${BLUE}git hyprland version${RESET}....."
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
|
# Installing packages
|
||||||
|
for package in "${packages[@]}"; do
|
||||||
|
$ISAUR -S --noconfirm --needed "$package" &>/dev/null &
|
||||||
|
pid=$!
|
||||||
|
|
||||||
|
show_progress $pid $package
|
||||||
|
|
||||||
|
wait $pid
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo -e "\n${OK} ${ORANGE}$package${RESET} successfully installed."
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
else
|
||||||
|
echo -e "\n${ERROR} Failed to install ${MAGENTA}$package${RESET}"
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
printf "${OK} Done!! Now you NEED to ${YELLOW}EXIT${RESET} Hyprland and Re-Login! Enjoy!!!!"
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
81
assets/hyprland-install/scripts/install-hyprland.sh
Executable file
81
assets/hyprland-install/scripts/install-hyprland.sh
Executable file
@@ -0,0 +1,81 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
|
||||||
|
# Set some colors for output messages
|
||||||
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
|
INFO="$(tput setaf 4)[INFO]$(tput sgr0)"
|
||||||
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
|
MAGENTA="$(tput setaf 5)"
|
||||||
|
ORANGE="$(tput setaf 214)"
|
||||||
|
WARNING="$(tput setaf 1)"
|
||||||
|
YELLOW="$(tput setaf 3)"
|
||||||
|
BLUE="$(tput setaf 4)"
|
||||||
|
RESET="$(tput sgr0)"
|
||||||
|
|
||||||
|
ISAUR=$(command -v yay || command -v paru)
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
# List of packages to install / update
|
||||||
|
packages=(
|
||||||
|
"aquamarine"
|
||||||
|
"hyprutils"
|
||||||
|
"hyprcursor"
|
||||||
|
"hyprwayland-scanner"
|
||||||
|
"hyprgraphics"
|
||||||
|
"hyprlang"
|
||||||
|
"hyprland-protocols"
|
||||||
|
"hyprland-qt-support"
|
||||||
|
"hyprland-qtutils"
|
||||||
|
"hyprland"
|
||||||
|
"hyprlock"
|
||||||
|
"hypridle"
|
||||||
|
"xdg-desktop-portal-hyprland"
|
||||||
|
"hyprpolkitagent"
|
||||||
|
"pyprland"
|
||||||
|
)
|
||||||
|
|
||||||
|
# rotating stars progress
|
||||||
|
show_progress() {
|
||||||
|
spin='-'
|
||||||
|
while ps | grep $1 &> /dev/null; do
|
||||||
|
echo -ne "\rInstalling ${ORANGE}$2${RESET} ... Kindly wait! $spin"
|
||||||
|
sleep 0.3
|
||||||
|
case $spin in
|
||||||
|
'-') spin='\';;
|
||||||
|
'\') spin='|';;
|
||||||
|
'|') spin='/';;
|
||||||
|
'/') spin='-';;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
echo -en "\rInstalling ${ORANGE}$2${RESET} ... Kindly wait! .... Done!"
|
||||||
|
}
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
printf "${NOTE} Installing ${BLUE}non-git hyprland version${RESET}....."
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
|
# Installing packages
|
||||||
|
for package in "${packages[@]}"; do
|
||||||
|
$ISAUR -S --noconfirm --needed "$package" &>/dev/null &
|
||||||
|
pid=$!
|
||||||
|
|
||||||
|
show_progress $pid $package
|
||||||
|
|
||||||
|
wait $pid
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo -e "\n${OK} ${ORANGE}$package${RESET} successfully installed."
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
else
|
||||||
|
echo -e "\n${ERROR} Failed to install ${MAGENTA}$package${RESET}"
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
printf "${OK} Done!! Now you NEED to ${YELLOW}EXIT${RESET} Hyprland and Re-Login! Enjoy!!!!"
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
91
assets/hyprland-install/scripts/uninstall.sh
Executable file
91
assets/hyprland-install/scripts/uninstall.sh
Executable file
@@ -0,0 +1,91 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
|
||||||
|
# uninstalling hyprland packages
|
||||||
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
|
INFO="$(tput setaf 4)[INFO]$(tput sgr0)"
|
||||||
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
|
MAGENTA="$(tput setaf 5)"
|
||||||
|
WARNING="$(tput setaf 1)"
|
||||||
|
YELLOW="$(tput setaf 3)"
|
||||||
|
BLUE="$(tput setaf 4)"
|
||||||
|
RESET="$(tput sgr0)"
|
||||||
|
|
||||||
|
|
||||||
|
# List of packages to uninstall (including git versions)
|
||||||
|
packages=(
|
||||||
|
"aquamarine"
|
||||||
|
"aquamarine-git"
|
||||||
|
"hyprutils"
|
||||||
|
"hyprutils-git"
|
||||||
|
"hyprcursor"
|
||||||
|
"hyprcursor-git"
|
||||||
|
"hyprwayland-scanner"
|
||||||
|
"hyprwayland-scanner-git"
|
||||||
|
"hyprgraphics"
|
||||||
|
"hyprgraphics-git"
|
||||||
|
"hyprlang"
|
||||||
|
"hyprlang-git"
|
||||||
|
"hyprland-protocols"
|
||||||
|
"hyprland-protocols-git"
|
||||||
|
"hyprland-qt-support"
|
||||||
|
"hyprland-qt-support-git"
|
||||||
|
"hyprland-qtutils"
|
||||||
|
"hyprland-qtutils-git"
|
||||||
|
"hyprland"
|
||||||
|
"hyprland-git"
|
||||||
|
"hyprlock"
|
||||||
|
"hyprlock-git"
|
||||||
|
"hypridle"
|
||||||
|
"hypridle-git"
|
||||||
|
"xdg-desktop-portal-hyprland"
|
||||||
|
"xdg-desktop-portal-hyprland-git"
|
||||||
|
"hyprpolkitagent"
|
||||||
|
"hyprpolkitagent-git"
|
||||||
|
"pyprland"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Function for uninstall packages
|
||||||
|
uninstall_package() {
|
||||||
|
local pkg="$1"
|
||||||
|
|
||||||
|
if pacman -Qi "$pkg" &>> /dev/null ; then
|
||||||
|
echo -e "${NOTE} Uninstalling $pkg ..."
|
||||||
|
sudo pacman -Rnsdd --noconfirm "$pkg" | grep -v "error: target not found"
|
||||||
|
|
||||||
|
if ! pacman -Qi "$pkg" &>> /dev/null ; then
|
||||||
|
echo -e "\e[1A\e[K${OK} $pkg was uninstalled."
|
||||||
|
else
|
||||||
|
echo -e "\e[1A\e[K${ERROR} $pkg failed to uninstall"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo -e "${NOTE} $pkg is not installed, skipping uninstallation."
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
printf "\n%s - Removing Hyprland Packages including -git versions \n" "${NOTE}"
|
||||||
|
|
||||||
|
# Track failures but continue with next packages
|
||||||
|
overall_failed=0
|
||||||
|
for PKG in "${packages[@]}"; do
|
||||||
|
uninstall_package "$PKG"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
|
||||||
|
overall_failed=1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Remove specific configuration file since on my experience, it conflicts.
|
||||||
|
# Dont worry, it will be reinstalled by either xdph non-git or git version
|
||||||
|
sudo rm -rf "/usr/share/xdg-desktop-portal/hyprland-portals.conf"
|
||||||
|
|
||||||
|
if [ $overall_failed -eq 0 ]; then
|
||||||
|
echo -e "${OK} All specified hyprland packages have been uninstalled."
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Hyprland
|
|
||||||
Comment=An intelligent dynamic tiling Wayland compositor
|
|
||||||
Exec=Hyprland
|
|
||||||
Type=Application
|
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# 💫 https://github.com/JaKooLit 💫 #
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
# base devel #
|
# base devel + archlinux-keyring #
|
||||||
|
|
||||||
base=(
|
base=(
|
||||||
base-devel
|
base-devel
|
||||||
|
archlinux-keyring
|
||||||
)
|
)
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||||
@@ -16,7 +17,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_base.log"
|
|||||||
printf "\n%s - Installing base-devel \n" "${NOTE}"
|
printf "\n%s - Installing base-devel \n" "${NOTE}"
|
||||||
|
|
||||||
for PKG1 in "${base[@]}"; do
|
for PKG1 in "${base[@]}"; do
|
||||||
install_package_pacman "$PKG1" | tee -a "$LOG"
|
sudo pacman -S --noconfirm "$PKG1" | tee -a "$LOG"
|
||||||
done
|
done
|
||||||
|
|
||||||
clear
|
clear
|
||||||
@@ -12,67 +12,71 @@ Extra=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
hypr_package=(
|
hypr_package=(
|
||||||
aylurs-gtk-shell
|
#aylurs-gtk-shell
|
||||||
cliphist
|
cliphist
|
||||||
curl
|
curl
|
||||||
grim
|
grim
|
||||||
gvfs
|
gvfs
|
||||||
gvfs-mtp
|
gvfs-mtp
|
||||||
hypridle
|
hyprpolkitagent
|
||||||
hyprlock
|
imagemagick
|
||||||
imagemagick
|
inxi
|
||||||
jq
|
jq
|
||||||
kitty
|
kitty
|
||||||
kvantum
|
kvantum
|
||||||
nano
|
nano
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
pamixer
|
pamixer
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pipewire-alsa
|
pipewire-alsa
|
||||||
playerctl
|
playerctl
|
||||||
polkit-gnome
|
python-requests
|
||||||
python-requests
|
python-pyquery
|
||||||
python-pyquery
|
qt5ct
|
||||||
pyprland
|
qt6ct
|
||||||
qt5ct
|
qt6-svg
|
||||||
qt6ct
|
rofi-wayland
|
||||||
qt6-svg
|
slurp
|
||||||
rofi-wayland
|
swappy
|
||||||
slurp
|
swaync
|
||||||
swappy
|
swww
|
||||||
swaync
|
wallust
|
||||||
swww
|
waybar
|
||||||
wallust-git
|
wget
|
||||||
waybar
|
wl-clipboard
|
||||||
wget
|
wlogout
|
||||||
wl-clipboard
|
xdg-user-dirs
|
||||||
wlogout
|
xdg-utils
|
||||||
xdg-user-dirs
|
yad
|
||||||
xdg-utils
|
|
||||||
yad
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# the following packages can be deleted. however, dotfiles may not work properly
|
# the following packages can be deleted. however, dotfiles may not work properly
|
||||||
hypr_package_2=(
|
hypr_package_2=(
|
||||||
brightnessctl
|
brightnessctl
|
||||||
btop
|
btop
|
||||||
cava
|
cava
|
||||||
eog
|
eog
|
||||||
gnome-system-monitor
|
fastfetch
|
||||||
mousepad
|
gnome-system-monitor
|
||||||
mpv
|
mousepad
|
||||||
mpv-mpris
|
mpv
|
||||||
nvtop
|
mpv-mpris
|
||||||
nwg-look-bin
|
nvtop
|
||||||
pacman-contrib
|
nwg-look
|
||||||
vim
|
pacman-contrib
|
||||||
yt-dlp
|
qalculate-gtk
|
||||||
|
vim
|
||||||
|
yt-dlp
|
||||||
)
|
)
|
||||||
|
|
||||||
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
# List of packages to uninstall as it conflicts some packages
|
||||||
uninstall=(
|
uninstall=(
|
||||||
|
aylurs-gtk-shell
|
||||||
dunst
|
dunst
|
||||||
mako
|
mako
|
||||||
|
cachyos-hyprland-settings
|
||||||
|
rofi
|
||||||
|
wallust-git
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
@@ -88,6 +92,23 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|||||||
# Set the name of the log file to include the current date and time
|
# Set the name of the log file to include the current date and time
|
||||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr-pkgs.log"
|
LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr-pkgs.log"
|
||||||
|
|
||||||
|
# uninstalling conflicting packages
|
||||||
|
# Initialize a variable to track overall errors
|
||||||
|
overall_failed=0
|
||||||
|
|
||||||
|
printf "\n%s - Removing Mako, Dunst, and rofi as they conflict with swaync and rofi-wayland \n" "${NOTE}"
|
||||||
|
for PKG in "${uninstall[@]}"; do
|
||||||
|
uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
# Track if any uninstallation failed
|
||||||
|
overall_failed=1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ $overall_failed -ne 0 ]; then
|
||||||
|
echo -e "${ERROR} Some packages failed to uninstall. Please check the log."
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Installation of main components
|
# Installation of main components
|
||||||
printf "\n%s - Installing hyprland packages.... \n" "${NOTE}"
|
printf "\n%s - Installing hyprland packages.... \n" "${NOTE}"
|
||||||
@@ -100,15 +121,5 @@ for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${Extra[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Checking if mako or dunst is installed
|
|
||||||
printf "\n%s - Checking if mako or dunst are installed and removing for swaync to work properly \n" "${NOTE}"
|
|
||||||
for PKG in "${uninstall[@]}"; do
|
|
||||||
uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo -e "\e[1A\e[K${ERROR} - $PKG uninstallation failed, please check the log"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
91
install-scripts/02-Final-Check.sh
Executable file
91
install-scripts/02-Final-Check.sh
Executable file
@@ -0,0 +1,91 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
|
# Final checking if packages are installed
|
||||||
|
# NOTE: These package check are only the essentials
|
||||||
|
|
||||||
|
packages=(
|
||||||
|
cliphist
|
||||||
|
kvantum
|
||||||
|
rofi-wayland
|
||||||
|
imagemagick
|
||||||
|
swaync
|
||||||
|
swww
|
||||||
|
wallust
|
||||||
|
waybar
|
||||||
|
wl-clipboard
|
||||||
|
wlogout
|
||||||
|
kitty
|
||||||
|
hypridle
|
||||||
|
hyprlock
|
||||||
|
hyprland
|
||||||
|
pyprland
|
||||||
|
)
|
||||||
|
|
||||||
|
# Local packages that should be in /usr/local/bin/
|
||||||
|
local_pkgs_installed=(
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
## 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" || { echo "${ERROR} Failed to change directory to $PARENT_DIR"; exit 1; }
|
||||||
|
|
||||||
|
# Source the global functions script
|
||||||
|
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/00_CHECK-$(date +%d-%H%M%S)_installed.log"
|
||||||
|
|
||||||
|
printf "\n%s - Final Check if Essential packages were installed \n" "${NOTE}"
|
||||||
|
# Initialize an empty array to hold missing packages
|
||||||
|
missing=()
|
||||||
|
local_missing=()
|
||||||
|
|
||||||
|
# Function to check if a package is installed using pacman
|
||||||
|
is_installed_pacman() {
|
||||||
|
pacman -Qi "$1" &>/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
# Loop through each package
|
||||||
|
for pkg in "${packages[@]}"; do
|
||||||
|
# Check if the package is installed via pacman
|
||||||
|
if ! is_installed_pacman "$pkg"; then
|
||||||
|
missing+=("$pkg")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Check for local packages
|
||||||
|
for pkg1 in "${local_pkgs_installed[@]}"; do
|
||||||
|
if ! [ -f "/usr/local/bin/$pkg1" ]; then
|
||||||
|
local_missing+=("$pkg1")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Log missing packages
|
||||||
|
if [ ${#missing[@]} -eq 0 ] && [ ${#local_missing[@]} -eq 0 ]; then
|
||||||
|
echo "${OK} All essential packages are installed." | tee -a "$LOG"
|
||||||
|
else
|
||||||
|
if [ ${#missing[@]} -ne 0 ]; then
|
||||||
|
echo "${WARN} The following packages are not installed and will be logged:"
|
||||||
|
for pkg in "${missing[@]}"; do
|
||||||
|
echo "$pkg"
|
||||||
|
echo "$pkg" >> "$LOG" # Log the missing package to the file
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ${#local_missing[@]} -ne 0 ]; then
|
||||||
|
echo "${WARN} The following local packages are missing from /usr/local/bin/ and will be logged:"
|
||||||
|
for pkg1 in "${local_missing[@]}"; do
|
||||||
|
echo "$pkg1 is not installed. Can't find it in /usr/local/bin/"
|
||||||
|
echo "$pkg1" >> "$LOG" # Log the missing local package to the file
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Add a timestamp when the missing packages were logged
|
||||||
|
echo "${NOTE} Missing packages logged at $(date)" >> "$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -8,9 +8,10 @@ set -e
|
|||||||
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
WARN="$(tput setaf 166)[WARN]$(tput sgr0)"
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
ORANGE=$(tput setaf 166)
|
MAGENTA=$(tput setaf 5)
|
||||||
|
WARNING=$(tput setaf 1)
|
||||||
YELLOW=$(tput setaf 3)
|
YELLOW=$(tput setaf 3)
|
||||||
RESET=$(tput sgr0)
|
RESET=$(tput sgr0)
|
||||||
|
|
||||||
@@ -28,10 +29,10 @@ install_package_pacman() {
|
|||||||
else
|
else
|
||||||
# Package not installed
|
# Package not installed
|
||||||
echo -e "${NOTE} Installing $1 ..."
|
echo -e "${NOTE} Installing $1 ..."
|
||||||
sudo pacman -S --noconfirm "$1" 2>&1 | tee -a "$LOG"
|
sudo pacman -S --noconfirm --needed "$1" 2>&1 | tee -a "$LOG"
|
||||||
# Making sure package is installed
|
# Making sure package is installed
|
||||||
if pacman -Q "$1" &>/dev/null ; then
|
if pacman -Q "$1" &>/dev/null ; then
|
||||||
echo -e "${OK} $1 was installed."
|
echo -e "\e[1A\e[K${OK} Package ${YELLOW}$1${RESET} has been successfully installed!"
|
||||||
else
|
else
|
||||||
# Something is missing, exiting to review log
|
# Something is missing, exiting to review log
|
||||||
echo -e "${ERROR} $1 failed to install. Please check the $LOG. You may need to install manually."
|
echo -e "${ERROR} $1 failed to install. Please check the $LOG. You may need to install manually."
|
||||||
@@ -51,10 +52,10 @@ install_package() {
|
|||||||
else
|
else
|
||||||
# Package not installed
|
# Package not installed
|
||||||
echo -e "${NOTE} Installing $1 ..."
|
echo -e "${NOTE} Installing $1 ..."
|
||||||
$ISAUR -S --noconfirm "$1" 2>&1 | tee -a "$LOG"
|
$ISAUR -S --noconfirm --needed "$1" 2>&1 | tee -a "$LOG"
|
||||||
# Making sure package is installed
|
# Making sure package is installed
|
||||||
if $ISAUR -Q "$1" &>> /dev/null ; then
|
if $ISAUR -Q "$1" &>> /dev/null ; then
|
||||||
echo -e "\e[1A\e[K${OK} $1 was installed."
|
echo -e "\e[1A\e[K${OK} Package ${YELLOW}$1${RESET} has been successfully installed!"
|
||||||
else
|
else
|
||||||
# Something is missing, exiting to review log
|
# Something is missing, exiting to review log
|
||||||
echo -e "\e[1A\e[K${ERROR} $1 failed to install :( , please check the install.log. You may need to install manually! Sorry I have tried :("
|
echo -e "\e[1A\e[K${ERROR} $1 failed to install :( , please check the install.log. You may need to install manually! Sorry I have tried :("
|
||||||
@@ -65,18 +66,22 @@ install_package() {
|
|||||||
|
|
||||||
# Function for uninstalling packages
|
# Function for uninstalling packages
|
||||||
uninstall_package() {
|
uninstall_package() {
|
||||||
|
local pkg="$1"
|
||||||
|
|
||||||
# Checking if package is installed
|
# Checking if package is installed
|
||||||
if pacman -Qi "$1" &>> /dev/null ; then
|
if pacman -Qi "$pkg" &>> /dev/null ; then
|
||||||
# Package is installed
|
# Package is installed
|
||||||
echo -e "${NOTE} Uninstalling $1 ..."
|
echo -e "${NOTE} Uninstalling $pkg ..."
|
||||||
sudo pacman -Rns --noconfirm "$1" 2>&1 | tee -a "$LOG"
|
sudo pacman -R --noconfirm "$pkg" 2>&1 | tee -a "$LOG" | grep -v "error: target not found"
|
||||||
# Making sure package is uninstalled
|
# Check if the package was uninstalled
|
||||||
if ! pacman -Qi "$1" &>> /dev/null ; then
|
if ! pacman -Qi "$pkg" &>> /dev/null ; then
|
||||||
echo -e "\e[1A\e[K${OK} $1 was uninstalled."
|
echo -e "\e[1A\e[K${OK} $pkg was uninstalled."
|
||||||
else
|
else
|
||||||
# Something went wrong, exiting to review log
|
echo -e "\e[1A\e[K${ERROR} $pkg failed to uninstall. Please check the log."
|
||||||
echo -e "\e[1A\e[K${ERROR} $1 failed to uninstall. Please check the log."
|
return 1
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo -e "${NOTE} $pkg is not installed, skipping uninstallation."
|
||||||
fi
|
fi
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,8 @@ while true; do
|
|||||||
echo "${WARN} This script will add your user to the 'input' group."
|
echo "${WARN} This script will add your user to the 'input' group."
|
||||||
echo "${NOTE} Please note that adding yourself to the 'input' group might be necessary for waybar keyboard-state functionality."
|
echo "${NOTE} Please note that adding yourself to the 'input' group might be necessary for waybar keyboard-state functionality."
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
if [[ -z $input_group_choid ]]; then
|
if [[ -z $input_group_choid ]]; then
|
||||||
read -p "${YELLOW}Do you want to proceed? (y/n): ${RESET}" input_group_choid
|
read -p "${YELLOW}Do you want to proceed? (y/n): ${RESET}" input_group_choid
|
||||||
fi
|
fi
|
||||||
|
|||||||
86
install-scripts/ags.sh
Executable file
86
install-scripts/ags.sh
Executable file
@@ -0,0 +1,86 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
|
# Aylur's GTK Shell v 1.9.0#
|
||||||
|
# for desktop overview
|
||||||
|
|
||||||
|
if [[ $USE_PRESET = [Yy] ]]; then
|
||||||
|
source ./preset.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
ags=(
|
||||||
|
typescript
|
||||||
|
npm
|
||||||
|
meson
|
||||||
|
glib2-devel
|
||||||
|
gjs
|
||||||
|
gtk3
|
||||||
|
gtk-layer-shell
|
||||||
|
upower
|
||||||
|
networkmanager
|
||||||
|
gobject-introspection
|
||||||
|
libdbusmenu-gtk3
|
||||||
|
libsoup3
|
||||||
|
)
|
||||||
|
|
||||||
|
# specific tags to download
|
||||||
|
ags_tag="v1.9.0"
|
||||||
|
|
||||||
|
## 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)_ags2.log"
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
|
# Installation of main components
|
||||||
|
printf "\n%s - Installing AGS Dependencies \n" "${NOTE}"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..1}
|
||||||
|
# ags
|
||||||
|
printf "${NOTE} Install and Compiling Aylurs GTK shell $ags_tag..\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
|
||||||
|
|
||||||
@@ -3,9 +3,9 @@
|
|||||||
# Bluetooth Stuff #
|
# Bluetooth Stuff #
|
||||||
|
|
||||||
blue=(
|
blue=(
|
||||||
bluez
|
bluez
|
||||||
bluez-utils
|
bluez-utils
|
||||||
blueman
|
blueman
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
|
|||||||
29
install-scripts/dotfiles-main.sh
Normal file
29
install-scripts/dotfiles-main.sh
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
|
# Hyprland-Dots to download from main #
|
||||||
|
|
||||||
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
|
|
||||||
|
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||||
|
|
||||||
|
# Check if Hyprland-Dots exists
|
||||||
|
printf "${NOTE} Downloading KooL's Hyprland Dots....\n"
|
||||||
|
|
||||||
|
if [ -d Hyprland-Dots ]; then
|
||||||
|
cd Hyprland-Dots
|
||||||
|
git stash
|
||||||
|
git pull
|
||||||
|
git stash apply
|
||||||
|
chmod +x copy.sh
|
||||||
|
./copy.sh
|
||||||
|
else
|
||||||
|
if git clone --depth 1 https://github.com/JaKooLit/Hyprland-Dots; then
|
||||||
|
cd Hyprland-Dots || exit 1
|
||||||
|
chmod +x copy.sh
|
||||||
|
./copy.sh
|
||||||
|
else
|
||||||
|
echo -e "$ERROR Can't download Hyprland-Dots"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
@@ -7,13 +7,13 @@
|
|||||||
# and also, ensure that packages are present in AUR and official Arch Repo
|
# and also, ensure that packages are present in AUR and official Arch Repo
|
||||||
|
|
||||||
fonts=(
|
fonts=(
|
||||||
adobe-source-code-pro-fonts
|
adobe-source-code-pro-fonts
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
otf-font-awesome
|
otf-font-awesome
|
||||||
ttf-droid
|
ttf-droid
|
||||||
ttf-fira-code
|
ttf-fira-code
|
||||||
ttf-jetbrains-mono
|
ttf-jetbrains-mono
|
||||||
ttf-jetbrains-mono-nerd
|
ttf-jetbrains-mono-nerd
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -33,22 +33,19 @@ done
|
|||||||
|
|
||||||
# Check if the directory exists and delete it if present
|
# Check if the directory exists and delete it if present
|
||||||
if [ -d "GTK-themes-icons" ]; then
|
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"
|
rm -rf "GTK-themes-icons" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
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
|
if git clone --depth 1 https://github.com/JaKooLit/GTK-themes-icons.git ; then
|
||||||
cd GTK-themes-icons
|
cd GTK-themes-icons
|
||||||
chmod +x auto-extract.sh
|
chmod +x auto-extract.sh
|
||||||
./auto-extract.sh
|
./auto-extract.sh
|
||||||
cd ..
|
cd ..
|
||||||
echo "$OK Extracted GTK Themes & Icons to ~/.icons & ~/.themes folders" 2>&1 | tee -a "$LOG"
|
echo "$OK Extracted GTK Themes & Icons to ~/.icons & ~/.themes folders" 2>&1 | tee -a "$LOG"
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
tar -xf "assets/Bibata-Modern-Ice.tar.xz" -C ~/.icons 2>&1 | tee -a "$LOG"
|
|
||||||
echo "$OK Extracted Bibata-Modern-Ice.tar.xz to ~/.icons folder." 2>&1 | tee -a "$LOG"
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
@@ -3,14 +3,17 @@
|
|||||||
# Main Hyprland Package #
|
# Main Hyprland Package #
|
||||||
|
|
||||||
hypr=(
|
hypr=(
|
||||||
hyprland
|
hyprland
|
||||||
hyprcursor
|
hypridle
|
||||||
|
hyprlock
|
||||||
|
pyprland
|
||||||
|
libspng
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
|
|
||||||
# Determine the directory where the script is located
|
# Determine the directory where the script is located
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
# Change the working directory to the parent directory of the script
|
# Change the working directory to the parent directory of the script
|
||||||
PARENT_DIR="$SCRIPT_DIR/.."
|
PARENT_DIR="$SCRIPT_DIR/.."
|
||||||
@@ -23,18 +26,21 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|||||||
|
|
||||||
# Removing other Hyprland to avoid conflict
|
# Removing other Hyprland to avoid conflict
|
||||||
printf "${YELLOW} Checking for other hyprland packages and remove if any..${RESET}\n"
|
printf "${YELLOW} Checking for other hyprland packages and remove if any..${RESET}\n"
|
||||||
if pacman -Qs hyprland > /dev/null; then
|
if pacman -Qs hyprland >/dev/null; then
|
||||||
printf "${YELLOW} Hyprland detected. uninstalling to install Hyprland-git...${RESET}\n"
|
printf "${YELLOW} Hyprland detected. uninstalling to install Hyprland-git...${RESET}\n"
|
||||||
for hyprnvi in hyprland-git hyprland-nvidia hyprland-nvidia-git hyprland-nvidia-hidpi-git; do
|
for hyprnvi in hyprland-git hyprland-nvidia hyprland-nvidia-git hyprland-nvidia-hidpi-git; do
|
||||||
sudo pacman -R --noconfirm "$hyprnvi" 2>/dev/null | tee -a "$LOG" || true
|
sudo pacman -R --noconfirm "$hyprnvi" 2>/dev/null | tee -a "$LOG" || true
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
printf "${NOTE} Installing Hyprland .......\n"
|
printf "${NOTE} Installing Hyprland .......\n"
|
||||||
for HYPR in "${hypr[@]}"; do
|
for HYPR in "${hypr[@]}"; do
|
||||||
install_package "$HYPR" 2>&1 | tee -a "$LOG"
|
install_package "$HYPR" 2>&1 | tee -a "$LOG"
|
||||||
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $HYPR Package installation failed, Please check the installation logs"; exit 1; }
|
[ $? -ne 0 ] && {
|
||||||
|
echo -e "\e[1A\e[K${ERROR} - $HYPR Package installation failed, Please check the installation logs"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
done
|
done
|
||||||
|
|
||||||
clear
|
clear
|
||||||
@@ -10,9 +10,10 @@ nvidia_pkg=(
|
|||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
libva
|
libva
|
||||||
libva-nvidia-driver-git
|
libva-nvidia-driver
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
# Determine the directory where the script is located
|
# Determine the directory where the script is located
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@@ -37,7 +38,7 @@ if pacman -Qs hyprland > /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install additional Nvidia packages
|
# Install additional Nvidia packages
|
||||||
printf "${YELLOW} Installing addition Nvidia packages...\n"
|
printf "${YELLOW} Installing Nvidia Packages and Linux headers...\n"
|
||||||
for krnl in $(cat /usr/lib/modules/*/pkgbase); do
|
for krnl in $(cat /usr/lib/modules/*/pkgbase); do
|
||||||
for NVIDIA in "${krnl}-headers" "${nvidia_pkg[@]}"; do
|
for NVIDIA in "${krnl}-headers" "${nvidia_pkg[@]}"; do
|
||||||
install_package "$NVIDIA" 2>&1 | tee -a "$LOG"
|
install_package "$NVIDIA" 2>&1 | tee -a "$LOG"
|
||||||
@@ -53,37 +54,71 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sudo mkinitcpio -P 2>&1 | tee -a "$LOG"
|
sudo mkinitcpio -P 2>&1 | tee -a "$LOG"
|
||||||
printf "\n\n\n"
|
|
||||||
|
printf "\n%.0s" {1..3}
|
||||||
|
|
||||||
# Additional Nvidia steps
|
# Additional Nvidia steps
|
||||||
NVEA="/etc/modprobe.d/nvidia.conf"
|
NVEA="/etc/modprobe.d/nvidia.conf"
|
||||||
if [ -f "$NVEA" ]; then
|
if [ -f "$NVEA" ]; then
|
||||||
printf "${OK} Seems like nvidia-drm modeset=1 is already added in your system..moving on.\n"
|
printf "${OK} Seems like nvidia-drm modeset=1 is already added in your system..moving on."
|
||||||
printf "\n"
|
printf "\n"
|
||||||
else
|
else
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "${YELLOW} Adding options to $NVEA..."
|
printf "${YELLOW} Adding options to $NVEA..."
|
||||||
sudo echo -e "options nvidia-drm modeset=1" | sudo tee -a /etc/modprobe.d/nvidia.conf 2>&1 | tee -a "$LOG"
|
sudo echo -e "options nvidia_drm modeset=1 fbdev=1" | sudo tee -a /etc/modprobe.d/nvidia.conf 2>&1 | tee -a "$LOG"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# additional for GRUB users
|
# Additional for GRUB users
|
||||||
# Check if /etc/default/grub exists
|
|
||||||
if [ -f /etc/default/grub ]; then
|
if [ -f /etc/default/grub ]; then
|
||||||
# Check if nvidia_drm.modeset=1 is already present
|
printf "GRUB bootloader detected\n" 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
|
# Check if nvidia-drm.modeset=1 is present
|
||||||
if ! sudo grep -q "nvidia-drm.modeset=1" /etc/default/grub; then
|
if ! sudo grep -q "nvidia-drm.modeset=1" /etc/default/grub; then
|
||||||
# Add nvidia_drm.modeset=1 to GRUB_CMDLINE_LINUX_DEFAULT
|
sudo sed -i -e 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 nvidia-drm.modeset=1"/' /etc/default/grub
|
||||||
sudo sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 nvidia-drm.modeset=1"/' /etc/default/grub
|
printf "nvidia-drm.modeset=1 added to /etc/default/grub\n" 2>&1 | tee -a "$LOG"
|
||||||
# Regenerate GRUB configuration
|
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
|
||||||
echo "nvidia-drm.modeset=1 added to /etc/default/grub" 2>&1 | tee -a "$LOG"
|
|
||||||
else
|
|
||||||
echo "nvidia-drm.modeset=1 is already present in /etc/default/grub" 2>&1 | tee -a "$LOG"
|
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
echo "/etc/default/grub does not exist"
|
# Check if nvidia_drm.fbdev=1 is present
|
||||||
|
if ! sudo grep -q "nvidia_drm.fbdev=1" /etc/default/grub; then
|
||||||
|
sudo sed -i -e 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 nvidia_drm.fbdev=1"/' /etc/default/grub
|
||||||
|
printf "nvidia_drm.fbdev=1 added to /etc/default/grub\n" 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Regenerate GRUB configuration
|
||||||
|
if sudo grep -q "nvidia-drm.modeset=1" /etc/default/grub || sudo grep -q "nvidia_drm.fbdev=1" /etc/default/grub; then
|
||||||
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
printf "GRUB configuration regenerated\n" 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "Additional steps for GRUB completed\n" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Additional for systemd-boot users
|
||||||
|
if [ -f /boot/loader/loader.conf ]; then
|
||||||
|
printf "systemd-boot bootloader detected\n" 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
|
backup_count=$(find /boot/loader/entries/ -type f -name "*.conf.bak" | wc -l)
|
||||||
|
conf_count=$(find /boot/loader/entries/ -type f -name "*.conf" | wc -l)
|
||||||
|
|
||||||
|
if [ "$backup_count" -ne "$conf_count" ]; then
|
||||||
|
find /boot/loader/entries/ -type f -name "*.conf" | while read imgconf; do
|
||||||
|
# Backup conf
|
||||||
|
sudo cp "$imgconf" "$imgconf.bak"
|
||||||
|
printf "Backup created for systemd-boot loader: %s\n" "$imgconf" 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
|
# Clean up options and update with NVIDIA settings
|
||||||
|
sdopt=$(grep -w "^options" "$imgconf" | sed 's/\b nvidia-drm.modeset=[^ ]*\b//g' | sed 's/\b nvidia_drm.fbdev=[^ ]*\b//g')
|
||||||
|
sudo sed -i "/^options/c${sdopt} nvidia-drm.modeset=1 nvidia_drm.fbdev=1" "$imgconf" 2>&1 | tee -a "$LOG"
|
||||||
|
done
|
||||||
|
|
||||||
|
printf "Additional steps for systemd-boot completed\n" 2>&1 | tee -a "$LOG"
|
||||||
|
else
|
||||||
|
printf "systemd-boot is already configured...\n" 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Blacklist nouveau
|
# Blacklist nouveau
|
||||||
if [[ -z $blacklist_nouveau ]]; then
|
if [[ -z $blacklist_nouveau ]]; then
|
||||||
read -n1 -rep "${CAT} Would you like to blacklist nouveau? (y/n)" blacklist_nouveau
|
read -n1 -rep "${CAT} Would you like to blacklist nouveau? (y/n)" blacklist_nouveau
|
||||||
@@ -94,7 +129,6 @@ if [[ $blacklist_nouveau =~ ^[Yy]$ ]]; then
|
|||||||
if [ -f "$NOUVEAU" ]; then
|
if [ -f "$NOUVEAU" ]; then
|
||||||
printf "${OK} Seems like nouveau is already blacklisted..moving on.\n"
|
printf "${OK} Seems like nouveau is already blacklisted..moving on.\n"
|
||||||
else
|
else
|
||||||
printf "\n"
|
|
||||||
echo "blacklist nouveau" | sudo tee -a "$NOUVEAU" 2>&1 | tee -a "$LOG"
|
echo "blacklist nouveau" | sudo tee -a "$NOUVEAU" 2>&1 | tee -a "$LOG"
|
||||||
printf "${NOTE} has been added to $NOUVEAU.\n"
|
printf "${NOTE} has been added to $NOUVEAU.\n"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
@@ -107,7 +141,7 @@ if [[ $blacklist_nouveau =~ ^[Yy]$ ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
printf "${NOTE} Skipping nouveau blacklisting.\n" 2>&1 | tee -a "$LOG"
|
printf "${NOTE} Skipping nouveau blacklisting..." 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|||||||
@@ -12,9 +12,10 @@ LOG="install-$(date +%d-%H%M%S)_paru.log"
|
|||||||
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
WARN="$(tput setaf 166)[WARN]$(tput sgr0)"
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
ORANGE=$(tput setaf 166)
|
MAGENTA=$(tput setaf 5)
|
||||||
|
WARNING=$(tput setaf 1)
|
||||||
YELLOW=$(tput setaf 3)
|
YELLOW=$(tput setaf 3)
|
||||||
RESET=$(tput sgr0)
|
RESET=$(tput sgr0)
|
||||||
|
|
||||||
@@ -24,7 +25,7 @@ if [ ! -d Install-Logs ]; then
|
|||||||
mkdir Install-Logs
|
mkdir Install-Logs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# checking if paru-bin exist and removing if it is
|
# checking if paru exist and removing if it is
|
||||||
if [ -d paru-bin ]; then
|
if [ -d paru-bin ]; then
|
||||||
rm -rf paru-bin 2>&1 | tee -a "$LOG"
|
rm -rf paru-bin 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
@@ -36,10 +37,10 @@ if [ -n "$ISAUR" ]; then
|
|||||||
printf "\n%s - AUR helper already installed, moving on..\n" "${OK}"
|
printf "\n%s - AUR helper already installed, moving on..\n" "${OK}"
|
||||||
else
|
else
|
||||||
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
||||||
printf "\n%s - Installing paru from AUR\n" "${NOTE}"
|
printf "\n%s - Installing paru-bin from AUR\n" "${NOTE}"
|
||||||
git clone https://aur.archlinux.org/paru-bin.git || { printf "%s - Failed to clone paru from AUR\n" "${ERROR}"; exit 1; }
|
git clone https://aur.archlinux.org/paru-bin.git || { printf "%s - Failed to clone paru-bin from AUR\n" "${ERROR}"; exit 1; }
|
||||||
cd paru-bin || { printf "%s - Failed to enter paru-bin directory\n" "${ERROR}"; exit 1; }
|
cd paru-bin || { printf "%s - Failed to enter paru directory\n" "${ERROR}"; exit 1; }
|
||||||
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install paru from AUR\n" "${ERROR}"; exit 1; }
|
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install paru-bin from AUR\n" "${ERROR}"; exit 1; }
|
||||||
|
|
||||||
# moving install logs in to Install-Logs folder
|
# moving install logs in to Install-Logs folder
|
||||||
mv install*.log ../Install-Logs/ || true
|
mv install*.log ../Install-Logs/ || true
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ pipewire=(
|
|||||||
pipewire-audio
|
pipewire-audio
|
||||||
pipewire-alsa
|
pipewire-alsa
|
||||||
pipewire-pulse
|
pipewire-pulse
|
||||||
|
sof-firmware
|
||||||
)
|
)
|
||||||
|
|
||||||
############## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##############
|
############## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##############
|
||||||
@@ -26,12 +27,6 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_pipewire.log"
|
|||||||
|
|
||||||
ISAUR=$(command -v yay || command -v paru)
|
ISAUR=$(command -v yay || command -v paru)
|
||||||
|
|
||||||
# Removal of pulseaudio
|
|
||||||
printf "${YELLOW}Removing pulseaudio stuff...${RESET}\n"
|
|
||||||
for pulseaudio in pulseaudio pulseaudio-alsa pulseaudio-bluetooth; do
|
|
||||||
sudo pacman -R --noconfirm "$pulseaudio" 2>/dev/null | tee -a "$LOG" || true
|
|
||||||
done
|
|
||||||
|
|
||||||
# Disabling pulseaudio to avoid conflicts
|
# Disabling pulseaudio to avoid conflicts
|
||||||
systemctl --user disable --now pulseaudio.socket pulseaudio.service 2>/dev/null && tee -a "$LOG"
|
systemctl --user disable --now pulseaudio.socket pulseaudio.service 2>/dev/null && tee -a "$LOG"
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_rog.log"
|
|||||||
### Install software for Asus ROG laptops ###
|
### Install software for Asus ROG laptops ###
|
||||||
|
|
||||||
printf " Installing ASUS ROG packages...\n"
|
printf " Installing ASUS ROG packages...\n"
|
||||||
for ASUS in asusctl supergfxctl rog-control-center; do
|
for ASUS in power-profiles-daemon asusctl supergfxctl rog-control-center; do
|
||||||
install_package "$ASUS" 2>&1 | tee -a "$LOG"
|
install_package "$ASUS" 2>&1 | tee -a "$LOG"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -e "\e[1A\e[K${ERROR} - $ASUS Package installation failed, Please check the installation logs"
|
echo -e "\e[1A\e[K${ERROR} - $ASUS Package installation failed, Please check the installation logs"
|
||||||
@@ -27,7 +27,10 @@ install_package "$ASUS" 2>&1 | tee -a "$LOG"
|
|||||||
done
|
done
|
||||||
|
|
||||||
printf " Activating ROG services...\n"
|
printf " Activating ROG services...\n"
|
||||||
sudo systemctl enable --now supergfxd 2>&1 | tee -a "$LOG"
|
sudo systemctl enable supergfxd 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
|
printf " enabling power-profiles-daemon...\n"
|
||||||
|
sudo systemctl enable power-profiles-daemon 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,8 @@ sddm_conf_dir=/etc/sddm.conf.d
|
|||||||
|
|
||||||
wayland_sessions_dir=/usr/share/wayland-sessions
|
wayland_sessions_dir=/usr/share/wayland-sessions
|
||||||
[ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; }
|
[ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; }
|
||||||
sudo cp assets/hyprland.desktop "$wayland_sessions_dir/" 2>&1 | tee -a "$LOG"
|
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
# SDDM-themes
|
# SDDM-themes
|
||||||
valid_input=false
|
valid_input=false
|
||||||
@@ -86,7 +87,7 @@ while [ "$valid_input" != true ]; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sudo mv simple-sddm-2 /usr/share/sddm/themes/
|
sudo mv simple-sddm-2 /usr/share/sddm/themes/
|
||||||
echo -e "[Theme]\nCurrent=simple-sddm-2" | sudo tee "$sddm_conf_dir/10-theme.conf" &>> "$LOG"
|
echo -e "[Theme]\nCurrent=simple-sddm-2" | sudo tee "$sddm_conf_dir/theme.conf.user" &>> "$LOG"
|
||||||
else
|
else
|
||||||
echo -e "\e[1A\e[K${ERROR} - Failed to clone the theme repository. Please check your internet connection" | tee -a "$LOG" >&2
|
echo -e "\e[1A\e[K${ERROR} - Failed to clone the theme repository. Please check your internet connection" | tee -a "$LOG" >&2
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,12 +2,17 @@
|
|||||||
# 💫 https://github.com/JaKooLit 💫 #
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
# Thunar #
|
# Thunar #
|
||||||
|
|
||||||
|
if [[ $USE_PRESET = [Yy] ]]; then
|
||||||
|
source ./preset.sh
|
||||||
|
fi
|
||||||
|
|
||||||
thunar=(
|
thunar=(
|
||||||
thunar
|
thunar
|
||||||
thunar-volman
|
thunar-volman
|
||||||
tumbler
|
tumbler
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
thunar-archive-plugin
|
thunar-archive-plugin
|
||||||
|
xarchiver
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
@@ -31,8 +36,24 @@ printf "${NOTE} Installing Thunar Packages...\n"
|
|||||||
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THUNAR Package installation failed, Please check the installation logs"; exit 1; }
|
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THUNAR Package installation failed, Please check the installation logs"; exit 1; }
|
||||||
done
|
done
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
# Ask the user if they want to use Thunar as the default file manager
|
||||||
|
read -p "${CAT} Do you want to set Thunar as the default file manager? (y/n): " thunar_default
|
||||||
|
|
||||||
|
if [[ "$thunar_default" == [Yy] ]]; then
|
||||||
|
# Setting Thunar as the default file manager
|
||||||
|
xdg-mime default thunar.desktop inode/directory
|
||||||
|
xdg-mime default thunar.desktop application/x-wayland-gnome-saved-search
|
||||||
|
echo "${OK} Thunar has been set as the default file manager." 2>&1 | tee -a "$LOG"
|
||||||
|
else
|
||||||
|
echo "${NOTE} you choose not to set Thunar as default file manager." 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "\n"
|
||||||
|
|
||||||
# Check for existing configs and copy if does not exist
|
# 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
|
DIRPATH=~/.config/$DIR1
|
||||||
if [ -d "$DIRPATH" ]; then
|
if [ -d "$DIRPATH" ]; then
|
||||||
echo -e "${NOTE} Config for $DIR1 found, no need to copy." 2>&1 | tee -a "$LOG"
|
echo -e "${NOTE} Config for $DIR1 found, no need to copy." 2>&1 | tee -a "$LOG"
|
||||||
|
|||||||
@@ -6,8 +6,9 @@ if [[ $USE_PRESET = [Yy] ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
xdg=(
|
xdg=(
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
|
umockdev
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
@@ -33,13 +34,12 @@ for xdgs in "${xdg[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "\n"
|
|
||||||
|
|
||||||
printf "${NOTE} Checking for other XDG-Desktop-Portal-Implementations....\n"
|
printf "${NOTE} Checking for other XDG-Desktop-Portal-Implementations....\n"
|
||||||
sleep 1
|
sleep 1
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "${NOTE} XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! I can't remove it... sorry...\n"
|
printf "${NOTE} XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! I can't remove it... sorry...\n"
|
||||||
while true; do
|
while true; do
|
||||||
|
printf "\n%.0s" {1..2}
|
||||||
if [[ -z $XDPH1 ]]; then
|
if [[ -z $XDPH1 ]]; then
|
||||||
read -rp "${CAT} Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n) " XDPH1
|
read -rp "${CAT} Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n) " XDPH1
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -12,9 +12,10 @@ LOG="install-$(date +%d-%H%M%S)_yay.log"
|
|||||||
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
WARN="$(tput setaf 166)[WARN]$(tput sgr0)"
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
ORANGE=$(tput setaf 166)
|
MAGENTA=$(tput setaf 5)
|
||||||
|
WARNING=$(tput setaf 1)
|
||||||
YELLOW=$(tput setaf 3)
|
YELLOW=$(tput setaf 3)
|
||||||
RESET=$(tput sgr0)
|
RESET=$(tput sgr0)
|
||||||
|
|
||||||
@@ -23,9 +24,9 @@ if [ ! -d Install-Logs ]; then
|
|||||||
mkdir Install-Logs
|
mkdir Install-Logs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check Existing yay-bin
|
# Check Existing yay
|
||||||
if [ -d yay-bin ]; then
|
if [ -d yay ]; then
|
||||||
rm -rf yay-bin 2>&1 | tee -a "$LOG"
|
rm -rf yay 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for AUR helper and install if not found
|
# Check for AUR helper and install if not found
|
||||||
@@ -35,8 +36,8 @@ if [ -n "$ISAUR" ]; then
|
|||||||
else
|
else
|
||||||
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
||||||
printf "\n%s - Installing yay from AUR\n" "${NOTE}"
|
printf "\n%s - Installing yay from AUR\n" "${NOTE}"
|
||||||
git clone https://aur.archlinux.org/yay-bin.git || { printf "%s - Failed to clone yay from AUR\n" "${ERROR}"; exit 1; }
|
git clone https://aur.archlinux.org/yay.git || { printf "%s - Failed to clone yay from AUR\n" "${ERROR}"; exit 1; }
|
||||||
cd yay-bin || { printf "%s - Failed to enter yay-bin directory\n" "${ERROR}"; exit 1; }
|
cd yay || { printf "%s - Failed to enter yay directory\n" "${ERROR}"; exit 1; }
|
||||||
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install yay from AUR\n" "${ERROR}"; exit 1; }
|
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install yay from AUR\n" "${ERROR}"; exit 1; }
|
||||||
|
|
||||||
# moving install logs in to Install-Logs folder
|
# moving install logs in to Install-Logs folder
|
||||||
|
|||||||
@@ -6,8 +6,10 @@ if [[ $USE_PRESET = [Yy] ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
zsh=(
|
zsh=(
|
||||||
zsh
|
eza
|
||||||
zsh-completions
|
zsh
|
||||||
|
zsh-completions
|
||||||
|
fzf
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -32,7 +34,11 @@ while true; do
|
|||||||
case "$pokemon_choice" in
|
case "$pokemon_choice" in
|
||||||
[Yy]*)
|
[Yy]*)
|
||||||
zsh+=('pokemon-colorscripts-git')
|
zsh+=('pokemon-colorscripts-git')
|
||||||
sed -i '/#pokemon-colorscripts --no-title -s -r/s/^#//' assets/.zshrc
|
sed -i '/#pokemon-colorscripts --no-title -s -r/s/^#//' assets/.zshrc >> "$LOG" 2>&1
|
||||||
|
|
||||||
|
# commenting out fastfetch since pokemon was chosen to install
|
||||||
|
sed -i '/^fastfetch -c $HOME\/.config\/fastfetch\/config-compact.jsonc/s/^/#/' assets/.zshrc >> "$LOG" 2>&1
|
||||||
|
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
[Nn]*)
|
[Nn]*)
|
||||||
|
|||||||
103
install.sh
103
install.sh
@@ -1,14 +1,49 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# https://github.com/JaKooLit
|
# https://github.com/JaKooLit
|
||||||
|
|
||||||
|
# Set some colors for output messages
|
||||||
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
|
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
||||||
|
WARN="$(tput setaf 1)[WARN]$(tput sgr0)"
|
||||||
|
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
||||||
|
MAGENTA=$(tput setaf 5)
|
||||||
|
WARNING=$(tput setaf 1)
|
||||||
|
YELLOW=$(tput setaf 3)
|
||||||
|
RESET=$(tput sgr0)
|
||||||
|
|
||||||
|
|
||||||
# Check if running as root. If root, script will exit
|
# Check if running as root. If root, script will exit
|
||||||
if [[ $EUID -eq 0 ]]; then
|
if [[ $EUID -eq 0 ]]; then
|
||||||
echo "This script should not be executed as root! Exiting......."
|
echo "$ERROR This script should not be executed as root! Exiting......."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
# Check if PulseAudio package is installed
|
||||||
|
if pacman -Qq | grep -qw '^pulseaudio$'; then
|
||||||
|
echo "$ERROR PulseAudio is detected as installed. Uninstall it first or edit install.sh on line 211 (execute_script 'pipewire.sh')."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check if base-devel is installed
|
||||||
|
if pacman -Q base-devel &> /dev/null; then
|
||||||
|
echo "base-devel is already installed."
|
||||||
|
else
|
||||||
|
echo "$NOTE Install base-devel.........."
|
||||||
|
|
||||||
|
if sudo pacman -S --noconfirm --needed base-devel; then
|
||||||
|
echo "$OK base-devel has been installed successfully."
|
||||||
|
else
|
||||||
|
echo "$ERROR base-devel not found nor cannot be installed."
|
||||||
|
echo "$ACTION Please install base-devel manually before running this script... Exiting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
printf "\n%.0s" {1..3}
|
printf "\n%.0s" {1..3}
|
||||||
echo " | _. |/ _ _ | o _|_ "
|
echo " | _. |/ _ _ | o _|_ "
|
||||||
echo " \_| (_| o |\ (_) (_) |_ | |_ "
|
echo " \_| (_| o |\ (_) (_) |_ | |_ "
|
||||||
@@ -46,17 +81,6 @@ if [[ $use_preset = [Yy] ]]; then
|
|||||||
source ./preset.sh
|
source ./preset.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set some colors for output messages
|
|
||||||
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
|
||||||
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
|
||||||
NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)"
|
|
||||||
WARN="$(tput setaf 166)[WARN]$(tput sgr0)"
|
|
||||||
CAT="$(tput setaf 6)[ACTION]$(tput sgr0)"
|
|
||||||
ORANGE=$(tput setaf 166)
|
|
||||||
YELLOW=$(tput setaf 3)
|
|
||||||
RESET=$(tput sgr0)
|
|
||||||
|
|
||||||
|
|
||||||
# Function to colorize prompts
|
# Function to colorize prompts
|
||||||
colorize_prompt() {
|
colorize_prompt() {
|
||||||
local color="$1"
|
local color="$1"
|
||||||
@@ -159,6 +183,8 @@ ask_yes_no "-Do you want to configure Bluetooth?" bluetooth
|
|||||||
printf "\n"
|
printf "\n"
|
||||||
ask_yes_no "-Do you want to install Thunar file manager?" thunar
|
ask_yes_no "-Do you want to install Thunar file manager?" thunar
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
ask_yes_no "-Install AGS (aylur's gtk shell) v1 for Desktop Like Overview?" ags
|
||||||
|
printf "\n"
|
||||||
ask_yes_no "-Install & configure SDDM log-in Manager plus (OPTIONAL) SDDM Theme?" sddm
|
ask_yes_no "-Install & configure SDDM log-in Manager plus (OPTIONAL) SDDM Theme?" sddm
|
||||||
printf "\n"
|
printf "\n"
|
||||||
ask_yes_no "-Install XDG-DESKTOP-PORTAL-HYPRLAND? (For proper Screen Share ie OBS)" xdph
|
ask_yes_no "-Install XDG-DESKTOP-PORTAL-HYPRLAND? (For proper Screen Share ie OBS)" xdph
|
||||||
@@ -172,11 +198,12 @@ printf "\n"
|
|||||||
|
|
||||||
# Ensuring all in the scripts folder are made executable
|
# Ensuring all in the scripts folder are made executable
|
||||||
chmod +x install-scripts/*
|
chmod +x install-scripts/*
|
||||||
sleep 0.5
|
sleep 1
|
||||||
# Ensuring base-devel is installed
|
# Ensuring base-devel is installed
|
||||||
execute_script "00-base.sh"
|
execute_script "00-base.sh"
|
||||||
sleep 0.5
|
sleep 1
|
||||||
execute_script "pacman.sh"
|
execute_script "pacman.sh"
|
||||||
|
sleep 1
|
||||||
# Execute AUR helper script based on user choice
|
# Execute AUR helper script based on user choice
|
||||||
if [ "$aur_helper" == "paru" ]; then
|
if [ "$aur_helper" == "paru" ]; then
|
||||||
execute_script "paru.sh"
|
execute_script "paru.sh"
|
||||||
@@ -185,7 +212,7 @@ elif [ "$aur_helper" == "yay" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install hyprland packages
|
# Install hyprland packages
|
||||||
execute_script "00-hypr-pkgs.sh"
|
execute_script "01-hypr-pkgs.sh"
|
||||||
|
|
||||||
# Install pipewire and pipewire-audio
|
# Install pipewire and pipewire-audio
|
||||||
execute_script "pipewire.sh"
|
execute_script "pipewire.sh"
|
||||||
@@ -211,6 +238,9 @@ fi
|
|||||||
if [ "$thunar" == "Y" ]; then
|
if [ "$thunar" == "Y" ]; then
|
||||||
execute_script "thunar.sh"
|
execute_script "thunar.sh"
|
||||||
fi
|
fi
|
||||||
|
if [ "$ags" == "Y" ]; then
|
||||||
|
execute_script "ags.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$sddm" == "Y" ]; then
|
if [ "$sddm" == "Y" ]; then
|
||||||
execute_script "sddm.sh"
|
execute_script "sddm.sh"
|
||||||
@@ -231,26 +261,43 @@ if [ "$rog" == "Y" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$dots" == "Y" ]; then
|
if [ "$dots" == "Y" ]; then
|
||||||
execute_script "dotfiles.sh"
|
execute_script "dotfiles-main.sh"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
printf "\n${OK} Yey! Installation Completed.\n"
|
# copy fastfetch config if arch.png is not present
|
||||||
printf "\n"
|
if [ ! -f "$HOME/.config/fastfetch/arch.png" ]; then
|
||||||
sleep 2
|
cp -r assets/fastfetch "$HOME/.config/"
|
||||||
printf "\n${NOTE} You can start Hyprland by typing Hyprland (IF SDDM is not installed) (note the capital H!).\n"
|
fi
|
||||||
printf "\n"
|
|
||||||
printf "\n${NOTE} It is highly recommended to reboot your system.\n\n"
|
|
||||||
|
|
||||||
read -rp "${CAT} Would you like to reboot now? (y/n): " HYP
|
# final check essential packages if it is installed
|
||||||
|
execute_script "02-Final-Check.sh"
|
||||||
|
|
||||||
if [[ "$HYP" =~ ^[Yy]$ ]]; then
|
printf "\n%.0s" {1..1}
|
||||||
if [[ "$nvidia" == "Y" ]]; then
|
|
||||||
echo "${NOTE} NVIDIA GPU detected. Rebooting the system..."
|
# Check if hyprland or hyprland-git is installed
|
||||||
systemctl reboot
|
if pacman -Q hyprland &> /dev/null || pacman -Q hyprland-git &> /dev/null; then
|
||||||
else
|
printf "\n${OK} Hyprland is installed. However, some essential packages may not be installed Please see above!"
|
||||||
|
printf "\n${CAT} Ignore this message if it states 'All essential packages are installed.'\n"
|
||||||
|
sleep 2
|
||||||
|
printf "\n${NOTE} You can start Hyprland by typing 'Hyprland' (IF SDDM is not installed) (note the capital H!).\n"
|
||||||
|
printf "\n${NOTE} However, it is highly recommended to reboot your system.\n\n"
|
||||||
|
|
||||||
|
# Prompt user to reboot
|
||||||
|
read -rp "${CAT} Would you like to reboot now? (y/n): " HYP
|
||||||
|
|
||||||
|
# Check if the user answered 'y' or 'Y'
|
||||||
|
if [[ "$HYP" =~ ^[Yy]$ ]]; then
|
||||||
|
if [[ "$nvidia" == "Y" ]]; then
|
||||||
|
echo "${NOTE} NVIDIA GPU detected. Rebooting the system..."
|
||||||
|
fi
|
||||||
systemctl reboot
|
systemctl reboot
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
# Print error message if neither package is installed
|
||||||
|
printf "\n${WARN} Hyprland failed to install. Please check 00_CHECK-time_installed.log and other files Install-Logs/ directory...\n\n"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ gtk_themes="Y"
|
|||||||
bluetooth="Y"
|
bluetooth="Y"
|
||||||
###-Do you want to install Thunar file manager?
|
###-Do you want to install Thunar file manager?
|
||||||
thunar="Y"
|
thunar="Y"
|
||||||
|
###-Install AGS (aylur's gtk shell) v1 for Desktop Like Overview?" ags
|
||||||
|
ags="Y"
|
||||||
###-Install & configure SDDM log-in Manager plus (OPTIONAL) SDDM Theme?
|
###-Install & configure SDDM log-in Manager plus (OPTIONAL) SDDM Theme?
|
||||||
sddm="Y"
|
sddm="Y"
|
||||||
###-Install XDG-DESKTOP-PORTAL-HYPRLAND? (For proper Screen Share ie OBS)
|
###-Install XDG-DESKTOP-PORTAL-HYPRLAND? (For proper Screen Share ie OBS)
|
||||||
@@ -32,11 +34,12 @@ dots="Y"
|
|||||||
### These are the sub-questions of the above choices
|
### These are the sub-questions of the above choices
|
||||||
### Would you like to blacklist nouveau? (y/n)
|
### Would you like to blacklist nouveau? (y/n)
|
||||||
blacklist_nouveau="Y"
|
blacklist_nouveau="Y"
|
||||||
|
# Ask the user if they want to use Thunar as the default file manager
|
||||||
|
# Do you want to set Thunar as the default file manager? (y/n): "
|
||||||
|
thunar_default="Y"
|
||||||
### XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! Script cant remove nor disable it.
|
### XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! Script cant remove nor disable it.
|
||||||
### Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n)
|
### Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n)
|
||||||
XDPH1="Y"
|
XDPH1="Y"
|
||||||
### SDDM is already installed. Would you like to manually install sddm-git to remove it? This requires manual intervention. (y/n)
|
|
||||||
manual_install_sddm="N"
|
|
||||||
### OPTIONAL - Would you like to install SDDM themes? (y/n)
|
### OPTIONAL - Would you like to install SDDM themes? (y/n)
|
||||||
install_sddm_theme="Y"
|
install_sddm_theme="Y"
|
||||||
### " This script will add your user to the 'input' group."
|
### " This script will add your user to the 'input' group."
|
||||||
|
|||||||
Reference in New Issue
Block a user