From 960a7eb3d0ec95718ed77a0f44ec8ad07fba283a Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Thu, 28 Feb 2019 23:42:36 +0000 Subject: Add new profile for redshift (#2483) * Add new config item for redshift to disable-programs.inc As per https://github.com/jonls/redshift/blob/master/NEWS.md redshift now looks for the configuration file in `~/.config/redshift/redshift.conf`. The former location at `~/.config/redshift.conf` is deprecated but still searched as a fallback. * Create redshift.profile * Add redshift to firecfg --- etc/redshift.profile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 etc/redshift.profile (limited to 'etc/redshift.profile') diff --git a/etc/redshift.profile b/etc/redshift.profile new file mode 100644 index 000000000..351b54075 --- /dev/null +++ b/etc/redshift.profile @@ -0,0 +1,49 @@ +# Firejail profile for redshift +# Description: Adjusts the color temperature of your screen according to your surroundings +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include redshift.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/redshift +noblacklist ${HOME}/.config/redshift.conf + +include disable-common.inc +include disable-devel.inc +include disable-passwdmgr.inc +include disable-interpreters.inc +include disable-programs.inc +include disable-xdg.inc + +include whitelist-var-common.inc + +apparmor +caps.drop all +ipc-namespace +machine-id +netfilter +no3d +nodbus +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +disable-mnt +private-cache +private-dev +private-tmp + +memory-deny-write-execute +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-54-g00ecf