BMMevius / configs-and-programs

Config files and programs
0 stars 0 forks source link

Add `firejail` and pacman hook #19

Closed BMMevius closed 2 years ago

BMMevius commented 2 years ago

https://wiki.archlinux.org/title/Firejail

/etc/pacman.d/hooks/firejail.hook
-------------------------------------
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/bin/*
Target = usr/local/bin/*
Target = usr/share/applications/*.desktop

[Action]
Description = Configure symlinks in /usr/local/bin based on firecfg.config...
When = PostTransaction
Depends = firejail
Exec = /bin/sh -c 'firecfg >/dev/null 2>&1'