diff --git a/install/1-yay.sh b/install/1-yay.sh index 49419588..df6a9cda 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 c135b29b..26c07d7c 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 d45a288b..91b9e212 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 bfa6fa47..385f3333 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 3b8548e4..b74eabf9 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 3c4fea0e..135c7dc6 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 018f7ca0..e7b5029c 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 22bd40aa..33dfd9d6 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 9fbf0ec1..20d89573 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 abb27fdc..27adcd7c 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 40b5d933..54a76cfd 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 1b04eb51..87afc3d0 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 a8c060f5..a13fcccd 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 48ac5c48..55c972f2 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 87486c23..ee867ab7 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 66b6c63b..2fd5d7b3 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 3b310b85..c78d3c28 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 d1c5c855..e8e8560a 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 fbc32451..ecc86570 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 0ae0c0c7..34b48527 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 3c75efce..17b2d311 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 3e10636b..5ec98a29 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 65184bcf..cad2666c 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 21e1d131..80594198 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 7c205b5e..77eeb87b 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 \