Skip to content

Commit e3137c8

Browse files
committed
added task managers and made full use of swap memory
1 parent 922d6ad commit e3137c8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

installscript.sh

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if [ "$1" = "install" ]; then
3535
minecraft-launcher # because XD
3636
python3 python-pip # neovim uses python???
3737
i3-gaps # the WM I use :)
38+
btop htop # task managers :)
3839
)
3940

4041
for package in ${packages[@]}; do
@@ -137,6 +138,10 @@ cp $dotfiles/picom.conf ~/.config
137138
echo "Installing jordans polybar config..."
138139
cp $dotfiles/polybar.ini ~/.config/polybar/config.ini
139140

141+
echo "Setting up swap memory..."
142+
sudo cp $dotfiles/sysctl.conf /etc
143+
sudo sysctl vm.swappiness=100
144+
140145
cd $dotfiles
141146
# usermod --shell $oldshell $user # change shell to what it was previously
142147
echo "Installation script finished."

sysctl.conf

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# use all swap memory
2+
vm.swappiness = 100

0 commit comments

Comments
 (0)