add tofi to arch install
parent
b63a03779e
commit
d875d8bb45
|
@ -88,17 +88,17 @@ wireless() {
|
||||||
|
|
||||||
harden() {
|
harden() {
|
||||||
#install required programs
|
#install required programs
|
||||||
sudo pacman -S firejail apparmor
|
sudo pacman -S apparmor firejail
|
||||||
|
|
||||||
#enable apparmor service
|
#enable apparmor service
|
||||||
sudo systemctl enable apparmor.service
|
sudo systemctl enable apparmor.service
|
||||||
sudo systemctl start apparmor.service
|
sudo systemctl start apparmor.service
|
||||||
|
|
||||||
#configure apparmor to use firejail and configure firejail to automatically run for supported programs
|
#configure apparmor to use firejail and configure firejail to automatically run for supported programs
|
||||||
sudo apparmor_parser -r /etc/apparmor.d/firejail-default
|
sudo apparmor_parser -r /etc/apparmor.d/firejail-default
|
||||||
sudo firecfg
|
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
|
if [ -z "$(grep "$USER" /etc/firejail/firejail.users)" ]; then
|
||||||
sudo sh -c "echo '$USER' >> /etc/firejail/firejail.users"
|
sudo sh -c "echo '$USER' >> /etc/firejail/firejail.users"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -25,3 +25,4 @@ autotiling
|
||||||
cli-visualizer
|
cli-visualizer
|
||||||
wob
|
wob
|
||||||
wayland-idle-inhibitor-git
|
wayland-idle-inhibitor-git
|
||||||
|
tofi
|
||||||
|
|
|
@ -82,7 +82,6 @@ firefox
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
flatpak
|
flatpak
|
||||||
waylock
|
waylock
|
||||||
bemenu-wayland
|
|
||||||
foot
|
foot
|
||||||
foot-terminfo
|
foot-terminfo
|
||||||
libsixel
|
libsixel
|
||||||
|
|
Loading…
Reference in New Issue