Setup: clean up mask, optiall with sh

This commit is contained in:
Phantop 2020-11-06 15:31:36 -05:00
parent 4aaa67b0f7
commit 4c611f3274
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
fd -e pdf | parallel cpdfsqueeze {} {}
fd -e png | parallel oxipng {}
fd -e epub | parallel advzip -z4 {}

7
.setup
View File

@ -29,8 +29,7 @@ chsh -s /usr/bin/fish
sh -c "$(curl -sL https://nextdns.io/install)"
for i in tracker-store tracker-mine-fs tracker-miner-rss tracker-extra tracker-miner-apps tracker-writeback; do
systemctl --user mask $i.service
sudo systemctl mask $i.service
done
tracker=tracker-store tracker-mine-fs tracker-miner-rss tracker-extra tracker-miner-apps tracker-writeback
systemctl --user mask $tracker
sudo systemctl mask $tracker
tracker reset --hard