-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sh
36 lines (32 loc) · 1.24 KB
/
init.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
#!/bin/sh
# Personal stuff
# KDE - Change taskbar behaviour
sed -i '/panelVisibility/c\panelVisibility=2' ~/.config/plasmashellrc
sed -i '/thickness/c\thickness=36' ~/.config/plasmashellrc
# KDE - Session
sed -i '4i [General]' ~/.config/ksmserverrc
sed -i '5i confirmLogout=false' ~/.config/ksmserverrc
sed -i '6i excludeApps=timeshift-gtk' ~/.config/ksmserverrc
# Firefox - Compact mode ( UI density )
echo "user_pref(\"browser.compactmode.show\", \"true\");" >> ~/.mozilla/firefox/*.default/user.js
echo "user_pref(\"browser.uidensity\", \"1\");" >> ~/.mozilla/firefox/*.default/user.js
# Code
yay -S --noconfirm code
cp settings.json '~/.config/Code - OSS/User/'
# Barrier
yay -S --noconfirm barrier-headless
cp barrierc.desktop ~/.config/autostart/
# Configuring EndeavourOS
# Configure git
git config --global user.name "Thom"
git config -S --noconfirm --global user.email "[email protected]"
# Configure backup
yay timeshift grub-btrfs
sudo sed -i 's@/.snapshots@--timeshift-auto@g' /etc/systemd/system/grub-btrfsd.service
sudo systemctl daemon-reload
sudo systemctl enable grub-btrfsd.service
# Install ZEN
yay -S --noconfirm linux-zen linux-zen-headers
yay -R --noconfirm linux linux-headers
sudo dracut-rebuild
sudo grub-mkconfig -o /boot/grub/grub.cfg