add tofi to arch install

master
alex 2022-10-01 15:13:20 -05:00
parent b63a03779e
commit d875d8bb45
3 changed files with 5 additions and 5 deletions

View File

@ -88,17 +88,17 @@ wireless() {
harden() {
#install required programs
sudo pacman -S firejail apparmor
sudo pacman -S apparmor firejail
#enable apparmor service
sudo systemctl enable apparmor.service
sudo systemctl start apparmor.service
#configure apparmor to use firejail and configure firejail to automatically run for supported programs
sudo apparmor_parser -r /etc/apparmor.d/firejail-default
sudo firecfg
sudo apparmor_parser -r /etc/apparmor.d/firejail-default
sudo firecfg
#add user to /etc/firejail/firejail.users if it is not already in the file
add user to /etc/firejail/firejail.users if it is not already in the file
if [ -z "$(grep "$USER" /etc/firejail/firejail.users)" ]; then
sudo sh -c "echo '$USER' >> /etc/firejail/firejail.users"
fi

View File

@ -25,3 +25,4 @@ autotiling
cli-visualizer
wob
wayland-idle-inhibitor-git
tofi

View File

@ -82,7 +82,6 @@ firefox
ungoogled-chromium
flatpak
waylock
bemenu-wayland
foot
foot-terminfo
libsixel