commit 8abc519eb6e684f38400f5155ea21a92054e363b Author: Michał Krawczyk Date: Mon Jun 23 14:23:53 2025 +0200 First commit Signed-off-by: Michał Krawczyk diff --git a/README.md b/README.md new file mode 100644 index 0000000..79b5043 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Nevy's Dotfiles +My collection of various dotfiles. Mostly for backup purposes and ease of configuration. + +*You probably don't want to just run them on your system. Excercise caution.* diff --git a/scripts/fstrim-enable.sh b/scripts/fstrim-enable.sh new file mode 100755 index 0000000..f157d7e --- /dev/null +++ b/scripts/fstrim-enable.sh @@ -0,0 +1,10 @@ +#! /usr/bin/bash +echo "Checking if FSTrim is enabled" +if sudo systemctl list-timers --no-pager | grep "fstrim"; then + echo "FStrim already enabled" +else + echo "Enabling FSTrim" + sudo systemctl enable fstrim.timer --now +fi + +