aboutsummaryrefslogtreecommitdiffstats
path: root/etc/redshift.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-02-28 23:42:36 +0000
committerLibravatar GitHub <noreply@github.com>2019-02-28 23:42:36 +0000
commit960a7eb3d0ec95718ed77a0f44ec8ad07fba283a (patch)
tree289a17a53b3b9482b9a135a540c639e27fea54f9 /etc/redshift.profile
parentMerge pull request #2481 from rusty-snake/gnome-mpv_to_celluloid (diff)
downloadfirejail-960a7eb3d0ec95718ed77a0f44ec8ad07fba283a.tar.gz
firejail-960a7eb3d0ec95718ed77a0f44ec8ad07fba283a.tar.zst
firejail-960a7eb3d0ec95718ed77a0f44ec8ad07fba283a.zip
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
Diffstat (limited to 'etc/redshift.profile')
-rw-r--r--etc/redshift.profile49
1 files changed, 49 insertions, 0 deletions
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 @@
1# Firejail profile for redshift
2# Description: Adjusts the color temperature of your screen according to your surroundings
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include redshift.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${HOME}/.config/redshift
11noblacklist ${HOME}/.config/redshift.conf
12
13include disable-common.inc
14include disable-devel.inc
15include disable-passwdmgr.inc
16include disable-interpreters.inc
17include disable-programs.inc
18include disable-xdg.inc
19
20include whitelist-var-common.inc
21
22apparmor
23caps.drop all
24ipc-namespace
25machine-id
26netfilter
27no3d
28nodbus
29nodvd
30nogroups
31nonewprivs
32noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix,inet,inet6
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-cache
44private-dev
45private-tmp
46
47memory-deny-write-execute
48noexec ${HOME}
49noexec /tmp