diff --git a/install/1-yay.sh b/install/1-yay.sh index 4941958..df6a9cd 100644 --- a/install/1-yay.sh +++ b/install/1-yay.sh @@ -1,3 +1,5 @@ +#!/bin/bash + sudo pacman -S --needed --noconfirm base-devel if ! command -v yay &>/dev/null; then diff --git a/install/2-identification.sh b/install/2-identification.sh index c135b29..26c07d7 100644 --- a/install/2-identification.sh +++ b/install/2-identification.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Need gum to query for input yay -S --noconfirm --needed gum diff --git a/install/3-terminal.sh b/install/3-terminal.sh index d45a288..91b9e21 100644 --- a/install/3-terminal.sh +++ b/install/3-terminal.sh @@ -1,3 +1,5 @@ +#!/bin/bash + yay -S --noconfirm --needed \ wget curl unzip inetutils impala \ fd eza fzf ripgrep zoxide bat \ diff --git a/install/4-config.sh b/install/4-config.sh index bfa6fa4..385f333 100644 --- a/install/4-config.sh +++ b/install/4-config.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Copy over Omarchy configs cp -R ~/.local/share/omarchy/config/* ~/.config/ diff --git a/install/asdcontrol.sh b/install/asdcontrol.sh index 3b8548e..b74eabf 100644 --- a/install/asdcontrol.sh +++ b/install/asdcontrol.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Install asdcontrol for controlling brightness on Apple Displays if [ -z "$OMARCHY_BARE" ] && ! command -v asdcontrol &>/dev/null; then git clone https://github.com/nikosdion/asdcontrol.git /tmp/asdcontrol diff --git a/install/backgrounds.sh b/install/backgrounds.sh index 3c4fea0..135c7dc 100644 --- a/install/backgrounds.sh +++ b/install/backgrounds.sh @@ -1,3 +1,5 @@ +#!/bin/bash + BACKGROUNDS_DIR=~/.config/omarchy/backgrounds/ download_background_image() { diff --git a/install/bluetooth.sh b/install/bluetooth.sh index 018f7ca..e7b5029 100644 --- a/install/bluetooth.sh +++ b/install/bluetooth.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Install bluetooth controls yay -S --noconfirm --needed blueberry diff --git a/install/desktop.sh b/install/desktop.sh index 22bd40a..33dfd9d 100644 --- a/install/desktop.sh +++ b/install/desktop.sh @@ -1,3 +1,5 @@ +#!/bin/bash + yay -S --noconfirm --needed \ brightnessctl playerctl pamixer pavucontrol wireplumber \ fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool wl-clip-persist \ diff --git a/install/development.sh b/install/development.sh index 9fbf0ec..20d8957 100644 --- a/install/development.sh +++ b/install/development.sh @@ -1,3 +1,5 @@ +#!/bin/bash + yay -S --noconfirm --needed \ cargo clang llvm mise \ imagemagick \ diff --git a/install/docker.sh b/install/docker.sh index abb27fd..27adcd7 100644 --- a/install/docker.sh +++ b/install/docker.sh @@ -1,3 +1,5 @@ +#!/bin/bash + yay -S --noconfirm --needed docker docker-compose # Limit log size to avoid running out of disk diff --git a/install/fix-fkeys.sh b/install/fix-fkeys.sh index 40b5d93..54a76cf 100644 --- a/install/fix-fkeys.sh +++ b/install/fix-fkeys.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if [[ ! -f /etc/modprobe.d/hid_apple.conf ]]; then echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf diff --git a/install/fonts.sh b/install/fonts.sh index 1b04eb5..87afc3d 100644 --- a/install/fonts.sh +++ b/install/fonts.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if [ -z "$OMARCHY_BARE" ]; then yay -Sy --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra else diff --git a/install/hyprlandia.sh b/install/hyprlandia.sh index a8c060f..a13fccc 100644 --- a/install/hyprlandia.sh +++ b/install/hyprlandia.sh @@ -1,3 +1,5 @@ +#!/bin/bash + yay -S --noconfirm --needed \ hyprland hyprshot hyprpicker hyprlock hypridle polkit-gnome hyprland-qtutils \ wofi waybar mako swaybg \ diff --git a/install/login.sh b/install/login.sh index 48ac5c4..55c972f 100644 --- a/install/login.sh +++ b/install/login.sh @@ -1,4 +1,5 @@ #!/bin/bash + # Hyprland launched via UWSM and login directly as user, rely on disk encryption + hyprlock for security yay -S --noconfirm --needed uwsm diff --git a/install/mimetypes.sh b/install/mimetypes.sh index 87486c2..ee867ab 100644 --- a/install/mimetypes.sh +++ b/install/mimetypes.sh @@ -1,3 +1,5 @@ +#!/bin/bash + update-desktop-database ~/.local/share/applications # Open all images with imv diff --git a/install/network.sh b/install/network.sh index 66b6c63..2fd5d7b 100644 --- a/install/network.sh +++ b/install/network.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Install iwd explicitly if it wasn't included in archinstall # This can happen if archinstall used ethernet if ! command -v iwd &>/dev/null; then diff --git a/install/nvidia.sh b/install/nvidia.sh index 3b310b8..c78d3c2 100644 --- a/install/nvidia.sh +++ b/install/nvidia.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # ============================================================================== # Hyprland NVIDIA Setup Script for Arch Linux # ============================================================================== diff --git a/install/nvim.sh b/install/nvim.sh index d1c5c85..e8e8560 100644 --- a/install/nvim.sh +++ b/install/nvim.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if ! command -v nvim &>/dev/null; then yay -S --noconfirm --needed nvim luarocks tree-sitter-cli diff --git a/install/plymouth.sh b/install/plymouth.sh index fbc3245..ecc8657 100755 --- a/install/plymouth.sh +++ b/install/plymouth.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash if ! command -v plymouth &>/dev/null; then yay -S --noconfirm --needed plymouth diff --git a/install/power.sh b/install/power.sh index 0ae0c0c..34b4852 100644 --- a/install/power.sh +++ b/install/power.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Setting the performance profile can make a big difference. By default, most systems seem to start in balanced mode, # even if they're not running off a battery. So let's make sure that's changed to performance. yay -S --noconfirm power-profiles-daemon @@ -5,7 +7,7 @@ yay -S --noconfirm power-profiles-daemon if ls /sys/class/power_supply/BAT* &>/dev/null; then # This computer runs on a battery powerprofilesctl set balanced || true - + # Enable battery monitoring timer for low battery notifications systemctl --user enable --now omarchy-battery-monitor.timer || true else diff --git a/install/printer.sh b/install/printer.sh index 3c75efc..17b2d31 100644 --- a/install/printer.sh +++ b/install/printer.sh @@ -1,2 +1,4 @@ +#!/bin/bash + sudo pacman -S --noconfirm cups cups-pdf cups-filters system-config-printer sudo systemctl enable --now cups.service diff --git a/install/ruby.sh b/install/ruby.sh index 3e10636..5ec98a2 100644 --- a/install/ruby.sh +++ b/install/ruby.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Install Ruby using gcc-14 for compatibility yay -S --noconfirm --needed gcc14 mise settings set ruby.ruby_build_opts "CC=gcc-14 CXX=g++-14" diff --git a/install/theme.sh b/install/theme.sh index 65184bc..cad2666 100644 --- a/install/theme.sh +++ b/install/theme.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Use dark mode for QT apps too (like kdenlive) sudo pacman -S --noconfirm kvantum-qt5 diff --git a/install/webapps.sh b/install/webapps.sh index 21e1d13..8059419 100644 --- a/install/webapps.sh +++ b/install/webapps.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if [ -z "$OMARCHY_BARE" ]; then source ~/.local/share/omarchy/default/bash/functions web2app "HEY" https://app.hey.com https://www.hey.com/assets/images/general/hey.png diff --git a/install/xtras.sh b/install/xtras.sh index 7c205b5..77eeb87 100644 --- a/install/xtras.sh +++ b/install/xtras.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if [ -z "$OMARCHY_BARE" ]; then yay -S --noconfirm --needed \ gnome-calculator gnome-keyring signal-desktop \