From 91a6566d6818c619332350eca5351826b625c827 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 11 Sep 2025 20:25:42 +0200 Subject: [PATCH] [Install] Finish up --- .../xdg-desktop-portal-termfilechooser/config | 3 ++ install | 38 +++++++++++++------ setup | 1 + 3 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 config/xdg-desktop-portal-termfilechooser/config diff --git a/config/xdg-desktop-portal-termfilechooser/config b/config/xdg-desktop-portal-termfilechooser/config new file mode 100644 index 0000000..ec3efae --- /dev/null +++ b/config/xdg-desktop-portal-termfilechooser/config @@ -0,0 +1,3 @@ +[filechooser] +cmd=yazi-wrapper.sh +default_dir=$HOME diff --git a/install b/install index 9f32c32..dd15102 100755 --- a/install +++ b/install @@ -1,13 +1,10 @@ #!/bin/sh -# Read platform to install on (only if no platform file present in ~/.config/) -read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform +echo "Welcome. Please run as user. Sudo required" + -# Packages to be added to install: aylurs-gtk-shell-git, brightnessctl, zoxide, trash-cli, fzf, ouch -# Install yazi plugins using ya pack -a ndtoan96/ouch and ya pack -a boydaihungst/restore -# # Hyprland -yay -S hyprland hypridle hyprfreeze hyprlock plymouth aylurs-gtk-shell-git brightnessctl pulsemixer xdg-desktop-portal-hyprland cliphist grimblast wl-clipboard polkit-gnome swaybg polkit-kde-agent +yay -S hyprland hypridle hyprfreeze hyprlock plymouth aylurs-gtk-shell-git brightnessctl pulsemixer xdg-desktop-portal-hyprland cliphist grimblast wl-clipboard polkit-gnome swaybg polkit-kde-agent grim # Audio, drivers echo "==> Installing drivers..." @@ -15,7 +12,7 @@ yay -S pipewire pipewire-alsa pipewire-pulse pipewire-jack mesa wireplumber tras # Tools echo "==> Installing tools..." -yay -S fish fzf ouch zathura wget vimiv zoxide thunar yazi gnome-tweaks lxappearance gnome-keyring ffmpeg network-manager-applet cpupower-gui +yay -S fish fzf ouch zathura wget vimiv zoxide thunar yazi gnome-tweaks lxappearance gnome-keyring ffmpeg network-manager-applet cpupower-gui python-tkinter acpi python-pillow # Set up yazi echo "==> Setting up yazi..." @@ -29,20 +26,20 @@ yay -S adobe-source-code-pro-fonts gnome-font-viewer gnome-characters ttf-fantas # Programming echo "==> Installing coding tools..." -yay -S meld docker vscodium kitty fish docker terminator bvi nodejs npm python-pip git-credential-manager-core-bin wine kate rustup cargo filezilla php jdk +yay -S meld docker vscodium kitty fish docker terminator bvi nodejs npm python-pip git-credential-manager-core-bin wine kate rustup cargo filezilla php jdk # nvim echo "==> Installing nvim..." -yay -S neovim lua lua-language-server tree-sitter texlab stylua luarocks jdtls perl julia autojump pyright vscode-css-languageserver vscode-html-languageserver bash-language-server lazygit python-black proselint asmfmt typescript-language-server +yay -S neovim lua lua-language-server tree-sitter texlab stylua luarocks jdtls perl julia autojump pyright vscode-css-languageserver vscode-html-languageserver bash-language-server lazygit python-black proselint asmfmt typescript-language-server shfmt sudo npm i -g @vue/typescript-plugin # Internet echo "==> Installing internet programs..." -yay -S librewolf-bin webcord-bin thunderbird rustdesk brave-bin +yay -S librewolf-bin vesktop-bin thunderbird rustdesk brave-bin # Utilities echo "==> Installing other utilities..." -yay -S okular vlc nextcloud-client p7zip zip unzip gnome-keyring noto-fonts thunderbird pamixer pavucontrol light neofetch bashtop hugo sddm uxplay upower gdu +yay -S okular vlc nextcloud-client p7zip zip unzip gnome-keyring noto-fonts thunderbird pamixer pavucontrol light fastfetch bashtop hugo sddm uxplay upower gdu dig nwg-look serpl fcitx5 qalculate-gtk openconnect light blueman xdg-desktop-portal-termfilechooser-hunkiburrito-git # LaTeX echo "==> Installing LaTeX..." @@ -51,3 +48,22 @@ yay -S texlive biber textlive-latexextras texlab # WebDev utilities echo "==> Installing webdev utilities..." sudo npm i -g create-vue sitemap-generator-cli + + +echo "Adjust the interface font using GNOME Tweaks" + +mkdir ~/NextCloud/ +read -p "Press enter after logging into NextCloud" + +unzip ~/NextCloud/Documents/Private/PC/oreo_spark_blue_cursors.zip +tar -xf ~/NextCloud/Documents/Private/PC/monterey-grub-theme.tar.xz + +cd ~/NextCloud/Documents/Private/PC/monterey-grub-theme +./install.sh + +cd ../ + +cp ./oreo_spark_blue_cursors /usr/share/icons/ + + +echo "DONE!" diff --git a/setup b/setup index 5ef9506..fdf07eb 100755 --- a/setup +++ b/setup @@ -55,6 +55,7 @@ cp -r ./config/fish ~/.config/ cp -r ./config/hypr ~/.config/ rm -rf ~/.config/rofi/ cp -r ./config/rofi ~/.config/ +cp -r ./config/xdg-desktop-portal-termfilechooser/ ~/.config/ # Depending on platform, remove one or the other config and rename remaining one if [[ "$platform" == "d" ]]; then