-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
46 lines (34 loc) · 1.66 KB
/
install.sh
File metadata and controls
46 lines (34 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
if command -v yay &>/dev/null; then
PKG_MGR="yay"
elif command -v paru &>/dev/null; then
PKG_MGR="paru"
else
echo "Neither yay nor paru is installed. Please install one before running the script."
exit 1
fi
sudo sed -i 's/^#\(ja_JP.UTF-8 UTF-8\)/\1/' /etc/locale.gen
sudo locale-gen
sudo pacman -S --needed hyprland mission-center fcitx5 fcitx5-configtool fcitx5-gtk fcitx5-qt fcitx5-skk qt6ct qt5ct alacritty exa sdl2 glfw hypridle hyprcursor swww pipewire pipewire-pulse wireplumber xdg-desktop-portal xdg-desktop-portal-hyprland gtk3 fcitx5-configtool ttf-jetbrains-mono-nerd noto-fonts-cjk ttf-hack bluez bluez-utils blueman pavucontrol networkmanager network-manager-applet nautilus grim slurp jq wl-clipboard cliphist hyprpicker hyprlock noto-fonts-emoji waybar swaync fish materia-gtk-theme qt5-wayland qt6-wayland fastfetch polkit-gnome wofi file-roller gvfs-mtp hyprshot guvcview xorg-xhost zenity noto-fonts
$PKG_MGR -S --needed hyprshade wlogout emote python-pywal16
xdg-mime default org.gnome.Nautilus.desktop inode/directory
xhost +SI:localuser:root
systemctl --user enable --now hypridle.service
sudo systemctl enable bluetooth.service
rm -f README.md
rm -f LICENSE
sudo cp -r ~/.config ~/.config-backup
sudo chown -R $USER:$(id -gn $USER) ~/.config-backup
sudo mv Future-dark-cursors /usr/share/icons/
rm -rf ~/.config/hypr ~/.config/alacritty ~/.config/fish ~/.config/wofi ~/.config/swaync ~/.config/waybar ~/.config/wlogout ~/.config/fastfetch
shopt -s dotglob
mv ./* ~/.config
shopt -u dotglob
rm -rf ../dots-hyprland/
chmod +x ~/.config/hypr/scripts/*
hyprctl reload
if pgrep waybar >/dev/null; then
pkill waybar
sleep 1
fi
waybar >/dev/null 2>&1 &