end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.16k stars 204 forks source link

[Feature] Add a simple script to remove unused dependencies with pacman #476

Closed clsty closed 2 months ago

clsty commented 2 months ago

What would you like to be added?

Right now there are some quick scripts. Open left sidebar -> Tools -> Quick Scripts -> Click on one of them.

I propose to add one more running the following command:

sudo pacman -R $(pacman -Qdtq)

How will it help

This script will remove unused packages.

An unused package means:

So it's safe to remove them.

Extra info