mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Merge pull request #98 from JaKooLit/Ubuntu-24.04-LTS
Ubuntu 24.04 lts main to development (ubuntu)
This commit is contained in:
commit
4c9db79775
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -7,6 +7,10 @@ labels: "Something isn't working"
|
|||||||
|
|
||||||
## Bug Report
|
## Bug Report
|
||||||
|
|
||||||
|
### Before submitting report
|
||||||
|
|
||||||
|
[Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]
|
||||||
|
|
||||||
### Description
|
### Description
|
||||||
|
|
||||||
[Provide a clear and concise description of the bug.]
|
[Provide a clear and concise description of the bug.]
|
||||||
|
|||||||
4
.github/ISSUE_TEMPLATE/custom.md
vendored
4
.github/ISSUE_TEMPLATE/custom.md
vendored
@ -7,6 +7,10 @@ labels: "custom"
|
|||||||
|
|
||||||
## Custom Template
|
## Custom Template
|
||||||
|
|
||||||
|
### Before submitting report
|
||||||
|
|
||||||
|
[Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]
|
||||||
|
|
||||||
### Description
|
### Description
|
||||||
|
|
||||||
[Provide a clear and concise description of the issue or request.]
|
[Provide a clear and concise description of the issue or request.]
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
|
## 04 June 2024
|
||||||
|
- switched over to source install for imagemagick
|
||||||
|
- removal of fzf for Debian and Ubuntu (headache)
|
||||||
|
|
||||||
## 26 May 2024
|
## 26 May 2024
|
||||||
- Added fzf for zsh (CTRL R to invoke FZF history)
|
- Added fzf for zsh (CTRL R to invoke FZF history)
|
||||||
|
|
||||||
|
|||||||
@ -102,6 +102,9 @@ https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-991
|
|||||||
- 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)
|
||||||
- The dotfiles that will be pulled by this installer is only specific. Since newer dotfiles might not work properly
|
- The dotfiles that will be pulled by this installer is only specific. Since newer dotfiles might not work properly
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> There is a lot of changes on Hyprland v0.40.0. And because of this, the latest Hyprland-Dots compatible for this script will be Hyprland-Dots v2.2.12 [`LINK`](https://github.com/JaKooLit/Hyprland-Dots/releases/tag/v2.2.12)
|
||||||
|
|
||||||
#### ✨ Some notes on this installer / Prerequisites
|
#### ✨ Some notes on this installer / Prerequisites
|
||||||
- This script is meant to install in Ubuntu 24.04 LTS
|
- This script is meant to install in Ubuntu 24.04 LTS
|
||||||
- If you are using gnome already, DO NOT install SDDM. GDM will work. Apart from GDM and SDDM, any other Login Manager may not work nor launch Hyprland. However, hyprland can be launched through tty by type Hyprland
|
- If you are using gnome already, DO NOT install SDDM. GDM will work. Apart from GDM and SDDM, any other Login Manager may not work nor launch Hyprland. However, hyprland can be launched through tty by type Hyprland
|
||||||
@ -219,6 +222,7 @@ log into your account
|
|||||||
- [ ] Installing SDDM if or any other Login Manager installed. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
- [ ] Installing SDDM if or any other Login Manager installed. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
||||||
- [ ] network is down or become unmanaged [`This`](https://askubuntu.com/questions/71159/network-manager-says-device-not-managed) might help
|
- [ ] network is down or become unmanaged [`This`](https://askubuntu.com/questions/71159/network-manager-says-device-not-managed) might help
|
||||||
- [ ] pyprland is a hit and miss. Drop down not working, zooming is hit and miss
|
- [ ] pyprland is a hit and miss. Drop down not working, zooming is hit and miss
|
||||||
|
- [ ] See note above about Hyprland-Dots newer version incompatibility
|
||||||
|
|
||||||
|
|
||||||
#### 📒 Final Notes
|
#### 📒 Final Notes
|
||||||
|
|||||||
@ -19,10 +19,3 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
#pokemon-colorscripts --no-title -s -r
|
#pokemon-colorscripts --no-title -s -r
|
||||||
|
|
||||||
|
|
||||||
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
|
|
||||||
source <(fzf --zsh)
|
|
||||||
|
|
||||||
HISTFILE=~/.zsh_history
|
|
||||||
HISTSIZE=10000
|
|
||||||
SAVEHIST=10000
|
|
||||||
setopt appendhistory
|
|
||||||
|
|||||||
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" "")
|
||||||
8
assets/gtk-3.0/bookmarks
Normal file
8
assets/gtk-3.0/bookmarks
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
file:///home/ja/Documents
|
||||||
|
file:///home/ja/Downloads
|
||||||
|
file:///home/ja/Pictures
|
||||||
|
file:///home/ja/Videos
|
||||||
|
file:///home/ja/00shared-drives/shared-1TB
|
||||||
|
file:///home/ja/00shared-drives/shared-500G
|
||||||
|
file:///home/ja/00shared-drives/shared-500G/000-git-packages
|
||||||
|
file:///home/ja/00shared-drives/shared-500G/Music-shared
|
||||||
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
|
||||||
@ -16,7 +16,6 @@ hypr_package=(
|
|||||||
grim
|
grim
|
||||||
gvfs
|
gvfs
|
||||||
gvfs-backends
|
gvfs-backends
|
||||||
imagemagick
|
|
||||||
kitty
|
kitty
|
||||||
nano
|
nano
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# Hyprland-Dots to download a specific release #
|
# Hyprland-Dots to download a specific release #
|
||||||
|
|
||||||
# Define the specific release version to download
|
# Define the specific release version to download
|
||||||
specific_version="v2.2.12"
|
specific_version="v2.2.13"
|
||||||
|
|
||||||
## 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! ##
|
||||||
|
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# 💫 https://github.com/JaKooLit 💫 #
|
|
||||||
# force reinstall packages cause it says its already installed but still not
|
|
||||||
# some users report that they need to install this packages
|
|
||||||
|
|
||||||
force=(
|
|
||||||
imagemagick
|
|
||||||
)
|
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
|
||||||
# Determine the directory where the script is located
|
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
|
|
||||||
# Change the working directory to the parent directory of the script
|
|
||||||
PARENT_DIR="$SCRIPT_DIR/.."
|
|
||||||
cd "$PARENT_DIR" || exit 1
|
|
||||||
|
|
||||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|
||||||
|
|
||||||
# Set the name of the log file to include the current date and time
|
|
||||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_force.log"
|
|
||||||
|
|
||||||
printf "${NOTE} Force installing packages...\n"
|
|
||||||
for FORCE in "${force[@]}"; do
|
|
||||||
sudo apt-get --reinstall install -y "$FORCE" 2>&1 | tee -a "$LOG"
|
|
||||||
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE Package installation failed, Please check the installation logs"; exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
clear
|
|
||||||
61
install-scripts/imagemagick.sh
Executable file
61
install-scripts/imagemagick.sh
Executable file
@ -0,0 +1,61 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
|
# imagemagick from source #
|
||||||
|
|
||||||
|
depend=(
|
||||||
|
build-essential
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
|
# Determine the directory where the script is located
|
||||||
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
# Change the working directory to the parent directory of the script
|
||||||
|
PARENT_DIR="$SCRIPT_DIR/.."
|
||||||
|
cd "$PARENT_DIR" || exit 1
|
||||||
|
|
||||||
|
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||||
|
|
||||||
|
# Set the name of the log file to include the current date and time
|
||||||
|
LOG="Install-Logs/install-$(date +%d-%H%M%S)_image.log"
|
||||||
|
MLOG="install-$(date +%d-%H%M%S)_image.log"
|
||||||
|
|
||||||
|
# Installing depencies
|
||||||
|
for PKG1 in "${depend[@]}"; do
|
||||||
|
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
##
|
||||||
|
printf "${NOTE} Installing ImageMagick from source...\n"
|
||||||
|
|
||||||
|
# Check if folder exists and remove it
|
||||||
|
if [ -d "ImageMagick" ]; then
|
||||||
|
printf "${NOTE} Removing existing ImageMagick folder...\n"
|
||||||
|
rm -rf "ImageMagick"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Clone and build ImageMagick
|
||||||
|
printf "${NOTE} Installing ImageMagick...\n"
|
||||||
|
if git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git; then
|
||||||
|
cd ImageMagick || exit 1
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
if sudo make install 2>&1 | tee -a "$MLOG" ; then
|
||||||
|
sudo ldconfig /usr/local/lib
|
||||||
|
printf "${OK} ImageMagick installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
|
else
|
||||||
|
echo -e "${ERROR} Installation failed for ImageMagick." 2>&1 | tee -a "$MLOG"
|
||||||
|
fi
|
||||||
|
#moving the addional logs to Install-Logs directory
|
||||||
|
mv $MLOG ../Install-Logs/ || true
|
||||||
|
cd ..
|
||||||
|
else
|
||||||
|
echo -e "${ERROR} Download failed for ImageMagick." 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
@ -32,7 +32,7 @@ printf "${NOTE} Installing Thunar Packages...\n"
|
|||||||
done
|
done
|
||||||
|
|
||||||
# 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"
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
depend=(
|
depend=(
|
||||||
librust-jpeg-decoder-dev
|
librust-jpeg-decoder-dev
|
||||||
imagemagick
|
|
||||||
rustup
|
rustup
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
zsh=(
|
zsh=(
|
||||||
zsh
|
zsh
|
||||||
zplug
|
zplug
|
||||||
fzf
|
|
||||||
)
|
)
|
||||||
|
|
||||||
## 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! ##
|
||||||
|
|||||||
12
install.sh
12
install.sh
@ -25,6 +25,16 @@ echo
|
|||||||
echo "$(tput setaf 3)NOTE: If you are installing on a VM, ensure to enable 3D acceleration else Hyprland wont start! $(tput sgr0)"
|
echo "$(tput setaf 3)NOTE: If you are installing on a VM, ensure to enable 3D acceleration else Hyprland wont start! $(tput sgr0)"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
printf "\n%.0s" {1..4}
|
||||||
|
echo "$(tput bold)$(tput setaf 3)ATTENTION!!!! VERY IMPORTANT NOTICE!!!! $(tput sgr0)"
|
||||||
|
echo "$(tput bold)$(tput setaf 7)Latest Hyprland compatible with Ubuntu 24.04 is only up to v0.39.1 $(tput sgr0)"
|
||||||
|
echo "$(tput bold)$(tput setaf 7)This was due to old version is wayland-protocols available in Ubuntu Repo $(tput sgr0)"
|
||||||
|
echo "$(tput bold)$(tput setaf 7)Because of the above, the latest Hyprland-Dots compatible will only be v2.2.13 $(tput sgr0)"
|
||||||
|
echo "$(tput bold)$(tput setaf 7)Newer dots may not be compatible.$(tput sgr0)"
|
||||||
|
echo "$(tput bold)$(tput setaf 7)This would also mean that support for this project might slowdown$(tput sgr0)"
|
||||||
|
echo "$(tput bold)$(tput setaf 7)Please be guided$(tput sgr0)"
|
||||||
|
printf "\n%.0s" {1..3}
|
||||||
|
|
||||||
read -p "$(tput setaf 6)Would you like to proceed? (y/n): $(tput sgr0)" proceed
|
read -p "$(tput setaf 6)Would you like to proceed? (y/n): $(tput sgr0)" proceed
|
||||||
|
|
||||||
if [ "$proceed" != "y" ]; then
|
if [ "$proceed" != "y" ]; then
|
||||||
@ -150,12 +160,12 @@ sudo apt update
|
|||||||
# Install hyprland packages
|
# Install hyprland packages
|
||||||
execute_script "00-dependencies.sh"
|
execute_script "00-dependencies.sh"
|
||||||
execute_script "00-hypr-pkgs.sh"
|
execute_script "00-hypr-pkgs.sh"
|
||||||
|
execute_script "imagemagick.sh"
|
||||||
execute_script "fonts.sh"
|
execute_script "fonts.sh"
|
||||||
execute_script "swappy.sh"
|
execute_script "swappy.sh"
|
||||||
execute_script "swww.sh"
|
execute_script "swww.sh"
|
||||||
execute_script "rofi-wayland.sh"
|
execute_script "rofi-wayland.sh"
|
||||||
execute_script "wallust.sh"
|
execute_script "wallust.sh"
|
||||||
execute_script "force-install.sh"
|
|
||||||
execute_script "ags.sh"
|
execute_script "ags.sh"
|
||||||
execute_script "hyprlang.sh"
|
execute_script "hyprlang.sh"
|
||||||
execute_script "hyprlock.sh"
|
execute_script "hyprlock.sh"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user