-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomize.sh
45 lines (34 loc) · 1.24 KB
/
customize.sh
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
#!/bin/bash
yay -Syu --noconfirm
# xkb-switch - to determine the layout
yay -Sy --noconfirm xkb-switch
# grim for screenshots, slurp specific area
# playerctl - music control
# swaidle - auto-lock after a certain period of time
# gammastep - setting up a blue filter
# jq - for query in layout-status.sh
# ranger - console file manager, vim - code editor, fish - shell
# libappindicator-gtk3, xdg-desktop-portal-wlr - to display the telegram icon
sudo pacman -Sy --noconfirm hyprland hyprlock hyprpaper \
waybar grim slurp wl-clipboard ttf-jetbrains-mono-nerd \
playerctl swayidle gammastep jq ranger vim fish \
libappindicator-gtk3 xdg-desktop-portal-wlr
sudo usermod -aG input $USER # To display some icons
# Apply current configs
mkdir -p ~/Pictures/screenshots
mkdir -p ~/Pictures/wallpapers
cp archlinux-logo.png ~/Pictures/
cp girl-cat-night.jpeg nature-and-deer.jpg ~/Pictures/wallpapers/
start_dir=$(pwd)
# Save previous configs
cd ~
if ! mkdir -p .config; then
cd .config
mkdir -p old_config
mv fish hypr kitty ranger waybar ~/.config/old_config
fi
cd "$start_dir"
cp -r fish hypr kitty ranger waybar ~/.config
sudo sh -c 'echo $(which fish) >> /etc/shells' # Add to the list of allowed
chsh -s $(which fish) # Change shell
reboot