Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add profile for twitch,youtube,youtube-music; fix git-cola ,add cola #3577

Merged
merged 7 commits into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,11 @@ blacklist ${HOME}/.config/Slack
blacklist ${HOME}/.config/Standard Notes
blacklist ${HOME}/.config/SubDownloader
blacklist ${HOME}/.config/Thunar
blacklist ${HOME}/.config/Twitch
blacklist ${HOME}/.config/Unknown Organization
blacklist ${HOME}/.config/VirtualBox
blacklist ${HOME}/.config/Wire
blacklist ${HOME}/.config/Youtube
blacklist ${HOME}/.config/Zeal
blacklist ${HOME}/.config/ZeGrapher Project
blacklist ${HOME}/.config/abiword
Expand Down
2 changes: 1 addition & 1 deletion etc/profile-a-l/git-cola.profile
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ dbus-user filter
dbus-system none

read-only ${HOME}/.ssh
read-only ${HOME}/.gnupg
# read-only ${HOME}/.gnupg
bbhtt marked this conversation as resolved.
Show resolved Hide resolved
read-only ${HOME}/.git-credentials
38 changes: 38 additions & 0 deletions etc/profile-m-z/twitch.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Firejail profile for twitch
# Description: Unofficial electron based desktop warpper for Twitch
# This file is overwritten after every install/update
# Persistent local customizations
include twitch.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/Twitch

include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.config/Twitch
whitelist ${HOME}/.config/Twitch
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

nou2f
rusty-snake marked this conversation as resolved.
Show resolved Hide resolved
novideo
rusty-snake marked this conversation as resolved.
Show resolved Hide resolved
seccomp !chroot
shell none

disable-mnt
private-bin twitch
private-cache
private-dev
private-etc alsa,alternatives,asound.conf,ati,bumblebee,ca-certificates,crypto-policies,drirc,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,mime.types,nsswitch.conf,nvidia,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
private-opt Twitch
private-tmp

# Redirect
include electron.profile
38 changes: 38 additions & 0 deletions etc/profile-m-z/youtube.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Firejail profile for youtube
# Description: Unofficial electron based desktop warpper for YouTube
# This file is overwritten after every install/update
# Persistent local customizations
include youtube.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/Youtube

include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.config/Youtube
whitelist ${HOME}/.config/Youtube
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

nou2f
rusty-snake marked this conversation as resolved.
Show resolved Hide resolved
novideo
seccomp !chroot
shell none

disable-mnt
private-bin youtube
private-cache
private-dev
private-etc alsa,alternatives,asound.conf,ati,bumblebee,ca-certificates,crypto-policies,drirc,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,mime.types,nsswitch.conf,nvidia,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
private-opt Youtube
private-tmp

# Redirect
include electron.profile
2 changes: 2 additions & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ truecraft
tshark
tuxguitar
tvbrowser
twitch
udiskie
uefitool
uget-gtk
Expand Down Expand Up @@ -815,6 +816,7 @@ xreader-thumbnailer
xviewer
yandex-browser
yelp
youtube
youtube-dl
zaproxy
zart
Expand Down