From 40195ec4af1d1192ca6d1a9ef5aaacf002b87309 Mon Sep 17 00:00:00 2001 From: katherine Date: Thu, 11 Jul 2019 04:56:56 -0700 Subject: miscellaneous --- .config/firejail/firefox.profile | 46 +++++++++++++++++----------------------- .config/herbstluftwm/autostart | 2 +- .config/newsboat/urls | 2 ++ .config/ranger/rifle.conf | 12 +++++------ 4 files changed, 28 insertions(+), 34 deletions(-) (limited to '.config') diff --git a/.config/firejail/firefox.profile b/.config/firejail/firefox.profile index 421a239..75b973e 100644 --- a/.config/firejail/firefox.profile +++ b/.config/firejail/firefox.profile @@ -1,37 +1,29 @@ -# Firejail profile for Mozilla Firefox (Iceweasel in Debian) +# Firejail profile for firefox +# Description: Safe and easy web browser from Mozilla +# This file is overwritten after every install/update +# Persistent local customizations +include firefox.local +# Persistent global definitions +include globals.local -noblacklist ~/.mozilla -noblacklist ~/.cache/mozilla -include /etc/firejail/disable-common.inc -include /etc/firejail/disable-programs.inc -include /etc/firejail/disable-devel.inc +noblacklist ${HOME}/.cache/mozilla +noblacklist ${HOME}/.mozilla -caps.drop all -netfilter -nonewprivs -noroot -protocol unix,inet,inet6,netlink -seccomp -tracelog +mkdir ${HOME}/.cache/mozilla/firefox +mkdir ${HOME}/.mozilla +whitelist ${HOME}/.cache/mozilla/firefox +whitelist ${HOME}/.mozilla whitelist ~/desktop whitelist ~/downloads whitelist ~/images whitelist ~/videos whitelist ~/audio/clips -mkdir ~/.mozilla -whitelist ~/.mozilla -mkdir ~/.cache -mkdir ~/.cache/mozilla -mkdir ~/.cache/mozilla/firefox -whitelist ~/.cache/mozilla/firefox -whitelist ~/dwhelper -mkdir ~/.local -mkdir ~/.local/share -mkdir ~/.local/share/tridactyl -whitelist ~/.local/share/tridactyl -include /etc/firejail/whitelist-common.inc +# firefox requires a shell to launch on Arch. +#private-bin firefox,which,sh,dbus-launch,dbus-send,env,bash +# private-etc must first be enabled in firefox-common.profile +#private-etc firefox -# experimental features -#private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse +# Redirect +include firefox-common.profile diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index a9b615a..995b23a 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -189,7 +189,7 @@ hc keybind Mod4-Left spawn ~/.config/herbstluftwm/mpc-status.sh prev hc unrule -F hc rule focus=on # unmanage docks, dropdowns, etc -hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DROPDOWN_MENU|POPUP_MENU)' manage=off # set apppropriate things to pseudotile hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on focus=on hc rule class~'(VBoxSDL|SleepIsDeathApp|freeciv-sdl|FTL|pinentry)' pseudotile=on focus=on diff --git a/.config/newsboat/urls b/.config/newsboat/urls index 264693b..f006562 100644 --- a/.config/newsboat/urls +++ b/.config/newsboat/urls @@ -1,12 +1,14 @@ http://www.3kingdomspodcast.com/feed/ https://feeds.soundcloud.com/users/soundcloud:users:237055046/sounds.rss http://historyofenglishpodcast.com/feed/ +http://feeds.megaphone.fm/ADL5280986787 https://aminormagazine.com/feed/ https://airen-no-jikken.icu/blog/feed/ https://blog.crushv.cc/index.xml +https://www.dragonflydigest.com/feed https://ocaml.org/feed.xml https://feeds.feedburner.com/99pi https://blog.musicbrainz.org/category/listenbrainz/feed/ diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 452687b..a2ef381 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -65,12 +65,12 @@ ext x?html?, has elinks, terminal = elinks "$@" ext exe, has wine, X, flag f = wine "$1" # scripts -ext py = python -- "$1" -ext pl = perl -- "$1" -ext rb = ruby -- "$1" -ext js = node -- "$1" -ext sh = sh -- "$1" -ext php = php -- "$1" +ext py, hash python = python -- "$1" +ext pl, hash perl = perl -- "$1" +ext rb, hash ruby = ruby -- "$1" +ext js, hash node = node -- "$1" +ext sh, hash sh = sh -- "$1" +ext php, hash php = php -- "$1" # audio / video mime ^audio, terminal, has mpv = mpv --no-video -- "$@" -- cgit v1.2.3